@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class ScanResult extends Object implements org.apache.thrift.TBase<ScanResult,ScanResult._Fields>, Serializable, Cloneable, Comparable<ScanResult>
Modifier and Type | Class and Description |
---|---|
static class |
ScanResult._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<ScanResult._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
boolean |
more |
List<TKeyValue> |
results |
Constructor and Description |
---|
ScanResult() |
ScanResult(List<TKeyValue> results,
boolean more) |
ScanResult(ScanResult other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToResults(TKeyValue elem) |
void |
clear() |
int |
compareTo(ScanResult other) |
ScanResult |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(ScanResult that) |
ScanResult._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(ScanResult._Fields field) |
List<TKeyValue> |
getResults() |
Iterator<TKeyValue> |
getResultsIterator() |
int |
getResultsSize() |
int |
hashCode() |
boolean |
isMore() |
boolean |
isSet(ScanResult._Fields field)
Returns true if field corresponding to fieldID 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 |
isSetResults()
Returns true if field results is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(ScanResult._Fields field,
Object value) |
ScanResult |
setMore(boolean more) |
void |
setMoreIsSet(boolean value) |
ScanResult |
setResults(List<TKeyValue> results) |
void |
setResultsIsSet(boolean value) |
String |
toString() |
void |
unsetMore() |
void |
unsetResults() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public boolean more
public static final Map<ScanResult._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ScanResult()
public ScanResult(ScanResult other)
public ScanResult deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ScanResult,ScanResult._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ScanResult,ScanResult._Fields>
public int getResultsSize()
public void addToResults(TKeyValue elem)
public ScanResult setResults(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, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ScanResult,ScanResult._Fields>
public Object getFieldValue(ScanResult._Fields field)
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 equals(ScanResult that)
public int compareTo(ScanResult other)
compareTo
in interface Comparable<ScanResult>
public ScanResult._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ScanResult,ScanResult._Fields>
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 void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.