|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@InterfaceAudience.Private @InterfaceStability.Evolving public interface Cell
The unit of storage in HBase consisting of the following fields:
1) row 2) column family 3) column qualifier 4) timestamp 5) type 6) MVCC version 7) valueUniqueness is determined by the combination of row, column family, column qualifier, timestamp, and type. The natural comparator will perform a bitwise comparison on row, column family, and column qualifier. Less intuitively, it will then treat the greater timestamp as the lesser value with the goal of sorting newer cells first. This interface does not include methods that allocate new byte[]'s such as those used in client or debugging code. These should be placed in a sub-interface or the
CellUtil
class.
Cell implements Comparable
Method Summary | |
---|---|
byte[] |
getFamilyArray()
Contiguous bytes composed of legal HDFS filename characters which may start at any index in the containing array. |
byte |
getFamilyLength()
|
int |
getFamilyOffset()
|
long |
getMvccVersion()
Internal use only. |
byte[] |
getQualifierArray()
Contiguous raw bytes that may start at any index in the containing array. |
int |
getQualifierLength()
|
int |
getQualifierOffset()
|
byte[] |
getRowArray()
Contiguous raw bytes that may start at any index in the containing array. |
short |
getRowLength()
|
int |
getRowOffset()
|
long |
getTimestamp()
|
byte |
getTypeByte()
|
byte[] |
getValueArray()
Contiguous raw bytes that may start at any index in the containing array. |
int |
getValueLength()
|
int |
getValueOffset()
|
Method Detail |
---|
byte[] getRowArray()
int getRowOffset()
short getRowLength()
byte[] getFamilyArray()
int getFamilyOffset()
byte getFamilyLength()
byte[] getQualifierArray()
int getQualifierOffset()
int getQualifierLength()
long getTimestamp()
byte getTypeByte()
long getMvccVersion()
byte[] getValueArray()
int getValueOffset()
int getValueLength()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |