|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.thrift2.generated.TIncrement
public class TIncrement
Used to perform Increment operations for a single row. You can specify if this Increment should be written to the write-ahead Log (WAL) or not. It defaults to true.
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 | |
---|---|
List<TColumnIncrement> |
columns
|
static Map<TIncrement._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
ByteBuffer |
row
|
boolean |
writeToWal
|
Constructor Summary | |
---|---|
TIncrement()
|
|
TIncrement(ByteBuffer row,
List<TColumnIncrement> columns)
|
|
TIncrement(TIncrement other)
Performs a deep copy on other. |
Method Summary | |
---|---|
void |
addToColumns(TColumnIncrement elem)
|
ByteBuffer |
bufferForRow()
|
void |
clear()
|
int |
compareTo(TIncrement other)
|
TIncrement |
deepCopy()
|
boolean |
equals(Object that)
|
boolean |
equals(TIncrement that)
|
TIncrement._Fields |
fieldForId(int fieldId)
|
List<TColumnIncrement> |
getColumns()
|
Iterator<TColumnIncrement> |
getColumnsIterator()
|
int |
getColumnsSize()
|
Object |
getFieldValue(TIncrement._Fields field)
|
byte[] |
getRow()
|
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 |
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 |
isSetWriteToWal()
Returns true if field writeToWal is set (has been assigned a value) and false otherwise |
boolean |
isWriteToWal()
|
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
TIncrement |
setColumns(List<TColumnIncrement> columns)
|
void |
setColumnsIsSet(boolean value)
|
void |
setFieldValue(TIncrement._Fields field,
Object value)
|
TIncrement |
setRow(byte[] row)
|
TIncrement |
setRow(ByteBuffer row)
|
void |
setRowIsSet(boolean value)
|
TIncrement |
setWriteToWal(boolean writeToWal)
|
void |
setWriteToWalIsSet(boolean value)
|
String |
toString()
|
void |
unsetColumns()
|
void |
unsetRow()
|
void |
unsetWriteToWal()
|
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 List<TColumnIncrement> columns
public boolean writeToWal
public static final Map<TIncrement._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public TIncrement()
public TIncrement(ByteBuffer row, List<TColumnIncrement> columns)
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[] 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 int getColumnsSize()
public Iterator<TColumnIncrement> getColumnsIterator()
public void addToColumns(TColumnIncrement elem)
public List<TColumnIncrement> getColumns()
public TIncrement setColumns(List<TColumnIncrement> columns)
public void unsetColumns()
public boolean isSetColumns()
public void setColumnsIsSet(boolean value)
public boolean isWriteToWal()
public TIncrement setWriteToWal(boolean writeToWal)
public void unsetWriteToWal()
public boolean isSetWriteToWal()
public void setWriteToWalIsSet(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 |