@Generated(value="Autogenerated by Thrift Compiler (0.12.0)", date="2019-04-04") public class TColumnValue extends Object implements org.apache.thrift.TBase<TColumnValue,TColumnValue._Fields>, Serializable, Cloneable, Comparable<TColumnValue>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TColumnValue._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| 限定符和类型 | 字段和说明 |
|---|---|
ByteBuffer |
family |
static Map<TColumnValue._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ByteBuffer |
qualifier |
ByteBuffer |
tags |
long |
timestamp |
byte |
type |
ByteBuffer |
value |
| 构造器和说明 |
|---|
TColumnValue() |
TColumnValue(ByteBuffer family,
ByteBuffer qualifier,
ByteBuffer value) |
TColumnValue(TColumnValue other)
Performs a deep copy on other.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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 |
getType() |
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 |
isSetType()
Returns true if field type 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 |
setType(byte type) |
void |
setTypeIsSet(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 |
unsetType() |
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 byte type
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()
deepCopy 在接口中 org.apache.thrift.TBase<TColumnValue,TColumnValue._Fields>public void clear()
clear 在接口中 org.apache.thrift.TBase<TColumnValue,TColumnValue._Fields>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 byte getType()
public TColumnValue setType(byte type)
public void unsetType()
public boolean isSetType()
public void setTypeIsSet(boolean value)
public void setFieldValue(TColumnValue._Fields field, Object value)
setFieldValue 在接口中 org.apache.thrift.TBase<TColumnValue,TColumnValue._Fields>public Object getFieldValue(TColumnValue._Fields field)
getFieldValue 在接口中 org.apache.thrift.TBase<TColumnValue,TColumnValue._Fields>public boolean isSet(TColumnValue._Fields field)
isSet 在接口中 org.apache.thrift.TBase<TColumnValue,TColumnValue._Fields>public boolean equals(TColumnValue that)
public int compareTo(TColumnValue other)
compareTo 在接口中 Comparable<TColumnValue>public TColumnValue._Fields fieldForId(int fieldId)
fieldForId 在接口中 org.apache.thrift.TBase<TColumnValue,TColumnValue._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read 在接口中 org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write 在接口中 org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2019. All rights reserved.