@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-05-27") public class TRowResult extends Object implements org.apache.thrift.TBase<TRowResult,TRowResult._Fields>, Serializable, Cloneable, Comparable<TRowResult>
Modifier and Type | Class and Description |
---|---|
static class |
TRowResult._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
Map<ByteBuffer,TCell> |
columns |
static Map<TRowResult._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ByteBuffer |
row |
List<TColumn> |
sortedColumns |
Constructor and Description |
---|
TRowResult() |
TRowResult(ByteBuffer row) |
TRowResult(TRowResult other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToSortedColumns(TColumn elem) |
ByteBuffer |
bufferForRow() |
void |
clear() |
int |
compareTo(TRowResult other) |
TRowResult |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TRowResult that) |
TRowResult._Fields |
fieldForId(int fieldId) |
Map<ByteBuffer,TCell> |
getColumns() |
int |
getColumnsSize() |
Object |
getFieldValue(TRowResult._Fields field) |
byte[] |
getRow() |
List<TColumn> |
getSortedColumns() |
Iterator<TColumn> |
getSortedColumnsIterator() |
int |
getSortedColumnsSize() |
int |
hashCode() |
boolean |
isSet(TRowResult._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetColumns()
Returns true if field columns 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 |
isSetSortedColumns()
Returns true if field sortedColumns is set (has been assigned a value) and false otherwise
|
void |
putToColumns(ByteBuffer key,
TCell val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
TRowResult |
setColumns(Map<ByteBuffer,TCell> columns) |
void |
setColumnsIsSet(boolean value) |
void |
setFieldValue(TRowResult._Fields field,
Object value) |
TRowResult |
setRow(byte[] row) |
TRowResult |
setRow(ByteBuffer row) |
void |
setRowIsSet(boolean value) |
TRowResult |
setSortedColumns(List<TColumn> sortedColumns) |
void |
setSortedColumnsIsSet(boolean value) |
String |
toString() |
void |
unsetColumns() |
void |
unsetRow() |
void |
unsetSortedColumns() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer row
public Map<ByteBuffer,TCell> columns
public static final Map<TRowResult._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TRowResult()
public TRowResult(ByteBuffer row)
public TRowResult(TRowResult other)
public TRowResult deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TRowResult,TRowResult._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TRowResult,TRowResult._Fields>
public byte[] getRow()
public ByteBuffer bufferForRow()
public TRowResult setRow(byte[] row)
public TRowResult setRow(ByteBuffer row)
public void unsetRow()
public boolean isSetRow()
public void setRowIsSet(boolean value)
public int getColumnsSize()
public void putToColumns(ByteBuffer key, TCell val)
public Map<ByteBuffer,TCell> getColumns()
public TRowResult setColumns(Map<ByteBuffer,TCell> columns)
public void unsetColumns()
public boolean isSetColumns()
public void setColumnsIsSet(boolean value)
public int getSortedColumnsSize()
public void addToSortedColumns(TColumn elem)
public TRowResult setSortedColumns(List<TColumn> sortedColumns)
public void unsetSortedColumns()
public boolean isSetSortedColumns()
public void setSortedColumnsIsSet(boolean value)
public void setFieldValue(TRowResult._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TRowResult,TRowResult._Fields>
public Object getFieldValue(TRowResult._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TRowResult,TRowResult._Fields>
public boolean isSet(TRowResult._Fields field)
isSet
in interface org.apache.thrift.TBase<TRowResult,TRowResult._Fields>
public boolean equals(TRowResult that)
public int compareTo(TRowResult other)
compareTo
in interface Comparable<TRowResult>
public TRowResult._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TRowResult,TRowResult._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TRowResult,TRowResult._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<TRowResult,TRowResult._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.