@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-05-25") public class TColumn extends Object implements org.apache.thrift.TBase<TColumn,TColumn._Fields>, Serializable, Cloneable, Comparable<TColumn>
Modifier and Type | Class and Description |
---|---|
static class |
TColumn._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<TColumn._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ByteBuffer |
qualifier |
long |
timestamp |
Constructor and Description |
---|
TColumn() |
TColumn(ByteBuffer family) |
TColumn(TColumn other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
bufferForFamily() |
ByteBuffer |
bufferForQualifier() |
void |
clear() |
int |
compareTo(TColumn other) |
TColumn |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TColumn that) |
TColumn._Fields |
fieldForId(int fieldId) |
byte[] |
getFamily() |
Object |
getFieldValue(TColumn._Fields field) |
byte[] |
getQualifier() |
long |
getTimestamp() |
int |
hashCode() |
boolean |
isSet(TColumn._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 |
isSetTimestamp()
Returns true if field timestamp is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
TColumn |
setFamily(byte[] family) |
TColumn |
setFamily(ByteBuffer family) |
void |
setFamilyIsSet(boolean value) |
void |
setFieldValue(TColumn._Fields field,
Object value) |
TColumn |
setQualifier(byte[] qualifier) |
TColumn |
setQualifier(ByteBuffer qualifier) |
void |
setQualifierIsSet(boolean value) |
TColumn |
setTimestamp(long timestamp) |
void |
setTimestampIsSet(boolean value) |
String |
toString() |
void |
unsetFamily() |
void |
unsetQualifier() |
void |
unsetTimestamp() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer family
public ByteBuffer qualifier
public long timestamp
public static final Map<TColumn._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TColumn()
public TColumn(ByteBuffer family)
public TColumn(TColumn other)
public TColumn deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TColumn,TColumn._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TColumn,TColumn._Fields>
public byte[] getFamily()
public ByteBuffer bufferForFamily()
public TColumn setFamily(byte[] family)
public TColumn setFamily(ByteBuffer family)
public void unsetFamily()
public boolean isSetFamily()
public void setFamilyIsSet(boolean value)
public byte[] getQualifier()
public ByteBuffer bufferForQualifier()
public TColumn setQualifier(byte[] qualifier)
public TColumn setQualifier(ByteBuffer qualifier)
public void unsetQualifier()
public boolean isSetQualifier()
public void setQualifierIsSet(boolean value)
public long getTimestamp()
public TColumn setTimestamp(long timestamp)
public void unsetTimestamp()
public boolean isSetTimestamp()
public void setTimestampIsSet(boolean value)
public void setFieldValue(TColumn._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TColumn,TColumn._Fields>
public Object getFieldValue(TColumn._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TColumn,TColumn._Fields>
public boolean isSet(TColumn._Fields field)
isSet
in interface org.apache.thrift.TBase<TColumn,TColumn._Fields>
public boolean equals(TColumn that)
public int compareTo(TColumn other)
compareTo
in interface Comparable<TColumn>
public TColumn._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TColumn,TColumn._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TColumn,TColumn._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<TColumn,TColumn._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2007–2019 Cloudera. All rights reserved.