public static class THBaseService.checkAndMutate_args extends Object implements org.apache.thrift.TBase<THBaseService.checkAndMutate_args,THBaseService.checkAndMutate_args._Fields>, Serializable, Cloneable, Comparable<THBaseService.checkAndMutate_args>
Modifier and Type | Class and Description |
---|---|
static class |
THBaseService.checkAndMutate_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
TCompareOp |
compareOp
comparison to make on the value
|
ByteBuffer |
family
column family to check
|
static Map<THBaseService.checkAndMutate_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ByteBuffer |
qualifier
column qualifier to check
|
ByteBuffer |
row
row to check
|
TRowMutations |
rowMutations
row mutations to execute if the value matches
|
ByteBuffer |
table
to check in and delete from
|
ByteBuffer |
value
the expected value to be compared against, if not provided the
check is for the non-existence of the column in question
|
Constructor and Description |
---|
THBaseService.checkAndMutate_args() |
THBaseService.checkAndMutate_args(ByteBuffer table,
ByteBuffer row,
ByteBuffer family,
ByteBuffer qualifier,
TCompareOp compareOp,
ByteBuffer value,
TRowMutations rowMutations) |
THBaseService.checkAndMutate_args(THBaseService.checkAndMutate_args other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
bufferForFamily() |
ByteBuffer |
bufferForQualifier() |
ByteBuffer |
bufferForRow() |
ByteBuffer |
bufferForTable() |
ByteBuffer |
bufferForValue() |
void |
clear() |
int |
compareTo(THBaseService.checkAndMutate_args other) |
THBaseService.checkAndMutate_args |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(THBaseService.checkAndMutate_args that) |
THBaseService.checkAndMutate_args._Fields |
fieldForId(int fieldId) |
TCompareOp |
getCompareOp()
comparison to make on the value
|
byte[] |
getFamily()
column family to check
|
Object |
getFieldValue(THBaseService.checkAndMutate_args._Fields field) |
byte[] |
getQualifier()
column qualifier to check
|
byte[] |
getRow()
row to check
|
TRowMutations |
getRowMutations()
row mutations to execute if the value matches
|
byte[] |
getTable()
to check in and delete from
|
byte[] |
getValue()
the expected value to be compared against, if not provided the
check is for the non-existence of the column in question
|
int |
hashCode() |
boolean |
isSet(THBaseService.checkAndMutate_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCompareOp()
Returns true if field compareOp is set (has been assigned a value) and false otherwise
|
boolean |
isSetFamily()
Returns true if field family is set (has been assigned a value) and false otherwise
|
boolean |
isSetQualifier()
Returns true if field qualifier 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 |
isSetRowMutations()
Returns true if field rowMutations 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
|
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) |
THBaseService.checkAndMutate_args |
setCompareOp(TCompareOp compareOp)
comparison to make on the value
|
void |
setCompareOpIsSet(boolean value) |
THBaseService.checkAndMutate_args |
setFamily(byte[] family)
column family to check
|
THBaseService.checkAndMutate_args |
setFamily(ByteBuffer family) |
void |
setFamilyIsSet(boolean value) |
void |
setFieldValue(THBaseService.checkAndMutate_args._Fields field,
Object value) |
THBaseService.checkAndMutate_args |
setQualifier(byte[] qualifier)
column qualifier to check
|
THBaseService.checkAndMutate_args |
setQualifier(ByteBuffer qualifier) |
void |
setQualifierIsSet(boolean value) |
THBaseService.checkAndMutate_args |
setRow(byte[] row)
row to check
|
THBaseService.checkAndMutate_args |
setRow(ByteBuffer row) |
void |
setRowIsSet(boolean value) |
THBaseService.checkAndMutate_args |
setRowMutations(TRowMutations rowMutations)
row mutations to execute if the value matches
|
void |
setRowMutationsIsSet(boolean value) |
THBaseService.checkAndMutate_args |
setTable(byte[] table)
to check in and delete from
|
THBaseService.checkAndMutate_args |
setTable(ByteBuffer table) |
void |
setTableIsSet(boolean value) |
THBaseService.checkAndMutate_args |
setValue(byte[] value)
the expected value to be compared against, if not provided the
check is for the non-existence of the column in question
|
THBaseService.checkAndMutate_args |
setValue(ByteBuffer value) |
void |
setValueIsSet(boolean value) |
String |
toString() |
void |
unsetCompareOp() |
void |
unsetFamily() |
void |
unsetQualifier() |
void |
unsetRow() |
void |
unsetRowMutations() |
void |
unsetTable() |
void |
unsetValue() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer table
public ByteBuffer row
public ByteBuffer family
public ByteBuffer qualifier
public TCompareOp compareOp
TCompareOp
public ByteBuffer value
public TRowMutations rowMutations
public static final Map<THBaseService.checkAndMutate_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public THBaseService.checkAndMutate_args()
public THBaseService.checkAndMutate_args(ByteBuffer table, ByteBuffer row, ByteBuffer family, ByteBuffer qualifier, TCompareOp compareOp, ByteBuffer value, TRowMutations rowMutations)
public THBaseService.checkAndMutate_args(THBaseService.checkAndMutate_args other)
public THBaseService.checkAndMutate_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<THBaseService.checkAndMutate_args,THBaseService.checkAndMutate_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<THBaseService.checkAndMutate_args,THBaseService.checkAndMutate_args._Fields>
public byte[] getTable()
public ByteBuffer bufferForTable()
public THBaseService.checkAndMutate_args setTable(byte[] table)
public THBaseService.checkAndMutate_args setTable(ByteBuffer table)
public void unsetTable()
public boolean isSetTable()
public void setTableIsSet(boolean value)
public byte[] getRow()
public ByteBuffer bufferForRow()
public THBaseService.checkAndMutate_args setRow(byte[] row)
public THBaseService.checkAndMutate_args setRow(ByteBuffer row)
public void unsetRow()
public boolean isSetRow()
public void setRowIsSet(boolean value)
public byte[] getFamily()
public ByteBuffer bufferForFamily()
public THBaseService.checkAndMutate_args setFamily(byte[] family)
public THBaseService.checkAndMutate_args setFamily(ByteBuffer family)
public void unsetFamily()
public boolean isSetFamily()
public void setFamilyIsSet(boolean value)
public byte[] getQualifier()
public ByteBuffer bufferForQualifier()
public THBaseService.checkAndMutate_args setQualifier(byte[] qualifier)
public THBaseService.checkAndMutate_args setQualifier(ByteBuffer qualifier)
public void unsetQualifier()
public boolean isSetQualifier()
public void setQualifierIsSet(boolean value)
public TCompareOp getCompareOp()
TCompareOp
public THBaseService.checkAndMutate_args setCompareOp(TCompareOp compareOp)
TCompareOp
public void unsetCompareOp()
public boolean isSetCompareOp()
public void setCompareOpIsSet(boolean value)
public byte[] getValue()
public ByteBuffer bufferForValue()
public THBaseService.checkAndMutate_args setValue(byte[] value)
public THBaseService.checkAndMutate_args setValue(ByteBuffer value)
public void unsetValue()
public boolean isSetValue()
public void setValueIsSet(boolean value)
public TRowMutations getRowMutations()
public THBaseService.checkAndMutate_args setRowMutations(TRowMutations rowMutations)
public void unsetRowMutations()
public boolean isSetRowMutations()
public void setRowMutationsIsSet(boolean value)
public void setFieldValue(THBaseService.checkAndMutate_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<THBaseService.checkAndMutate_args,THBaseService.checkAndMutate_args._Fields>
public Object getFieldValue(THBaseService.checkAndMutate_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<THBaseService.checkAndMutate_args,THBaseService.checkAndMutate_args._Fields>
public boolean isSet(THBaseService.checkAndMutate_args._Fields field)
isSet
in interface org.apache.thrift.TBase<THBaseService.checkAndMutate_args,THBaseService.checkAndMutate_args._Fields>
public boolean equals(THBaseService.checkAndMutate_args that)
public int compareTo(THBaseService.checkAndMutate_args other)
compareTo
in interface Comparable<THBaseService.checkAndMutate_args>
public THBaseService.checkAndMutate_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<THBaseService.checkAndMutate_args,THBaseService.checkAndMutate_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<THBaseService.checkAndMutate_args,THBaseService.checkAndMutate_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<THBaseService.checkAndMutate_args,THBaseService.checkAndMutate_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.