@Generated(value="Autogenerated by Thrift Compiler (0.12.0)", date="2019-04-04") public class TResult extends Object implements org.apache.thrift.TBase<TResult,TResult._Fields>, Serializable, Cloneable, Comparable<TResult>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TResult._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| 限定符和类型 | 字段和说明 |
|---|---|
List<TColumnValue> |
columnValues |
static Map<TResult._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
boolean |
partial |
ByteBuffer |
row |
boolean |
stale |
| 构造器和说明 |
|---|
TResult() |
TResult(List<TColumnValue> columnValues) |
TResult(TResult other)
Performs a deep copy on other.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 org.apache.thrift.TBase<TResult,TResult._Fields>public void clear()
clear 在接口中 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 在接口中 org.apache.thrift.TBase<TResult,TResult._Fields>public Object getFieldValue(TResult._Fields field)
getFieldValue 在接口中 org.apache.thrift.TBase<TResult,TResult._Fields>public boolean isSet(TResult._Fields field)
isSet 在接口中 org.apache.thrift.TBase<TResult,TResult._Fields>public boolean equals(TResult that)
public int compareTo(TResult other)
compareTo 在接口中 Comparable<TResult>public TResult._Fields fieldForId(int fieldId)
fieldForId 在接口中 org.apache.thrift.TBase<TResult,TResult._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read 在接口中 org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write 在接口中 org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2019. All rights reserved.