org.apache.hadoop.hbase.thrift2.generated
Class THBaseService.checkAndDelete_args

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

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

See Also:
Serialized Form

Nested Class Summary
static class THBaseService.checkAndDelete_args._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 TDelete deleteSingle
          the TDelete to execute if the check succeeds
 ByteBuffer family
          column family to check
static Map<THBaseService.checkAndDelete_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 ByteBuffer qualifier
          column qualifier to check
 ByteBuffer row
          row to check
 ByteBuffer table
          to check in and delete from
 ByteBuffer value
          the expected value, if not provided the check is for the non-existence of the column in question
 
Constructor Summary
THBaseService.checkAndDelete_args()
           
THBaseService.checkAndDelete_args(ByteBuffer table, ByteBuffer row, ByteBuffer family, ByteBuffer qualifier, ByteBuffer value, TDelete deleteSingle)
           
THBaseService.checkAndDelete_args(THBaseService.checkAndDelete_args other)
          Performs a deep copy on other.
 
Method Summary
 ByteBuffer bufferForFamily()
           
 ByteBuffer bufferForQualifier()
           
 ByteBuffer bufferForRow()
           
 ByteBuffer bufferForTable()
           
 ByteBuffer bufferForValue()
           
 void clear()
           
 int compareTo(THBaseService.checkAndDelete_args other)
           
 THBaseService.checkAndDelete_args deepCopy()
           
 boolean equals(Object that)
           
 boolean equals(THBaseService.checkAndDelete_args that)
           
 THBaseService.checkAndDelete_args._Fields fieldForId(int fieldId)
           
 TDelete getDeleteSingle()
          the TDelete to execute if the check succeeds
 byte[] getFamily()
          column family to check
 Object getFieldValue(THBaseService.checkAndDelete_args._Fields field)
           
 byte[] getQualifier()
          column qualifier to check
 byte[] getRow()
          row to check
 byte[] getTable()
          to check in and delete from
 byte[] getValue()
          the expected value, if not provided the check is for the non-existence of the column in question
 int hashCode()
           
 boolean isSet(THBaseService.checkAndDelete_args._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetDeleteSingle()
          Returns true if field deleteSingle 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 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.checkAndDelete_args setDeleteSingle(TDelete deleteSingle)
          the TDelete to execute if the check succeeds
 void setDeleteSingleIsSet(boolean value)
           
 THBaseService.checkAndDelete_args setFamily(byte[] family)
          column family to check
 THBaseService.checkAndDelete_args setFamily(ByteBuffer family)
           
 void setFamilyIsSet(boolean value)
           
 void setFieldValue(THBaseService.checkAndDelete_args._Fields field, Object value)
           
 THBaseService.checkAndDelete_args setQualifier(byte[] qualifier)
          column qualifier to check
 THBaseService.checkAndDelete_args setQualifier(ByteBuffer qualifier)
           
 void setQualifierIsSet(boolean value)
           
 THBaseService.checkAndDelete_args setRow(byte[] row)
          row to check
 THBaseService.checkAndDelete_args setRow(ByteBuffer row)
           
 void setRowIsSet(boolean value)
           
 THBaseService.checkAndDelete_args setTable(byte[] table)
          to check in and delete from
 THBaseService.checkAndDelete_args setTable(ByteBuffer table)
           
 void setTableIsSet(boolean value)
           
 THBaseService.checkAndDelete_args setValue(byte[] value)
          the expected value, if not provided the check is for the non-existence of the column in question
 THBaseService.checkAndDelete_args setValue(ByteBuffer value)
           
 void setValueIsSet(boolean value)
           
 String toString()
           
 void unsetDeleteSingle()
           
 void unsetFamily()
           
 void unsetQualifier()
           
 void unsetRow()
           
 void unsetTable()
           
 void unsetValue()
           
 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
to check in and delete from


row

public ByteBuffer row
row to check


family

public ByteBuffer family
column family to check


qualifier

public ByteBuffer qualifier
column qualifier to check


value

public ByteBuffer value
the expected value, if not provided the check is for the non-existence of the column in question


deleteSingle

public TDelete deleteSingle
the TDelete to execute if the check succeeds


metaDataMap

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

THBaseService.checkAndDelete_args

public THBaseService.checkAndDelete_args()

THBaseService.checkAndDelete_args

public THBaseService.checkAndDelete_args(ByteBuffer table,
                                         ByteBuffer row,
                                         ByteBuffer family,
                                         ByteBuffer qualifier,
                                         ByteBuffer value,
                                         TDelete deleteSingle)

THBaseService.checkAndDelete_args

public THBaseService.checkAndDelete_args(THBaseService.checkAndDelete_args other)
Performs a deep copy on other.

Method Detail

deepCopy

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

clear

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

getTable

public byte[] getTable()
to check in and delete from


bufferForTable

public ByteBuffer bufferForTable()

setTable

public THBaseService.checkAndDelete_args setTable(byte[] table)
to check in and delete from


setTable

public THBaseService.checkAndDelete_args 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()
row to check


bufferForRow

public ByteBuffer bufferForRow()

setRow

public THBaseService.checkAndDelete_args setRow(byte[] row)
row to check


setRow

public THBaseService.checkAndDelete_args 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)

