|
||||||||||
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 | |
---|---|
byte[] |
colFamily
|
byte[] |
colQualifier
|
byte[] |
colVisibility
|
static java.util.Map<TKey._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
byte[] |
row
|
long |
timestamp
|
Constructor Summary | |
---|---|
TKey()
|
|
TKey(byte[] row,
byte[] colFamily,
byte[] colQualifier,
byte[] colVisibility,
long timestamp)
|
|
TKey(TKey other)
Performs a deep copy on other. |
Method Summary | |
---|---|
TKey |
clone()
Deprecated. |
int |
compareTo(TKey other)
|
TKey |
deepCopy()
|
boolean |
equals(java.lang.Object that)
|
boolean |
equals(TKey that)
|
byte[] |
getColFamily()
|
byte[] |
getColQualifier()
|
byte[] |
getColVisibility()
|
java.lang.Object |
getFieldValue(int fieldId)
|
java.lang.Object |
getFieldValue(TKey._Fields field)
|
byte[] |
getRow()
|
long |
getTimestamp()
|
int |
hashCode()
|
boolean |
isSet(int fieldID)
|
boolean |
isSet(TKey._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise |
boolean |
isSetColFamily()
Returns true if field colFamily is set (has been asigned a value) and false otherwise |
boolean |
isSetColQualifier()
Returns true if field colQualifier is set (has been asigned a value) and false otherwise |
boolean |
isSetColVisibility()
Returns true if field colVisibility is set (has been asigned a value) and false otherwise |
boolean |
isSetRow()
Returns true if field row is set (has been asigned a value) and false otherwise |
boolean |
isSetTimestamp()
Returns true if field timestamp is set (has been asigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
TKey |
setColFamily(byte[] colFamily)
|
void |
setColFamilyIsSet(boolean value)
|
TKey |
setColQualifier(byte[] colQualifier)
|
void |
setColQualifierIsSet(boolean value)
|
TKey |
setColVisibility(byte[] colVisibility)
|
void |
setColVisibilityIsSet(boolean value)
|
void |
setFieldValue(int fieldID,
java.lang.Object value)
|
void |
setFieldValue(TKey._Fields field,
java.lang.Object value)
|
TKey |
setRow(byte[] row)
|
void |
setRowIsSet(boolean value)
|
TKey |
setTimestamp(long timestamp)
|
void |
setTimestampIsSet(boolean value)
|
java.lang.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 |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public byte[] row
public byte[] colFamily
public byte[] colQualifier
public byte[] colVisibility
public long timestamp
public static final java.util.Map<TKey._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public TKey()
public TKey(byte[] row, byte[] colFamily, byte[] colQualifier, byte[] colVisibility, long timestamp)
public TKey(TKey other)
Method Detail |
---|
public TKey deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TKey,TKey._Fields>
@Deprecated public TKey clone()
clone
in class java.lang.Object
public byte[] getRow()
public TKey setRow(byte[] row)
public void unsetRow()
public boolean isSetRow()
public void setRowIsSet(boolean value)
public byte[] getColFamily()
public TKey setColFamily(byte[] colFamily)
public void unsetColFamily()
public boolean isSetColFamily()
public void setColFamilyIsSet(boolean value)
public byte[] getColQualifier()
public TKey setColQualifier(byte[] colQualifier)
public void unsetColQualifier()
public boolean isSetColQualifier()
public void setColQualifierIsSet(boolean value)
public byte[] getColVisibility()
public TKey setColVisibility(byte[] 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, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<TKey,TKey._Fields>
public void setFieldValue(int fieldID, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<TKey,TKey._Fields>
public java.lang.Object getFieldValue(TKey._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TKey,TKey._Fields>
public java.lang.Object getFieldValue(int fieldId)
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 isSet(int fieldID)
isSet
in interface org.apache.thrift.TBase<TKey,TKey._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(TKey that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(TKey other)
compareTo
in interface java.lang.Comparable<TKey>
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 java.lang.String toString()
toString
in class java.lang.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 |