public class MultiScanResult extends Object implements org.apache.thrift.TBase<MultiScanResult,MultiScanResult._Fields>, Serializable, Cloneable, Comparable<MultiScanResult>
Modifier and Type | Class and Description |
---|---|
static class |
MultiScanResult._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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) |
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
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)
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 void addToResults(TKeyValue elem)
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(MultiScanResult that)
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 void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.