public static class Hbase.checkAndPut_args extends Object implements org.apache.thrift.TBase<Hbase.checkAndPut_args,Hbase.checkAndPut_args._Fields>, Serializable, Cloneable, Comparable<Hbase.checkAndPut_args>
Modifier and Type | Class and Description |
---|---|
static class |
Hbase.checkAndPut_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
Map<ByteBuffer,ByteBuffer> |
attributes
Mutation attributes
|
ByteBuffer |
column
column name
|
static Map<Hbase.checkAndPut_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Mutation |
mput
mutation for the put
|
ByteBuffer |
row
row key
|
ByteBuffer |
tableName
name of table
|
ByteBuffer |
value
the expected value for the column parameter, if not
provided the check is for the non-existence of the
column in question
|
Constructor and Description |
---|
Hbase.checkAndPut_args() |
Hbase.checkAndPut_args(ByteBuffer tableName,
ByteBuffer row,
ByteBuffer column,
ByteBuffer value,
Mutation mput,
Map<ByteBuffer,ByteBuffer> attributes) |
Hbase.checkAndPut_args(Hbase.checkAndPut_args other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
bufferForColumn() |
ByteBuffer |
bufferForRow() |
ByteBuffer |
bufferForTableName() |
ByteBuffer |
bufferForValue() |
void |
clear() |
int |
compareTo(Hbase.checkAndPut_args other) |
Hbase.checkAndPut_args |
deepCopy() |
boolean |
equals(Hbase.checkAndPut_args that) |
boolean |
equals(Object that) |
Hbase.checkAndPut_args._Fields |
fieldForId(int fieldId) |
Map<ByteBuffer,ByteBuffer> |
getAttributes()
Mutation attributes
|
int |
getAttributesSize() |
byte[] |
getColumn()
column name
|
Object |
getFieldValue(Hbase.checkAndPut_args._Fields field) |
Mutation |
getMput()
mutation for the put
|
byte[] |
getRow()
row key
|
byte[] |
getTableName()
name of table
|
byte[] |
getValue()
the expected value for the column parameter, if not
provided the check is for the non-existence of the
column in question
|
int |
hashCode() |
boolean |
isSet(Hbase.checkAndPut_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAttributes()
Returns true if field attributes 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 |
isSetMput()
Returns true if field mput 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 |
putToAttributes(ByteBuffer key,
ByteBuffer val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
Hbase.checkAndPut_args |
setAttributes(Map<ByteBuffer,ByteBuffer> attributes)
Mutation attributes
|
void |
setAttributesIsSet(boolean value) |
Hbase.checkAndPut_args |
setColumn(byte[] column)
column name
|
Hbase.checkAndPut_args |
setColumn(ByteBuffer column) |
void |
setColumnIsSet(boolean value) |
void |
setFieldValue(Hbase.checkAndPut_args._Fields field,
Object value) |
Hbase.checkAndPut_args |
setMput(Mutation mput)
mutation for the put
|
void |
setMputIsSet(boolean value) |
Hbase.checkAndPut_args |
setRow(byte[] row)
row key
|
Hbase.checkAndPut_args |
setRow(ByteBuffer row) |
void |
setRowIsSet(boolean value) |
Hbase.checkAndPut_args |
setTableName(byte[] tableName)
name of table
|
Hbase.checkAndPut_args |
setTableName(ByteBuffer tableName) |
void |
setTableNameIsSet(boolean value) |
Hbase.checkAndPut_args |
setValue(byte[] value)
the expected value for the column parameter, if not
provided the check is for the non-existence of the
column in question
|
Hbase.checkAndPut_args |
setValue(ByteBuffer value) |
void |
setValueIsSet(boolean value) |
String |
toString() |
void |
unsetAttributes() |
void |
unsetColumn() |
void |
unsetMput() |
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 ByteBuffer value
public Mutation mput
public Map<ByteBuffer,ByteBuffer> attributes
public static final Map<Hbase.checkAndPut_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Hbase.checkAndPut_args()
public Hbase.checkAndPut_args(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, ByteBuffer value, Mutation mput, Map<ByteBuffer,ByteBuffer> attributes)
public Hbase.checkAndPut_args(Hbase.checkAndPut_args other)
public Hbase.checkAndPut_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Hbase.checkAndPut_args,Hbase.checkAndPut_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Hbase.checkAndPut_args,Hbase.checkAndPut_args._Fields>
public byte[] getTableName()
public ByteBuffer bufferForTableName()
public Hbase.checkAndPut_args setTableName(byte[] tableName)
public Hbase.checkAndPut_args setTableName(ByteBuffer tableName)
public void unsetTableName()
public boolean isSetTableName()
public void setTableNameIsSet(boolean value)
public byte[] getRow()
public ByteBuffer bufferForRow()
public Hbase.checkAndPut_args setRow(byte[] row)
public Hbase.checkAndPut_args setRow(ByteBuffer row)
public void unsetRow()
public boolean isSetRow()
public void setRowIsSet(boolean value)
public byte[] getColumn()
public ByteBuffer bufferForColumn()
public Hbase.checkAndPut_args setColumn(byte[] column)
public Hbase.checkAndPut_args setColumn(ByteBuffer column)
public void unsetColumn()
public boolean isSetColumn()
public void setColumnIsSet(boolean value)
public byte[] getValue()
public ByteBuffer bufferForValue()
public Hbase.checkAndPut_args setValue(byte[] value)
public Hbase.checkAndPut_args setValue(ByteBuffer value)
public void unsetValue()
public boolean isSetValue()
public void setValueIsSet(boolean value)
public Mutation getMput()
public Hbase.checkAndPut_args setMput(Mutation mput)
public void unsetMput()
public boolean isSetMput()
public void setMputIsSet(boolean value)
public int getAttributesSize()
public void putToAttributes(ByteBuffer key, ByteBuffer val)
public Map<ByteBuffer,ByteBuffer> getAttributes()
public Hbase.checkAndPut_args setAttributes(Map<ByteBuffer,ByteBuffer> attributes)
public void unsetAttributes()
public boolean isSetAttributes()
public void setAttributesIsSet(boolean value)
public void setFieldValue(Hbase.checkAndPut_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Hbase.checkAndPut_args,Hbase.checkAndPut_args._Fields>
public Object getFieldValue(Hbase.checkAndPut_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Hbase.checkAndPut_args,Hbase.checkAndPut_args._Fields>
public boolean isSet(Hbase.checkAndPut_args._Fields field)
isSet
in interface org.apache.thrift.TBase<Hbase.checkAndPut_args,Hbase.checkAndPut_args._Fields>
public boolean equals(Hbase.checkAndPut_args that)
public int compareTo(Hbase.checkAndPut_args other)
compareTo
in interface Comparable<Hbase.checkAndPut_args>
public Hbase.checkAndPut_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Hbase.checkAndPut_args,Hbase.checkAndPut_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Hbase.checkAndPut_args,Hbase.checkAndPut_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.checkAndPut_args,Hbase.checkAndPut_args._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.