|
||||||||||
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<byte[],TCell> |
columns
|
static Map<TRowResult._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
byte[] |
row
|
Constructor Summary | |
---|---|
TRowResult()
|
|
TRowResult(byte[] row,
Map<byte[],TCell> columns)
|
|
TRowResult(TRowResult other)
Performs a deep copy on other. |
Method Summary | |
---|---|
TRowResult |
clone()
Deprecated. |
TRowResult |
deepCopy()
|
boolean |
equals(Object that)
|
boolean |
equals(TRowResult that)
|
Map<byte[],TCell> |
getColumns()
|
int |
getColumnsSize()
|
Object |
getFieldValue(int fieldId)
|
Object |
getFieldValue(TRowResult._Fields field)
|
byte[] |
getRow()
|
int |
hashCode()
|
boolean |
isSet(int fieldID)
|
boolean |
isSet(TRowResult._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise |
boolean |
isSetColumns()
Returns true if field columns is set (has been asigned a value) and false otherwise |
boolean |
isSetRow()
Returns true if field row is set (has been asigned a value) and false otherwise |
void |
putToColumns(byte[] key,
TCell val)
|
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
TRowResult |
setColumns(Map<byte[],TCell> columns)
|
void |
setColumnsIsSet(boolean value)
|
void |
setFieldValue(int fieldID,
Object value)
|
void |
setFieldValue(TRowResult._Fields field,
Object value)
|
TRowResult |
setRow(byte[] 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 |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public byte[] row
public Map<byte[],TCell> columns
public static final Map<TRowResult._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public TRowResult()
public TRowResult(byte[] row, Map<byte[],TCell> columns)
public TRowResult(TRowResult other)
Method Detail |
---|
public TRowResult deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TRowResult._Fields>
@Deprecated public TRowResult clone()
clone
in class Object
public byte[] getRow()
public TRowResult setRow(byte[] row)
public void unsetRow()
public boolean isSetRow()
public void setRowIsSet(boolean value)
public int getColumnsSize()
public void putToColumns(byte[] key, TCell val)
public Map<byte[],TCell> getColumns()
public TRowResult setColumns(Map<byte[],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._Fields>
public void setFieldValue(int fieldID, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TRowResult._Fields>
public Object getFieldValue(TRowResult._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TRowResult._Fields>
public Object getFieldValue(int fieldId)
getFieldValue
in interface org.apache.thrift.TBase<TRowResult._Fields>
public boolean isSet(TRowResult._Fields field)
isSet
in interface org.apache.thrift.TBase<TRowResult._Fields>
public boolean isSet(int fieldID)
isSet
in interface org.apache.thrift.TBase<TRowResult._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(TRowResult that)
public int hashCode()
hashCode
in class Object
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<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._Fields>
org.apache.thrift.TException
public 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 |