|
||||||||||
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.ScanResult
public class ScanResult
Nested Class Summary | |
---|---|
static class |
ScanResult._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static java.util.Map<ScanResult._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
boolean |
more
|
java.util.List<TKeyValue> |
results
|
Constructor Summary | |
---|---|
ScanResult()
|
|
ScanResult(java.util.List<TKeyValue> results,
boolean more)
|
|
ScanResult(ScanResult other)
Performs a deep copy on other. |
Method Summary | |
---|---|
void |
addToResults(TKeyValue elem)
|
ScanResult |
clone()
Deprecated. |
int |
compareTo(ScanResult other)
|
ScanResult |
deepCopy()
|
boolean |
equals(java.lang.Object that)
|
boolean |
equals(ScanResult that)
|
java.lang.Object |
getFieldValue(int fieldId)
|
java.lang.Object |
getFieldValue(ScanResult._Fields field)
|
java.util.List<TKeyValue> |
getResults()
|
java.util.Iterator<TKeyValue> |
getResultsIterator()
|
int |
getResultsSize()
|
int |
hashCode()
|
boolean |
isMore()
|
boolean |
isSet(int fieldID)
|
boolean |
isSet(ScanResult._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise |
boolean |
isSetMore()
Returns true if field more is set (has been asigned a value) and false otherwise |
boolean |
isSetResults()
Returns true if field results is set (has been asigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
void |
setFieldValue(int fieldID,
java.lang.Object value)
|
void |
setFieldValue(ScanResult._Fields field,
java.lang.Object value)
|
ScanResult |
setMore(boolean more)
|
void |
setMoreIsSet(boolean value)
|
ScanResult |
setResults(java.util.List<TKeyValue> results)
|
void |
setResultsIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetMore()
|
void |
unsetResults()
|
void |
validate()
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.util.List<TKeyValue> results
public boolean more
public static final java.util.Map<ScanResult._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public ScanResult()
public ScanResult(java.util.List<TKeyValue> results, boolean more)
public ScanResult(ScanResult other)
Method Detail |
---|
public ScanResult deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ScanResult,ScanResult._Fields>
@Deprecated public ScanResult clone()
clone
in class java.lang.Object
public int getResultsSize()
public java.util.Iterator<TKeyValue> getResultsIterator()
public void addToResults(TKeyValue elem)
public java.util.List<TKeyValue> getResults()
public ScanResult setResults(java.util.List<TKeyValue> results)
public void unsetResults()
public boolean isSetResults()
public void setResultsIsSet(boolean value)
public boolean isMore()
public ScanResult setMore(boolean more)
public void unsetMore()
public boolean isSetMore()
public void setMoreIsSet(boolean value)
public void setFieldValue(ScanResult._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<ScanResult,ScanResult._Fields>
public void setFieldValue(int fieldID, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<ScanResult,ScanResult._Fields>
public java.lang.Object getFieldValue(ScanResult._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ScanResult,ScanResult._Fields>
public java.lang.Object getFieldValue(int fieldId)
getFieldValue
in interface org.apache.thrift.TBase<ScanResult,ScanResult._Fields>
public boolean isSet(ScanResult._Fields field)
isSet
in interface org.apache.thrift.TBase<ScanResult,ScanResult._Fields>
public boolean isSet(int fieldID)
isSet
in interface org.apache.thrift.TBase<ScanResult,ScanResult._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(ScanResult that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(ScanResult other)
compareTo
in interface java.lang.Comparable<ScanResult>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ScanResult,ScanResult._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<ScanResult,ScanResult._Fields>
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.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 |