getFamily

public byte[] getFamily()
column family to check


bufferForFamily

public ByteBuffer bufferForFamily()

setFamily

public THBaseService.checkAndDelete_args setFamily(byte[] family)
column family to check


setFamily

public THBaseService.checkAndDelete_args setFamily(ByteBuffer family)

unsetFamily

public void unsetFamily()

isSetFamily

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


setFamilyIsSet

public void setFamilyIsSet(boolean value)

getQualifier

public byte[] getQualifier()
column qualifier to check


bufferForQualifier

public ByteBuffer bufferForQualifier()

setQualifier

public THBaseService.checkAndDelete_args setQualifier(byte[] qualifier)
column qualifier to check


setQualifier

public THBaseService.checkAndDelete_args setQualifier(ByteBuffer qualifier)

unsetQualifier

public void unsetQualifier()

isSetQualifier

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


setQualifierIsSet

public void setQualifierIsSet(boolean value)

getValue

public byte[] getValue()
the expected value, if not provided the check is for the non-existence of the column in question


bufferForValue

public ByteBuffer bufferForValue()

setValue

public THBaseService.checkAndDelete_args setValue(byte[] value)
the expected value, if not provided the check is for the non-existence of the column in question


setValue

public THBaseService.checkAndDelete_args setValue(ByteBuffer value)

unsetValue

public void unsetValue()

isSetValue

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


setValueIsSet

public void setValueIsSet(boolean value)

getDeleteSingle

public TDelete getDeleteSingle()
the TDelete to execute if the check succeeds


setDeleteSingle

public THBaseService.checkAndDelete_args setDeleteSingle(TDelete deleteSingle)
the TDelete to execute if the check succeeds


unsetDeleteSingle

public void unsetDeleteSingle()

isSetDeleteSingle

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


setDeleteSingleIsSet

public void setDeleteSingleIsSet(boolean value)

setFieldValue

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

getFieldValue

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

isSet

public boolean isSet(THBaseService.checkAndDelete_args._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<THBaseService.checkAndDelete_args,THBaseService.checkAndDelete_args._Fields>

equals

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

equals

public boolean equals(THBaseService.checkAndDelete_args that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(THBaseService.checkAndDelete_args other)
Specified by:
compareTo in interface Comparable<THBaseService.checkAndDelete_args>

fieldForId

public THBaseService.checkAndDelete_args._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<THBaseService.checkAndDelete_args,THBaseService.checkAndDelete_args._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<THBaseService.checkAndDelete_args,THBaseService.checkAndDelete_args._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<THBaseService.checkAndDelete_args,THBaseService.checkAndDelete_args._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.