public static class Hbase.atomicIncrement_args extends Object implements org.apache.thrift.TBase<Hbase.atomicIncrement_args,Hbase.atomicIncrement_args._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
Hbase.atomicIncrement_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
ByteBuffer |
column
name of column
|
static Map<Hbase.atomicIncrement_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ByteBuffer |
row
row to increment
|
ByteBuffer |
tableName
name of table
|
long |
value
amount to increment by
|
Constructor and Description |
---|
Hbase.atomicIncrement_args() |
Hbase.atomicIncrement_args(ByteBuffer tableName,
ByteBuffer row,
ByteBuffer column,
long value) |
Hbase.atomicIncrement_args(Hbase.atomicIncrement_args other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
bufferForColumn() |
ByteBuffer |
bufferForRow() |
ByteBuffer |
bufferForTableName() |
void |
clear() |
int |
compareTo(Hbase.atomicIncrement_args other) |
Hbase.atomicIncrement_args |
deepCopy() |
boolean |
equals(Hbase.atomicIncrement_args that) |
boolean |
equals(Object that) |
Hbase.atomicIncrement_args._Fields |
fieldForId(int fieldId) |
byte[] |
getColumn()
name of column
|
Object |
getFieldValue(Hbase.atomicIncrement_args._Fields field) |
byte[] |
getRow()
row to increment
|
byte[] |
getTableName()
name of table
|
long |
getValue()
amount to increment by
|
int |
hashCode() |
boolean |
isSet(Hbase.atomicIncrement_args._Fields field)
Returns true if field corresponding to fieldID 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 |
isSetTableName()
Returns true if field tableName is set (has been assigned a value) and false otherwise
|
boolean |
isSetValue()
Returns true if field value is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
Hbase.atomicIncrement_args |
setColumn(byte[] column)
name of column
|
Hbase.atomicIncrement_args |
setColumn(ByteBuffer column) |
void |
setColumnIsSet(boolean value) |
void |
setFieldValue(Hbase.atomicIncrement_args._Fields field,
Object value) |
Hbase.atomicIncrement_args |
setRow(byte[] row)
row to increment
|
Hbase.atomicIncrement_args |
setRow(ByteBuffer row) |
void |
setRowIsSet(boolean value) |
Hbase.atomicIncrement_args |
setTableName(byte[] tableName)
name of table
|
Hbase.atomicIncrement_args |
setTableName(ByteBuffer tableName) |
void |
setTableNameIsSet(boolean value) |
Hbase.atomicIncrement_args |
setValue(long value)
amount to increment by
|
void |
setValueIsSet(boolean value) |
String |
toString() |
void |
unsetColumn() |
void |
unsetRow() |
void |
unsetTableName() |
void |
unsetValue() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer tableName
public ByteBuffer row
public ByteBuffer column
public long value
public static final Map<Hbase.atomicIncrement_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Hbase.atomicIncrement_args()
public Hbase.atomicIncrement_args(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, long value)
public Hbase.atomicIncrement_args(Hbase.atomicIncrement_args other)
public Hbase.atomicIncrement_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Hbase.atomicIncrement_args,Hbase.atomicIncrement_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Hbase.atomicIncrement_args,Hbase.atomicIncrement_args._Fields>
public byte[] getTableName()
public ByteBuffer bufferForTableName()
public Hbase.atomicIncrement_args setTableName(byte[] tableName)
public Hbase.atomicIncrement_args setTableName(ByteBuffer tableName)
public void unsetTableName()
public boolean isSetTableName()
public void setTableNameIsSet(boolean value)
public byte[] getRow()
public ByteBuffer bufferForRow()
public Hbase.atomicIncrement_args setRow(byte[] row)
public Hbase.atomicIncrement_args setRow(ByteBuffer row)
public void unsetRow()
public boolean isSetRow()
public void setRowIsSet(boolean value)
public byte[] getColumn()
public ByteBuffer bufferForColumn()
public Hbase.atomicIncrement_args setColumn(byte[] column)
public Hbase.atomicIncrement_args setColumn(ByteBuffer column)
public void unsetColumn()
public boolean isSetColumn()
public void setColumnIsSet(boolean value)
public long getValue()
public Hbase.atomicIncrement_args setValue(long value)
public void unsetValue()
public boolean isSetValue()
public void setValueIsSet(boolean value)
public void setFieldValue(Hbase.atomicIncrement_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Hbase.atomicIncrement_args,Hbase.atomicIncrement_args._Fields>
public Object getFieldValue(Hbase.atomicIncrement_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Hbase.atomicIncrement_args,Hbase.atomicIncrement_args._Fields>
public boolean isSet(Hbase.atomicIncrement_args._Fields field)
isSet
in interface org.apache.thrift.TBase<Hbase.atomicIncrement_args,Hbase.atomicIncrement_args._Fields>
public boolean equals(Hbase.atomicIncrement_args that)
public int compareTo(Hbase.atomicIncrement_args other)
compareTo
in interface Comparable<Hbase.atomicIncrement_args>
public Hbase.atomicIncrement_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Hbase.atomicIncrement_args,Hbase.atomicIncrement_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Hbase.atomicIncrement_args,Hbase.atomicIncrement_args._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<Hbase.atomicIncrement_args,Hbase.atomicIncrement_args._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.