|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.thrift.generated.TIncrement
public class TIncrement
For increments that are not incrementColumnValue equivalents.
Nested Class Summary | |
---|---|
static class |
TIncrement._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
long |
ammount
|
ByteBuffer |
column
|
static Map<TIncrement._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
ByteBuffer |
row
|
ByteBuffer |
table
|
Constructor Summary | |
---|---|
TIncrement()
|
|
TIncrement(ByteBuffer table,
ByteBuffer row,
ByteBuffer column,
long ammount)
|
|
TIncrement(TIncrement other)
Performs a deep copy on other. |
Method Summary | |
---|---|
ByteBuffer |
bufferForColumn()
|
ByteBuffer |
bufferForRow()
|
ByteBuffer |
bufferForTable()
|
void |
clear()
|
int |
compareTo(TIncrement other)
|
TIncrement |
deepCopy()
|
boolean |
equals(Object that)
|
boolean |
equals(TIncrement that)
|
TIncrement._Fields |
fieldForId(int fieldId)
|
long |
getAmmount()
|
byte[] |
getColumn()
|
Object |
getFieldValue(TIncrement._Fields field)
|
byte[] |
getRow()
|
byte[] |
getTable()
|
int |
hashCode()
|
boolean |
isSet(TIncrement._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetAmmount()
Returns true if field ammount is set (has been assigned a value) and false otherwise |
boolean |
isSetColumn()
Returns true if field column 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 |
isSetTable()
Returns true if field table is set (has been assigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
TIncrement |
setAmmount(long ammount)
|
void |
setAmmountIsSet(boolean value)
|
TIncrement |
setColumn(byte[] column)
|
TIncrement |
setColumn(ByteBuffer column)
|
void |
setColumnIsSet(boolean value)
|
void |
setFieldValue(TIncrement._Fields field,
Object value)
|
TIncrement |
setRow(byte[] row)
|
TIncrement |
setRow(ByteBuffer row)
|
void |
setRowIsSet(boolean value)
|
TIncrement |
setTable(byte[] table)
|
TIncrement |
setTable(ByteBuffer table)
|
void |
setTableIsSet(boolean value)
|
String |
toString()
|
void |
unsetAmmount()
|
void |
unsetColumn()
|
void |
unsetRow()
|
void |
unsetTable()
|
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 table
public ByteBuffer row
public ByteBuffer column
public long ammount
public static final Map<TIncrement._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public TIncrement()
public TIncrement(ByteBuffer table, ByteBuffer row, ByteBuffer column, long ammount)
public TIncrement(TIncrement other)
Method Detail |
---|
public TIncrement deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TIncrement,TIncrement._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TIncrement,TIncrement._Fields>
public byte[] getTable()
public ByteBuffer bufferForTable()
public TIncrement setTable(byte[] table)
public TIncrement setTable(ByteBuffer table)
public void unsetTable()
public boolean isSetTable()
public void setTableIsSet(boolean value)
public byte[] getRow()
public ByteBuffer bufferForRow()
public TIncrement setRow(byte[] row)
public TIncrement setRow(ByteBuffer row)
public void unsetRow()
public boolean isSetRow()
public void setRowIsSet(boolean value)
public byte[] getColumn()
public ByteBuffer bufferForColumn()
public TIncrement setColumn(byte[] column)
public TIncrement setColumn(ByteBuffer column)
public void unsetColumn()
public boolean isSetColumn()
public void setColumnIsSet(boolean value)
public long getAmmount()
public TIncrement setAmmount(long ammount)
public void unsetAmmount()
public boolean isSetAmmount()
public void setAmmountIsSet(boolean value)
public void setFieldValue(TIncrement._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TIncrement,TIncrement._Fields>
public Object getFieldValue(TIncrement._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TIncrement,TIncrement._Fields>
public boolean isSet(TIncrement._Fields field)
isSet
in interface org.apache.thrift.TBase<TIncrement,TIncrement._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(TIncrement that)
public int hashCode()
hashCode
in class Object
public int compareTo(TIncrement other)
compareTo
in interface Comparable<TIncrement>
public TIncrement._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TIncrement,TIncrement._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TIncrement,TIncrement._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<TIncrement,TIncrement._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 |