Package org.apache.accumulo.proxy.thrift
Class Condition
- java.lang.Object
-
- org.apache.accumulo.proxy.thrift.Condition
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<Condition>
,org.apache.thrift.TBase<Condition,Condition._Fields>
public class Condition extends Object implements org.apache.thrift.TBase<Condition,Condition._Fields>, Serializable, Cloneable, Comparable<Condition>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Condition._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description Column
column
List<IteratorSetting>
iterators
static Map<Condition._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
long
timestamp
ByteBuffer
value
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToIterators(IteratorSetting elem)
ByteBuffer
bufferForValue()
void
clear()
int
compareTo(Condition other)
Condition
deepCopy()
boolean
equals(Object that)
boolean
equals(Condition that)
Condition._Fields
fieldForId(int fieldId)
Column
getColumn()
Object
getFieldValue(Condition._Fields field)
List<IteratorSetting>
getIterators()
Iterator<IteratorSetting>
getIteratorsIterator()
int
getIteratorsSize()
long
getTimestamp()
byte[]
getValue()
int
hashCode()
boolean
isSet(Condition._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetColumn()
Returns true if field column is set (has been assigned a value) and false otherwiseboolean
isSetIterators()
Returns true if field iterators is set (has been assigned a value) and false otherwiseboolean
isSetTimestamp()
Returns true if field timestamp is set (has been assigned a value) and false otherwiseboolean
isSetValue()
Returns true if field value is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
Condition
setColumn(Column column)
void
setColumnIsSet(boolean value)
void
setFieldValue(Condition._Fields field, Object value)
Condition
setIterators(List<IteratorSetting> iterators)
void
setIteratorsIsSet(boolean value)
Condition
setTimestamp(long timestamp)
void
setTimestampIsSet(boolean value)
Condition
setValue(byte[] value)
Condition
setValue(ByteBuffer value)
void
setValueIsSet(boolean value)
String
toString()
void
unsetColumn()
void
unsetIterators()
void
unsetTimestamp()
void
unsetValue()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
column
public Column column
-
timestamp
public long timestamp
-
value
public ByteBuffer value
-
iterators
public List<IteratorSetting> iterators
-
metaDataMap
public static final Map<Condition._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Method Detail
-
deepCopy
public Condition deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<Condition,Condition._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<Condition,Condition._Fields>
-
getColumn
public Column getColumn()
-
unsetColumn
public void unsetColumn()
-
isSetColumn
public boolean isSetColumn()
Returns true if field column is set (has been assigned a value) and false otherwise
-
setColumnIsSet
public void setColumnIsSet(boolean value)
-
getTimestamp
public long getTimestamp()
-
setTimestamp
public Condition setTimestamp(long timestamp)
-
unsetTimestamp
public void unsetTimestamp()
-
isSetTimestamp
public boolean isSetTimestamp()
Returns true if field timestamp is set (has been assigned a value) and false otherwise
-
setTimestampIsSet
public void setTimestampIsSet(boolean value)
-
getValue
public byte[] getValue()
-
bufferForValue
public ByteBuffer bufferForValue()
-
setValue
public Condition setValue(byte[] value)
-
setValue
public Condition 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)
-
getIteratorsSize
public int getIteratorsSize()
-
getIteratorsIterator
public Iterator<IteratorSetting> getIteratorsIterator()
-
addToIterators
public void addToIterators(IteratorSetting elem)
-
getIterators
public List<IteratorSetting> getIterators()
-
setIterators
public Condition setIterators(List<IteratorSetting> iterators)
-
unsetIterators
public void unsetIterators()
-
isSetIterators
public boolean isSetIterators()
Returns true if field iterators is set (has been assigned a value) and false otherwise
-
setIteratorsIsSet
public void setIteratorsIsSet(boolean value)
-
setFieldValue
public void setFieldValue(Condition._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<Condition,Condition._Fields>
-
getFieldValue
public Object getFieldValue(Condition._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<Condition,Condition._Fields>
-
isSet
public boolean isSet(Condition._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.thrift.TBase<Condition,Condition._Fields>
-
equals
public boolean equals(Condition that)
-
compareTo
public int compareTo(Condition other)
- Specified by:
compareTo
in interfaceComparable<Condition>
-
fieldForId
public Condition._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<Condition,Condition._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<Condition,Condition._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 interfaceorg.apache.thrift.TBase<Condition,Condition._Fields>
- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-