|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.thrift.Deletion
public class Deletion
Note that the timestamp is only optional in case of counter deletion.
Nested Class Summary | |
---|---|
static class |
Deletion._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static java.util.Map<Deletion._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
SlicePredicate |
predicate
|
java.nio.ByteBuffer |
super_column
|
long |
timestamp
|
Constructor Summary | |
---|---|
Deletion()
|
|
Deletion(Deletion other)
Performs a deep copy on other. |
Method Summary | |
---|---|
java.nio.ByteBuffer |
bufferForSuper_column()
|
void |
clear()
|
int |
compareTo(Deletion other)
|
Deletion |
deepCopy()
|
boolean |
equals(Deletion that)
|
boolean |
equals(java.lang.Object that)
|
Deletion._Fields |
fieldForId(int fieldId)
|
java.lang.Object |
getFieldValue(Deletion._Fields field)
|
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)
|
void |
setFieldValue(Deletion._Fields field,
java.lang.Object value)
|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public Deletion()
public Deletion(Deletion other)
Method Detail |
---|
public Deletion deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Deletion,Deletion._Fields>
public void clear()
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)
setFieldValue
in interface org.apache.thrift.TBase<Deletion,Deletion._Fields>
public java.lang.Object getFieldValue(Deletion._Fields field)
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)
fieldForId
in interface org.apache.thrift.TBase<Deletion,Deletion._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Deletion,Deletion._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<Deletion,Deletion._Fields>
org.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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |