|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hbase.thrift.generated.TRowResult
public class TRowResult
Holds row name and then a map of columns to cells.
| Nested Class Summary | |
|---|---|
static class |
TRowResult._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
| Field Summary | |
|---|---|
Map<ByteBuffer,TCell> |
columns
|
static Map<TRowResult._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
ByteBuffer |
row
|
| Constructor Summary | |
|---|---|
TRowResult()
|
|
TRowResult(ByteBuffer row,
Map<ByteBuffer,TCell> columns)
|
|
TRowResult(TRowResult other)
Performs a deep copy on other. |
|
| Method Summary | |
|---|---|
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()
|
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 |
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)
|
String |
toString()
|
void |
unsetColumns()
|
void |
unsetRow()
|
void |
validate()
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public ByteBuffer row
public Map<ByteBuffer,TCell> columns
public static final Map<TRowResult._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
| Constructor Detail |
|---|
public TRowResult()
public TRowResult(ByteBuffer row,
Map<ByteBuffer,TCell> columns)
public TRowResult(TRowResult other)
| Method Detail |
|---|
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 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(Object that)
equals in class Objectpublic boolean equals(TRowResult that)
public int hashCode()
hashCode in class Objectpublic 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.TExceptionpublic String toString()
toString in class Object
public void validate()
throws org.apache.thrift.TException
org.apache.thrift.TException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||