|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.accumulo.core.data.thrift.TCondition
public class TCondition
Nested Class Summary | |
---|---|
static class |
TCondition._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
ByteBuffer |
cf
|
ByteBuffer |
cq
|
ByteBuffer |
cv
|
boolean |
hasTimestamp
|
ByteBuffer |
iterators
|
static Map<TCondition._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
long |
ts
|
ByteBuffer |
val
|
Constructor Summary | |
---|---|
TCondition()
|
|
TCondition(ByteBuffer cf,
ByteBuffer cq,
ByteBuffer cv,
long ts,
boolean hasTimestamp,
ByteBuffer val,
ByteBuffer iterators)
|
|
TCondition(TCondition other)
Performs a deep copy on other. |
Method Summary | |
---|---|
ByteBuffer |
bufferForCf()
|
ByteBuffer |
bufferForCq()
|
ByteBuffer |
bufferForCv()
|
ByteBuffer |
bufferForIterators()
|
ByteBuffer |
bufferForVal()
|
void |
clear()
|
int |
compareTo(TCondition other)
|
TCondition |
deepCopy()
|
boolean |
equals(Object that)
|
boolean |
equals(TCondition that)
|
TCondition._Fields |
fieldForId(int fieldId)
|
byte[] |
getCf()
|
byte[] |
getCq()
|
byte[] |
getCv()
|
Object |
getFieldValue(TCondition._Fields field)
|
byte[] |
getIterators()
|
long |
getTs()
|
byte[] |
getVal()
|
int |
hashCode()
|
boolean |
isHasTimestamp()
|
boolean |
isSet(TCondition._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetCf()
Returns true if field cf is set (has been assigned a value) and false otherwise |
boolean |
isSetCq()
Returns true if field cq is set (has been assigned a value) and false otherwise |
boolean |
isSetCv()
Returns true if field cv is set (has been assigned a value) and false otherwise |
boolean |
isSetHasTimestamp()
Returns true if field hasTimestamp is set (has been assigned a value) and false otherwise |
boolean |
isSetIterators()
Returns true if field iterators is set (has been assigned a value) and false otherwise |
boolean |
isSetTs()
Returns true if field ts is set (has been assigned a value) and false otherwise |
boolean |
isSetVal()
Returns true if field val is set (has been assigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
TCondition |
setCf(byte[] cf)
|
TCondition |
setCf(ByteBuffer cf)
|
void |
setCfIsSet(boolean value)
|
TCondition |
setCq(byte[] cq)
|
TCondition |
setCq(ByteBuffer cq)
|
void |
setCqIsSet(boolean value)
|
TCondition |
setCv(byte[] cv)
|
TCondition |
setCv(ByteBuffer cv)
|
void |
setCvIsSet(boolean value)
|
void |
setFieldValue(TCondition._Fields field,
Object value)
|
TCondition |
setHasTimestamp(boolean hasTimestamp)
|
void |
setHasTimestampIsSet(boolean value)
|
TCondition |
setIterators(byte[] iterators)
|
TCondition |
setIterators(ByteBuffer iterators)
|
void |
setIteratorsIsSet(boolean value)
|
TCondition |
setTs(long ts)
|
void |
setTsIsSet(boolean value)
|
TCondition |
setVal(byte[] val)
|
TCondition |
setVal(ByteBuffer val)
|
void |
setValIsSet(boolean value)
|
String |
toString()
|
void |
unsetCf()
|
void |
unsetCq()
|
void |
unsetCv()
|
void |
unsetHasTimestamp()
|
void |
unsetIterators()
|
void |
unsetTs()
|
void |
unsetVal()
|
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 ByteBuffer cf
public ByteBuffer cq
public ByteBuffer cv
public long ts
public boolean hasTimestamp
public ByteBuffer val
public ByteBuffer iterators
public static final Map<TCondition._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public TCondition()
public TCondition(ByteBuffer cf, ByteBuffer cq, ByteBuffer cv, long ts, boolean hasTimestamp, ByteBuffer val, ByteBuffer iterators)
public TCondition(TCondition other)
Method Detail |
---|
public TCondition deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TCondition,TCondition._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TCondition,TCondition._Fields>
public byte[] getCf()
public ByteBuffer bufferForCf()
public TCondition setCf(byte[] cf)
public TCondition setCf(ByteBuffer cf)
public void unsetCf()
public boolean isSetCf()
public void setCfIsSet(boolean value)
public byte[] getCq()
public ByteBuffer bufferForCq()
public TCondition setCq(byte[] cq)
public TCondition setCq(ByteBuffer cq)
public void unsetCq()
public boolean isSetCq()
public void setCqIsSet(boolean value)
public byte[] getCv()
public ByteBuffer bufferForCv()
public TCondition setCv(byte[] cv)
public TCondition setCv(ByteBuffer cv)
public void unsetCv()
public boolean isSetCv()
public void setCvIsSet(boolean value)
public long getTs()
public TCondition setTs(long ts)
public void unsetTs()
public boolean isSetTs()
public void setTsIsSet(boolean value)
public boolean isHasTimestamp()
public TCondition setHasTimestamp(boolean hasTimestamp)
public void unsetHasTimestamp()
public boolean isSetHasTimestamp()
public void setHasTimestampIsSet(boolean value)
public byte[] getVal()
public ByteBuffer bufferForVal()
public TCondition setVal(byte[] val)
public TCondition setVal(ByteBuffer val)
public void unsetVal()
public boolean isSetVal()
public void setValIsSet(boolean value)
public byte[] getIterators()
public ByteBuffer bufferForIterators()
public TCondition setIterators(byte[] iterators)
public TCondition setIterators(ByteBuffer iterators)
public void unsetIterators()
public boolean isSetIterators()
public void setIteratorsIsSet(boolean value)
public void setFieldValue(TCondition._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TCondition,TCondition._Fields>
public Object getFieldValue(TCondition._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TCondition,TCondition._Fields>
public boolean isSet(TCondition._Fields field)
isSet
in interface org.apache.thrift.TBase<TCondition,TCondition._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(TCondition that)
public int hashCode()
hashCode
in class Object
public int compareTo(TCondition other)
compareTo
in interface Comparable<TCondition>
public TCondition._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TCondition,TCondition._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TCondition,TCondition._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<TCondition,TCondition._Fields>
org.apache.thrift.TException
public String toString()
toString
in class 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 |