@Generated(value="Autogenerated by Thrift Compiler (0.12.0)", date="2019-05-07") public class TResult extends Object implements org.apache.thrift.TBase<TResult,TResult._Fields>, Serializable, Cloneable, Comparable<TResult>
| Modifier and Type | Class and Description |
|---|---|
static class |
TResult._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
List<TColumnValue> |
columnValues |
static Map<TResult._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
boolean |
partial |
ByteBuffer |
row |
boolean |
stale |
| Constructor and Description |
|---|
TResult() |
TResult(List<TColumnValue> columnValues) |
TResult(TResult other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToColumnValues(TColumnValue elem) |
ByteBuffer |
bufferForRow() |
void |
clear() |
int |
compareTo(TResult other) |
TResult |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TResult that) |
TResult._Fields |
fieldForId(int fieldId) |
List<TColumnValue> |
getColumnValues() |
Iterator<TColumnValue> |
getColumnValuesIterator() |
int |
getColumnValuesSize() |
Object |
getFieldValue(TResult._Fields field) |
byte[] |
getRow() |
int |
hashCode() |
boolean |
isPartial() |
boolean |
isSet(TResult._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetColumnValues()
Returns true if field columnValues is set (has been assigned a value) and false otherwise
|
boolean |
isSetPartial()
Returns true if field partial is set (has been assigned a value) and false otherwise
|
boolean |
isSetRow()
Returns true if field row is set (has been assigned a value) and false otherwise
|
boolean |
isSetStale()
Returns true if field stale is set (has been assigned a value) and false otherwise
|
boolean |
isStale() |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
TResult |
setColumnValues(List<TColumnValue> columnValues) |
void |
setColumnValuesIsSet(boolean value) |
void |
setFieldValue(TResult._Fields field,
Object value) |
TResult |
setPartial(boolean partial) |
void |
setPartialIsSet(boolean value) |
TResult |
setRow(byte[] row) |
TResult |
setRow(ByteBuffer row) |
void |
setRowIsSet(boolean value) |
TResult |
setStale(boolean stale) |
void |
setStaleIsSet(boolean value) |
String |
toString() |
void |
unsetColumnValues() |
void |
unsetPartial() |
void |
unsetRow() |
void |
unsetStale() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer row
public List<TColumnValue> columnValues
public boolean stale
public boolean partial
public static final Map<TResult._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TResult()
public TResult(List<TColumnValue> columnValues)
public TResult(TResult other)
public TResult deepCopy()
deepCopy in interface org.apache.thrift.TBase<TResult,TResult._Fields>public void clear()
clear in interface org.apache.thrift.TBase<TResult,TResult._Fields>public byte[] getRow()
public ByteBuffer bufferForRow()
public TResult setRow(byte[] row)
public TResult setRow(ByteBuffer row)
public void unsetRow()
public boolean isSetRow()
public void setRowIsSet(boolean value)
public int getColumnValuesSize()
public Iterator<TColumnValue> getColumnValuesIterator()
public void addToColumnValues(TColumnValue elem)
public List<TColumnValue> getColumnValues()
public TResult setColumnValues(List<TColumnValue> columnValues)
public void unsetColumnValues()
public boolean isSetColumnValues()
public void setColumnValuesIsSet(boolean value)
public boolean isStale()
public TResult setStale(boolean stale)
public void unsetStale()
public boolean isSetStale()
public void setStaleIsSet(boolean value)
public boolean isPartial()
public TResult setPartial(boolean partial)
public void unsetPartial()
public boolean isSetPartial()
public void setPartialIsSet(boolean value)
public void setFieldValue(TResult._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<TResult,TResult._Fields>public Object getFieldValue(TResult._Fields field)
getFieldValue in interface org.apache.thrift.TBase<TResult,TResult._Fields>public boolean isSet(TResult._Fields field)
isSet in interface org.apache.thrift.TBase<TResult,TResult._Fields>public boolean equals(TResult that)
public int compareTo(TResult other)
compareTo in interface Comparable<TResult>public TResult._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<TResult,TResult._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.