|
||||||||||
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.TColumn
public class TColumn
Nested Class Summary | |
---|---|
static class |
TColumn._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
ByteBuffer |
columnFamily
|
ByteBuffer |
columnQualifier
|
ByteBuffer |
columnVisibility
|
static Map<TColumn._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
Constructor Summary | |
---|---|
TColumn()
|
|
TColumn(ByteBuffer columnFamily,
ByteBuffer columnQualifier,
ByteBuffer columnVisibility)
|
|
TColumn(TColumn other)
Performs a deep copy on other. |
Method Summary | |
---|---|
ByteBuffer |
bufferForColumnFamily()
|
ByteBuffer |
bufferForColumnQualifier()
|
ByteBuffer |
bufferForColumnVisibility()
|
void |
clear()
|
int |
compareTo(TColumn other)
|
TColumn |
deepCopy()
|
boolean |
equals(Object that)
|
boolean |
equals(TColumn that)
|
TColumn._Fields |
fieldForId(int fieldId)
|
byte[] |
getColumnFamily()
|
byte[] |
getColumnQualifier()
|
byte[] |
getColumnVisibility()
|
Object |
getFieldValue(TColumn._Fields field)
|
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 |
isSetColumnFamily()
Returns true if field columnFamily is set (has been assigned a value) and false otherwise |
boolean |
isSetColumnQualifier()
Returns true if field columnQualifier is set (has been assigned a value) and false otherwise |
boolean |
isSetColumnVisibility()
Returns true if field columnVisibility is set (has been assigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
TColumn |
setColumnFamily(byte[] columnFamily)
|
TColumn |
setColumnFamily(ByteBuffer columnFamily)
|
void |
setColumnFamilyIsSet(boolean value)
|
TColumn |
setColumnQualifier(byte[] columnQualifier)
|
TColumn |
setColumnQualifier(ByteBuffer columnQualifier)
|
void |
setColumnQualifierIsSet(boolean value)
|
TColumn |
setColumnVisibility(byte[] columnVisibility)
|
TColumn |
setColumnVisibility(ByteBuffer columnVisibility)
|
void |
setColumnVisibilityIsSet(boolean value)
|
void |
setFieldValue(TColumn._Fields field,
Object value)
|
String |
toString()
|
void |
unsetColumnFamily()
|
void |
unsetColumnQualifier()
|
void |
unsetColumnVisibility()
|
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 columnFamily
public ByteBuffer columnQualifier
public ByteBuffer columnVisibility
public static final Map<TColumn._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public TColumn()
public TColumn(ByteBuffer columnFamily, ByteBuffer columnQualifier, ByteBuffer columnVisibility)
public TColumn(TColumn other)
Method Detail |
---|
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[] getColumnFamily()
public ByteBuffer bufferForColumnFamily()
public TColumn setColumnFamily(byte[] columnFamily)
public TColumn setColumnFamily(ByteBuffer columnFamily)
public void unsetColumnFamily()
public boolean isSetColumnFamily()
public void setColumnFamilyIsSet(boolean value)
public byte[] getColumnQualifier()
public ByteBuffer bufferForColumnQualifier()
public TColumn setColumnQualifier(byte[] columnQualifier)
public TColumn setColumnQualifier(ByteBuffer columnQualifier)
public void unsetColumnQualifier()
public boolean isSetColumnQualifier()
public void setColumnQualifierIsSet(boolean value)
public byte[] getColumnVisibility()
public ByteBuffer bufferForColumnVisibility()
public TColumn setColumnVisibility(byte[] columnVisibility)
public TColumn setColumnVisibility(ByteBuffer columnVisibility)
public void unsetColumnVisibility()
public boolean isSetColumnVisibility()
public void setColumnVisibilityIsSet(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(Object that)
equals
in class Object
public boolean equals(TColumn that)
public int hashCode()
hashCode
in class Object
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 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 |