@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-05-25") public class TIncrement extends Object implements org.apache.thrift.TBase<TIncrement,TIncrement._Fields>, Serializable, Cloneable, Comparable<TIncrement>
Modifier and Type | Class and Description |
---|---|
static class |
TIncrement._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
long |
ammount |
ByteBuffer |
column |
static Map<TIncrement._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ByteBuffer |
row |
ByteBuffer |
table |
Constructor and Description |
---|
TIncrement() |
TIncrement(ByteBuffer table,
ByteBuffer row,
ByteBuffer column,
long ammount) |
TIncrement(TIncrement other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
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) |
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
public TIncrement()
public TIncrement(ByteBuffer table, ByteBuffer row, ByteBuffer column, long ammount)
public TIncrement(TIncrement other)
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(TIncrement that)
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 void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2007–2019 Cloudera. All rights reserved.