|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.accumulo.core.data.thrift.MultiScanResult
public class MultiScanResult
Nested Class Summary | |
---|---|
static class |
MultiScanResult._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
Map<TKeyExtent,List<TRange>> |
failures
|
List<TKeyExtent> |
fullScans
|
static Map<MultiScanResult._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
boolean |
more
|
TKey |
partNextKey
|
boolean |
partNextKeyInclusive
|
TKeyExtent |
partScan
|
List<TKeyValue> |
results
|
Constructor Summary | |
---|---|
MultiScanResult()
|
|
MultiScanResult(List<TKeyValue> results,
Map<TKeyExtent,List<TRange>> failures,
List<TKeyExtent> fullScans,
TKeyExtent partScan,
TKey partNextKey,
boolean partNextKeyInclusive,
boolean more)
|
|
MultiScanResult(MultiScanResult other)
Performs a deep copy on other. |
Method Summary | |
---|---|
void |
addToFullScans(TKeyExtent elem)
|
void |
addToResults(TKeyValue elem)
|
void |
clear()
|
int |
compareTo(MultiScanResult other)
|
MultiScanResult |
deepCopy()
|
boolean |
equals(MultiScanResult that)
|
boolean |
equals(Object that)
|
MultiScanResult._Fields |
fieldForId(int fieldId)
|
Map<TKeyExtent,List<TRange>> |
getFailures()
|
int |
getFailuresSize()
|
Object |
getFieldValue(MultiScanResult._Fields field)
|
List<TKeyExtent> |
getFullScans()
|
Iterator<TKeyExtent> |
getFullScansIterator()
|
int |
getFullScansSize()
|
TKey |
getPartNextKey()
|
TKeyExtent |
getPartScan()
|
List<TKeyValue> |
getResults()
|
Iterator<TKeyValue> |
getResultsIterator()
|
int |
getResultsSize()
|
int |
hashCode()
|
boolean |
isMore()
|
boolean |
isPartNextKeyInclusive()
|
boolean |
isSet(MultiScanResult._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetFailures()
Returns true if field failures is set (has been assigned a value) and false otherwise |
boolean |
isSetFullScans()
Returns true if field fullScans is set (has been assigned a value) and false otherwise |
boolean |
isSetMore()
Returns true if field more is set (has been assigned a value) and false otherwise |
boolean |
isSetPartNextKey()
Returns true if field partNextKey is set (has been assigned a value) and false otherwise |
boolean |
isSetPartNextKeyInclusive()
Returns true if field partNextKeyInclusive is set (has been assigned a value) and false otherwise |
boolean |
isSetPartScan()
Returns true if field partScan is set (has been assigned a value) and false otherwise |
boolean |
isSetResults()
Returns true if field results is set (has been assigned a value) and false otherwise |
void |
putToFailures(TKeyExtent key,
List<TRange> val)
|
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
MultiScanResult |
setFailures(Map<TKeyExtent,List<TRange>> failures)
|
void |
setFailuresIsSet(boolean value)
|
void |
setFieldValue(MultiScanResult._Fields field,
Object value)
|
MultiScanResult |
setFullScans(List<TKeyExtent> fullScans)
|
void |
setFullScansIsSet(boolean value)
|
MultiScanResult |
setMore(boolean more)
|
void |
setMoreIsSet(boolean value)
|
MultiScanResult |
setPartNextKey(TKey partNextKey)
|
MultiScanResult |
setPartNextKeyInclusive(boolean partNextKeyInclusive)
|
void |
setPartNextKeyInclusiveIsSet(boolean value)
|
void |
setPartNextKeyIsSet(boolean value)
|
MultiScanResult |
setPartScan(TKeyExtent partScan)
|
void |
setPartScanIsSet(boolean value)
|
MultiScanResult |
setResults(List<TKeyValue> results)
|
void |
setResultsIsSet(boolean value)
|
String |
toString()
|
void |
unsetFailures()
|
void |
unsetFullScans()
|
void |
unsetMore()
|
void |
unsetPartNextKey()
|
void |
unsetPartNextKeyInclusive()
|
void |
unsetPartScan()
|
void |
unsetResults()
|
void |
validate()
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public List<TKeyValue> results
public Map<TKeyExtent,List<TRange>> failures
public List<TKeyExtent> fullScans
public TKeyExtent partScan
public TKey partNextKey
public boolean partNextKeyInclusive
public boolean more
public static final Map<MultiScanResult._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public MultiScanResult()
public MultiScanResult(List<TKeyValue> results, Map<TKeyExtent,List<TRange>> failures, List<TKeyExtent> fullScans, TKeyExtent partScan, TKey partNextKey, boolean partNextKeyInclusive, boolean more)
public MultiScanResult(MultiScanResult other)
Method Detail |
---|
public MultiScanResult deepCopy()
deepCopy
in interface org.apache.thrift.TBase<MultiScanResult,MultiScanResult._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<MultiScanResult,MultiScanResult._Fields>
public int getResultsSize()
public Iterator<TKeyValue> getResultsIterator()
public void addToResults(TKeyValue elem)
public List<TKeyValue> getResults()
public MultiScanResult setResults(List<TKeyValue> results)
public void unsetResults()
public boolean isSetResults()
public void setResultsIsSet(boolean value)
public int getFailuresSize()
public void putToFailures(TKeyExtent key, List<TRange> val)
public Map<TKeyExtent,List<TRange>> getFailures()
public MultiScanResult setFailures(Map<TKeyExtent,List<TRange>> failures)
public void unsetFailures()
public boolean isSetFailures()
public void setFailuresIsSet(boolean value)
public int getFullScansSize()
public Iterator<TKeyExtent> getFullScansIterator()
public void addToFullScans(TKeyExtent elem)
public List<TKeyExtent> getFullScans()
public MultiScanResult setFullScans(List<TKeyExtent> fullScans)
public void unsetFullScans()
public boolean isSetFullScans()
public void setFullScansIsSet(boolean value)
public TKeyExtent getPartScan()
public MultiScanResult setPartScan(TKeyExtent partScan)
public void unsetPartScan()
public boolean isSetPartScan()
public void setPartScanIsSet(boolean value)
public TKey getPartNextKey()
public MultiScanResult setPartNextKey(TKey partNextKey)
public void unsetPartNextKey()
public boolean isSetPartNextKey()
public void setPartNextKeyIsSet(boolean value)
public boolean isPartNextKeyInclusive()
public MultiScanResult setPartNextKeyInclusive(boolean partNextKeyInclusive)
public void unsetPartNextKeyInclusive()
public boolean isSetPartNextKeyInclusive()
public void setPartNextKeyInclusiveIsSet(boolean value)
public boolean isMore()
public MultiScanResult setMore(boolean more)
public void unsetMore()
public boolean isSetMore()
public void setMoreIsSet(boolean value)
public void setFieldValue(MultiScanResult._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<MultiScanResult,MultiScanResult._Fields>
public Object getFieldValue(MultiScanResult._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<MultiScanResult,MultiScanResult._Fields>
public boolean isSet(MultiScanResult._Fields field)
isSet
in interface org.apache.thrift.TBase<MultiScanResult,MultiScanResult._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(MultiScanResult that)
public int hashCode()
hashCode
in class Object
public int compareTo(MultiScanResult other)
compareTo
in interface Comparable<MultiScanResult>
public MultiScanResult._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<MultiScanResult,MultiScanResult._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<MultiScanResult,MultiScanResult._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<MultiScanResult,MultiScanResult._Fields>
org.apache.thrift.TException
public String toString()
toString
in class Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |