|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.thrift.RowPredicate
public class RowPredicate
Nested Class Summary | |
---|---|
static class |
RowPredicate._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
IndexClause |
index_clause
|
KeyRange |
key_range
|
java.util.List<byte[]> |
keys
|
static java.util.Map<RowPredicate._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
Constructor Summary | |
---|---|
RowPredicate()
|
|
RowPredicate(RowPredicate other)
Performs a deep copy on other. |
Method Summary | |
---|---|
void |
addToKeys(byte[] elem)
|
RowPredicate |
clone()
Deprecated. |
int |
compareTo(RowPredicate other)
|
RowPredicate |
deepCopy()
|
boolean |
equals(java.lang.Object that)
|
boolean |
equals(RowPredicate that)
|
java.lang.Object |
getFieldValue(int fieldId)
|
java.lang.Object |
getFieldValue(RowPredicate._Fields field)
|
IndexClause |
getIndex_clause()
|
KeyRange |
getKey_range()
|
java.util.List<byte[]> |
getKeys()
|
java.util.Iterator<byte[]> |
getKeysIterator()
|
int |
getKeysSize()
|
int |
hashCode()
|
boolean |
isSet(int fieldID)
|
boolean |
isSet(RowPredicate._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise |
boolean |
isSetIndex_clause()
Returns true if field index_clause is set (has been asigned a value) and false otherwise |
boolean |
isSetKey_range()
Returns true if field key_range is set (has been asigned a value) and false otherwise |
boolean |
isSetKeys()
Returns true if field keys is set (has been asigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
void |
setFieldValue(int fieldID,
java.lang.Object value)
|
void |
setFieldValue(RowPredicate._Fields field,
java.lang.Object value)
|
RowPredicate |
setIndex_clause(IndexClause index_clause)
|
void |
setIndex_clauseIsSet(boolean value)
|
RowPredicate |
setKey_range(KeyRange key_range)
|
void |
setKey_rangeIsSet(boolean value)
|
RowPredicate |
setKeys(java.util.List<byte[]> keys)
|
void |
setKeysIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetIndex_clause()
|
void |
unsetKey_range()
|
void |
unsetKeys()
|
void |
validate()
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.util.List<byte[]> keys
public KeyRange key_range
public IndexClause index_clause
public static final java.util.Map<RowPredicate._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public RowPredicate()
public RowPredicate(RowPredicate other)
Method Detail |
---|
public RowPredicate deepCopy()
deepCopy
in interface org.apache.thrift.TBase<RowPredicate,RowPredicate._Fields>
@Deprecated public RowPredicate clone()
clone
in class java.lang.Object
public int getKeysSize()
public java.util.Iterator<byte[]> getKeysIterator()
public void addToKeys(byte[] elem)
public java.util.List<byte[]> getKeys()
public RowPredicate setKeys(java.util.List<byte[]> keys)
public void unsetKeys()
public boolean isSetKeys()
public void setKeysIsSet(boolean value)
public KeyRange getKey_range()
public RowPredicate setKey_range(KeyRange key_range)
public void unsetKey_range()
public boolean isSetKey_range()
public void setKey_rangeIsSet(boolean value)
public IndexClause getIndex_clause()
public RowPredicate setIndex_clause(IndexClause index_clause)
public void unsetIndex_clause()
public boolean isSetIndex_clause()
public void setIndex_clauseIsSet(boolean value)
public void setFieldValue(RowPredicate._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<RowPredicate,RowPredicate._Fields>
public void setFieldValue(int fieldID, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<RowPredicate,RowPredicate._Fields>
public java.lang.Object getFieldValue(RowPredicate._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<RowPredicate,RowPredicate._Fields>
public java.lang.Object getFieldValue(int fieldId)
getFieldValue
in interface org.apache.thrift.TBase<RowPredicate,RowPredicate._Fields>
public boolean isSet(RowPredicate._Fields field)
isSet
in interface org.apache.thrift.TBase<RowPredicate,RowPredicate._Fields>
public boolean isSet(int fieldID)
isSet
in interface org.apache.thrift.TBase<RowPredicate,RowPredicate._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(RowPredicate that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(RowPredicate other)
compareTo
in interface java.lang.Comparable<RowPredicate>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<RowPredicate,RowPredicate._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<RowPredicate,RowPredicate._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 |