@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2017-06-27") public class TColumnValue extends Object implements Serializable, Cloneable, Comparable<TColumnValue>
Modifier and Type | Class and Description |
---|---|
static class |
TColumnValue._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
ByteBuffer |
family |
static Map<TColumnValue._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ByteBuffer |
qualifier |
ByteBuffer |
tags |
long |
timestamp |
ByteBuffer |
value |
Constructor and Description |
---|
TColumnValue() |
TColumnValue(ByteBuffer family,
ByteBuffer qualifier,
ByteBuffer value) |
TColumnValue(TColumnValue other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
bufferForFamily() |
ByteBuffer |
bufferForQualifier() |
ByteBuffer |
bufferForTags() |
ByteBuffer |
bufferForValue() |
void |
clear() |
int |
compareTo(TColumnValue other) |
TColumnValue |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TColumnValue that) |
TColumnValue._Fields |
fieldForId(int fieldId) |
byte[] |
getFamily() |
Object |
getFieldValue(TColumnValue._Fields field) |
byte[] |
getQualifier() |
byte[] |
getTags() |
long |
getTimestamp() |
byte[] |
getValue() |
int |
hashCode() |
boolean |
isSet(TColumnValue._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetFamily()
Returns true if field family is set (has been assigned a value) and false otherwise
|
boolean |
isSetQualifier()
Returns true if field qualifier is set (has been assigned a value) and false otherwise
|
boolean |
isSetTags()
Returns true if field tags 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
|
boolean |
isSetValue()
Returns true if field value is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
TColumnValue |
setFamily(byte[] family) |
TColumnValue |
setFamily(ByteBuffer family) |
void |
setFamilyIsSet(boolean value) |
void |
setFieldValue(TColumnValue._Fields field,
Object value) |
TColumnValue |
setQualifier(byte[] qualifier) |
TColumnValue |
setQualifier(ByteBuffer qualifier) |
void |
setQualifierIsSet(boolean value) |
TColumnValue |
setTags(byte[] tags) |
TColumnValue |
setTags(ByteBuffer tags) |
void |
setTagsIsSet(boolean value) |
TColumnValue |
setTimestamp(long timestamp) |
void |
setTimestampIsSet(boolean value) |
TColumnValue |
setValue(byte[] value) |
TColumnValue |
setValue(ByteBuffer value) |
void |
setValueIsSet(boolean value) |
String |
toString() |
void |
unsetFamily() |
void |
unsetQualifier() |
void |
unsetTags() |
void |
unsetTimestamp() |
void |
unsetValue() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer family
public ByteBuffer qualifier
public ByteBuffer value
public long timestamp
public ByteBuffer tags
public static final Map<TColumnValue._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TColumnValue()
public TColumnValue(ByteBuffer family, ByteBuffer qualifier, ByteBuffer value)
public TColumnValue(TColumnValue other)
public TColumnValue deepCopy()
public void clear()
public byte[] getFamily()
public ByteBuffer bufferForFamily()
public TColumnValue setFamily(byte[] family)
public TColumnValue setFamily(ByteBuffer family)
public void unsetFamily()
public boolean isSetFamily()
public void setFamilyIsSet(boolean value)
public byte[] getQualifier()
public ByteBuffer bufferForQualifier()
public TColumnValue setQualifier(byte[] qualifier)
public TColumnValue setQualifier(ByteBuffer qualifier)
public void unsetQualifier()
public boolean isSetQualifier()
public void setQualifierIsSet(boolean value)
public byte[] getValue()
public ByteBuffer bufferForValue()
public TColumnValue setValue(byte[] value)
public TColumnValue setValue(ByteBuffer value)
public void unsetValue()
public boolean isSetValue()
public void setValueIsSet(boolean value)
public long getTimestamp()
public TColumnValue setTimestamp(long timestamp)
public void unsetTimestamp()
public boolean isSetTimestamp()
public void setTimestampIsSet(boolean value)
public byte[] getTags()
public ByteBuffer bufferForTags()
public TColumnValue setTags(byte[] tags)
public TColumnValue setTags(ByteBuffer tags)
public void unsetTags()
public boolean isSetTags()
public void setTagsIsSet(boolean value)
public void setFieldValue(TColumnValue._Fields field, Object value)
public Object getFieldValue(TColumnValue._Fields field)
public boolean isSet(TColumnValue._Fields field)
public boolean equals(TColumnValue that)
public int compareTo(TColumnValue other)
compareTo
in interface Comparable<TColumnValue>
public TColumnValue._Fields fieldForId(int fieldId)
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException