org.apache.hadoop.hbase.thrift.generated
Class TIncrement

java.lang.Object
  extended by org.apache.hadoop.hbase.thrift.generated.TIncrement
All Implemented Interfaces:
Serializable, Cloneable, Comparable<TIncrement>, org.apache.thrift.TBase<TIncrement,TIncrement._Fields>

public class TIncrement
extends Object
implements org.apache.thrift.TBase<TIncrement,TIncrement._Fields>, Serializable, Cloneable

For increments that are not incrementColumnValue equivalents.

See Also:
Serialized Form

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

table

public ByteBuffer table

row

public ByteBuffer row

column

public ByteBuffer column

ammount

public long ammount

metaDataMap

public static final Map<TIncrement._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

TIncrement

public TIncrement()

TIncrement

public TIncrement(ByteBuffer table,
                  ByteBuffer row,
                  ByteBuffer column,
                  long ammount)

TIncrement

public TIncrement(TIncrement other)
Performs a deep copy on other.

Method Detail

deepCopy

public TIncrement deepCopy()
Specified by:
deepCopy in interface org.apache.thrift.TBase<TIncrement,TIncrement._Fields>

clear

public void clear()
Specified by:
clear in interface org.apache.thrift.TBase<TIncrement,TIncrement._Fields>

getTable

public byte[] getTable()

bufferForTable

public ByteBuffer bufferForTable()

setTable

public TIncrement setTable(byte[] table)

setTable

public TIncrement setTable(ByteBuffer table)

unsetTable

public void unsetTable()

isSetTable

public boolean isSetTable()
Returns true if field table is set (has been assigned a value) and false otherwise


setTableIsSet

public void setTableIsSet(boolean value)

getRow

public byte[] getRow()

bufferForRow

public ByteBuffer bufferForRow()

setRow

public TIncrement setRow(byte[] row)

setRow

public TIncrement setRow(ByteBuffer row)

unsetRow

public void unsetRow()

isSetRow

public boolean isSetRow()
Returns true if field row is set (has been assigned a value) and false otherwise


setRowIsSet

public void setRowIsSet(boolean value)

getColumn

public byte[] getColumn()

bufferForColumn

public ByteBuffer bufferForColumn()

setColumn

public TIncrement setColumn(byte[] column)

setColumn

public TIncrement setColumn(ByteBuffer column)

unsetColumn

public void unsetColumn()

isSetColumn

public boolean isSetColumn()
Returns true if field column is set (has been assigned a value) and false otherwise


setColumnIsSet

public void setColumnIsSet(boolean value)

getAmmount

public long getAmmount()

setAmmount

public TIncrement setAmmount(long ammount)

unsetAmmount

public void unsetAmmount()

isSetAmmount

public boolean isSetAmmount()
Returns true if field ammount is set (has been assigned a value) and false otherwise


setAmmountIsSet

public void setAmmountIsSet(boolean value)

setFieldValue

public void setFieldValue(TIncrement._Fields field,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<TIncrement,TIncrement._Fields>

getFieldValue

public Object getFieldValue(TIncrement._Fields field)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<TIncrement,TIncrement._Fields>

isSet

public boolean isSet(TIncrement._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise

Specified by:
isSet in interface org.apache.thrift.TBase<TIncrement,TIncrement._Fields>

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(TIncrement that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(TIncrement other)
Specified by:
compareTo in interface Comparable<TIncrement>

fieldForId

public TIncrement._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<TIncrement,TIncrement._Fields>

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase<TIncrement,TIncrement._Fields>
Throws:
org.apache.thrift.TException

write

public void write(org.apache.thrift.protocol.TProtocol oprot)
           throws org.apache.thrift.TException
Specified by:
write in interface org.apache.thrift.TBase<TIncrement,TIncrement._Fields>
Throws:
org.apache.thrift.TException

toString

public String toString()
Overrides:
toString in class Object

validate

public void validate()
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2015 The Apache Software Foundation. All rights reserved.