Class ScanResult
- java.lang.Object
-
- org.apache.accumulo.core.dataImpl.thrift.ScanResult
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<ScanResult>,org.apache.thrift.TBase<ScanResult,ScanResult._Fields>,org.apache.thrift.TSerializable
public class ScanResult extends Object implements org.apache.thrift.TBase<ScanResult,ScanResult._Fields>, Serializable, Cloneable, Comparable<ScanResult>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScanResult._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static Map<ScanResult._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapbooleanmoreList<TKeyValue>results
-
Constructor Summary
Constructors Constructor Description ScanResult()ScanResult(List<TKeyValue> results, boolean more)ScanResult(ScanResult other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToResults(TKeyValue elem)voidclear()intcompareTo(ScanResult other)ScanResultdeepCopy()booleanequals(Object that)booleanequals(ScanResult that)ScanResult._FieldsfieldForId(int fieldId)ObjectgetFieldValue(ScanResult._Fields field)List<TKeyValue>getResults()Iterator<TKeyValue>getResultsIterator()intgetResultsSize()inthashCode()booleanisMore()booleanisSet(ScanResult._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetMore()Returns true if field more is set (has been assigned a value) and false otherwisebooleanisSetResults()Returns true if field results is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(ScanResult._Fields field, Object value)ScanResultsetMore(boolean more)voidsetMoreIsSet(boolean value)ScanResultsetResults(List<TKeyValue> results)voidsetResultsIsSet(boolean value)StringtoString()voidunsetMore()voidunsetResults()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
more
public boolean more
-
metaDataMap
public static final Map<ScanResult._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
ScanResult
public ScanResult()
-
ScanResult
public ScanResult(ScanResult other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public ScanResult deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<ScanResult,ScanResult._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<ScanResult,ScanResult._Fields>
-
getResultsSize
public int getResultsSize()
-
addToResults
public void addToResults(TKeyValue elem)
-
setResults
public ScanResult setResults(List<TKeyValue> results)
-
unsetResults
public void unsetResults()
-
isSetResults
public boolean isSetResults()
Returns true if field results is set (has been assigned a value) and false otherwise
-
setResultsIsSet
public void setResultsIsSet(boolean value)
-
isMore
public boolean isMore()
-
setMore
public ScanResult setMore(boolean more)
-
unsetMore
public void unsetMore()
-
isSetMore
public boolean isSetMore()
Returns true if field more is set (has been assigned a value) and false otherwise
-
setMoreIsSet
public void setMoreIsSet(boolean value)
-
setFieldValue
public void setFieldValue(ScanResult._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<ScanResult,ScanResult._Fields>
-
getFieldValue
public Object getFieldValue(ScanResult._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<ScanResult,ScanResult._Fields>
-
isSet
public boolean isSet(ScanResult._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<ScanResult,ScanResult._Fields>
-
equals
public boolean equals(ScanResult that)
-
compareTo
public int compareTo(ScanResult other)
- Specified by:
compareToin interfaceComparable<ScanResult>
-
fieldForId
public ScanResult._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<ScanResult,ScanResult._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-