|
||||||||||
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.TKey
public class TKey
Nested Class Summary | |
---|---|
static class |
TKey._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
ByteBuffer |
colFamily
|
ByteBuffer |
colQualifier
|
ByteBuffer |
colVisibility
|
static Map<TKey._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
ByteBuffer |
row
|
long |
timestamp
|
Constructor Summary | |
---|---|
TKey()
|
|
TKey(ByteBuffer row,
ByteBuffer colFamily,
ByteBuffer colQualifier,
ByteBuffer colVisibility,
long timestamp)
|
|
TKey(TKey other)
Performs a deep copy on other. |
Method Summary | |
---|---|
ByteBuffer |
bufferForColFamily()
|
ByteBuffer |
bufferForColQualifier()
|
ByteBuffer |
bufferForColVisibility()
|
ByteBuffer |
bufferForRow()
|
void |
clear()
|
int |
compareTo(TKey other)
|
TKey |
deepCopy()
|
boolean |
equals(Object that)
|
boolean |
equals(TKey that)
|
TKey._Fields |
fieldForId(int fieldId)
|
byte[] |
getColFamily()
|
byte[] |
getColQualifier()
|
byte[] |
getColVisibility()
|
Object |
getFieldValue(TKey._Fields field)
|
byte[] |
getRow()
|
long |
getTimestamp()
|
int |
hashCode()
|
boolean |
isSet(TKey._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetColFamily()
Returns true if field colFamily is set (has been assigned a value) and false otherwise |
boolean |
isSetColQualifier()
Returns true if field colQualifier is set (has been assigned a value) and false otherwise |
boolean |
isSetColVisibility()
Returns true if field colVisibility is set (has been assigned a value) and false otherwise |
boolean |
isSetRow()
Returns true if field row 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)
|
TKey |
setColFamily(byte[] colFamily)
|
TKey |
setColFamily(ByteBuffer colFamily)
|
void |
setColFamilyIsSet(boolean value)
|
TKey |
setColQualifier(byte[] colQualifier)
|
TKey |
setColQualifier(ByteBuffer colQualifier)
|
void |
setColQualifierIsSet(boolean value)
|
TKey |
setColVisibility(byte[] colVisibility)
|
TKey |
setColVisibility(ByteBuffer colVisibility)
|
void |
setColVisibilityIsSet(boolean value)
|
void |
setFieldValue(TKey._Fields field,
Object value)
|
TKey |
setRow(byte[] row)
|
TKey |
setRow(ByteBuffer row)
|
void |
setRowIsSet(boolean value)
|
TKey |
setTimestamp(long timestamp)
|
void |
setTimestampIsSet(boolean value)
|
String |
toString()
|
void |
unsetColFamily()
|
void |
unsetColQualifier()
|
void |
unsetColVisibility()
|
void |
unsetRow()
|
void |
unsetTimestamp()
|
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 row
public ByteBuffer colFamily
public ByteBuffer colQualifier
public ByteBuffer colVisibility
public long timestamp
public static final Map<TKey._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public TKey()
public TKey(ByteBuffer row, ByteBuffer colFamily, ByteBuffer colQualifier, ByteBuffer colVisibility, long timestamp)
public TKey(TKey other)
Method Detail |
---|
public TKey deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TKey,TKey._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TKey,TKey._Fields>
public byte[] getRow()
public ByteBuffer bufferForRow()
public TKey setRow(byte[] row)
public TKey setRow(ByteBuffer row)
public void unsetRow()
public boolean isSetRow()
public void setRowIsSet(boolean value)
public byte[] getColFamily()
public ByteBuffer bufferForColFamily()
public TKey setColFamily(byte[] colFamily)
public TKey setColFamily(ByteBuffer colFamily)
public void unsetColFamily()
public boolean isSetColFamily()
public void setColFamilyIsSet(boolean value)
public byte[] getColQualifier()
public ByteBuffer bufferForColQualifier()
public TKey setColQualifier(byte[] colQualifier)
public TKey setColQualifier(ByteBuffer colQualifier)
public void unsetColQualifier()
public boolean isSetColQualifier()
public void setColQualifierIsSet(boolean value)
public byte[] getColVisibility()
public ByteBuffer bufferForColVisibility()
public TKey setColVisibility(byte[] colVisibility)
public TKey setColVisibility(ByteBuffer colVisibility)
public void unsetColVisibility()
public boolean isSetColVisibility()
public void setColVisibilityIsSet(boolean value)
public long getTimestamp()
public TKey setTimestamp(long timestamp)
public void unsetTimestamp()
public boolean isSetTimestamp()
public void setTimestampIsSet(boolean value)
public void setFieldValue(TKey._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TKey,TKey._Fields>
public Object getFieldValue(TKey._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TKey,TKey._Fields>
public boolean isSet(TKey._Fields field)
isSet
in interface org.apache.thrift.TBase<TKey,TKey._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(TKey that)
public int hashCode()
hashCode
in class Object
public int compareTo(TKey other)
compareTo
in interface Comparable<TKey>
public TKey._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TKey,TKey._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TKey,TKey._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<TKey,TKey._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 |