public class Deletion extends java.lang.Object implements org.apache.thrift.TBase<Deletion,Deletion._Fields>, java.io.Serializable, java.lang.Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
Deletion._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static java.util.Map<Deletion._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
SlicePredicate |
predicate |
java.nio.ByteBuffer |
super_column |
long |
timestamp |
Constructor and Description |
---|
Deletion() |
Deletion(Deletion other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
bufferForSuper_column() |
void |
clear()
Return to the state of having just been initialized, as though you had just
called the default constructor.
|
int |
compareTo(Deletion other) |
Deletion |
deepCopy() |
boolean |
equals(Deletion that) |
boolean |
equals(java.lang.Object that) |
Deletion._Fields |
fieldForId(int fieldId)
Get the F instance that corresponds to fieldId.
|
java.lang.Object |
getFieldValue(Deletion._Fields field)
Get a field's value by field variable.
|
SlicePredicate |
getPredicate() |
byte[] |
getSuper_column() |
long |
getTimestamp() |
int |
hashCode() |
boolean |
isSet(Deletion._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetPredicate()
Returns true if field predicate is set (has been assigned a value) and false otherwise
|
boolean |
isSetSuper_column()
Returns true if field super_column is set (has been assigned a value) and false otherwise
|
boolean |
isSetTimestamp()
Returns true if field timestamp is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
void |
setFieldValue(Deletion._Fields field,
java.lang.Object value)
Set a field's value by field variable.
|
Deletion |
setPredicate(SlicePredicate predicate) |
void |
setPredicateIsSet(boolean value) |
Deletion |
setSuper_column(byte[] super_column) |
Deletion |
setSuper_column(java.nio.ByteBuffer super_column) |
void |
setSuper_columnIsSet(boolean value) |
Deletion |
setTimestamp(long timestamp) |
void |
setTimestampIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetPredicate() |
void |
unsetSuper_column() |
void |
unsetTimestamp() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public long timestamp
public java.nio.ByteBuffer super_column
public SlicePredicate predicate
public static final java.util.Map<Deletion._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Deletion()
public Deletion(Deletion other)
public Deletion deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Deletion,Deletion._Fields>
public void clear()
org.apache.thrift.TBase
clear
in interface org.apache.thrift.TBase<Deletion,Deletion._Fields>
public long getTimestamp()
public Deletion setTimestamp(long timestamp)
public void unsetTimestamp()
public boolean isSetTimestamp()
public void setTimestampIsSet(boolean value)
public byte[] getSuper_column()
public java.nio.ByteBuffer bufferForSuper_column()
public Deletion setSuper_column(byte[] super_column)
public Deletion setSuper_column(java.nio.ByteBuffer super_column)
public void unsetSuper_column()
public boolean isSetSuper_column()
public void setSuper_columnIsSet(boolean value)
public SlicePredicate getPredicate()
public Deletion setPredicate(SlicePredicate predicate)
public void unsetPredicate()
public boolean isSetPredicate()
public void setPredicateIsSet(boolean value)
public void setFieldValue(Deletion._Fields field, java.lang.Object value)
org.apache.thrift.TBase
setFieldValue
in interface org.apache.thrift.TBase<Deletion,Deletion._Fields>
public java.lang.Object getFieldValue(Deletion._Fields field)
org.apache.thrift.TBase
getFieldValue
in interface org.apache.thrift.TBase<Deletion,Deletion._Fields>
public boolean isSet(Deletion._Fields field)
isSet
in interface org.apache.thrift.TBase<Deletion,Deletion._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(Deletion that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(Deletion other)
compareTo
in interface java.lang.Comparable<Deletion>
public Deletion._Fields fieldForId(int fieldId)
org.apache.thrift.TBase
fieldForId
in interface org.apache.thrift.TBase<Deletion,Deletion._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
org.apache.thrift.TBase
read
in interface org.apache.thrift.TBase<Deletion,Deletion._Fields>
iprot
- Input protocolorg.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
org.apache.thrift.TBase
write
in interface org.apache.thrift.TBase<Deletion,Deletion._Fields>
oprot
- Output protocolorg.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2013 The Apache Software Foundation