@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-05-25") 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 |
ByteBuffer |
row |
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 |
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 |
isSetRow()
Returns true if field row is set (has been assigned a value) and false otherwise
|
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 |
setRow(byte[] row) |
TResult |
setRow(ByteBuffer row) |
void |
setRowIsSet(boolean value) |
String |
toString() |
void |
unsetColumnValues() |
void |
unsetRow() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer row
public List<TColumnValue> columnValues
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 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.TBase<TResult,TResult._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<TResult,TResult._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2007–2019 Cloudera. All rights reserved.