@InterfaceAudience.Private public class PrefixTreeCell extends Object implements Cell, SettableSequenceId, Comparable<Cell>
| Modifier and Type | Field and Description | 
|---|---|
| protected int | absoluteValueOffset | 
| protected byte[] | blockfields | 
| static KeyValue.Type | DEFAULT_TYPE | 
| protected byte[] | familyBuffer | 
| protected int | familyLength | 
| protected int | familyOffset | 
| protected boolean | includeMvccVersion | 
| protected Long | mvccVersion | 
| protected byte[] | qualifierBuffer | 
| protected int | qualifierLength | 
| protected int | qualifierOffset | 
| protected byte[] | rowBuffer | 
| protected int | rowLength | 
| protected byte[] | tagsBuffer | 
| protected int | tagsLength | 
| protected int | tagsOffset | 
| protected Long | timestamp | 
| protected KeyValue.Type | type | 
| static KeyValue.Type[] | TYPESstatic | 
| protected int | valueLength | 
| Constructor and Description | 
|---|
| PrefixTreeCell() | 
| Modifier and Type | Method and Description | 
|---|---|
| int | compareTo(Cell other) | 
| boolean | equals(Object obj) | 
| byte[] | getFamily()WARNING do not use, expensive. | 
| byte[] | getFamilyArray()Contiguous bytes composed of legal HDFS filename characters which may start at any index in the
 containing array. | 
| byte | getFamilyLength() | 
| int | getFamilyOffset() | 
| protected String | getKeyValueString()Need this separate method so we can call it from subclasses' toString() methods | 
| long | getMvccVersion() | 
| byte[] | getQualifier()WARNING do not use, expensive. | 
| byte[] | getQualifierArray()Contiguous raw bytes that may start at any index in the containing array. | 
| int | getQualifierLength() | 
| int | getQualifierOffset() | 
| byte[] | getRow()WARNING do not use, expensive. | 
| byte[] | getRowArray()Contiguous raw bytes that may start at any index in the containing array. | 
| short | getRowLength() | 
| int | getRowOffset() | 
| long | getSequenceId()A region-specific unique monotonically increasing sequence ID given to each Cell. | 
| byte[] | getTagsArray() | 
| int | getTagsLength() | 
| int | getTagsOffset() | 
| long | getTimestamp() | 
| byte | getTypeByte() | 
| byte[] | getValue()WARNING do not use, expensive. | 
| byte[] | getValueArray()Contiguous raw bytes that may start at any index in the containing array. | 
| int | getValueLength() | 
| int | getValueOffset() | 
| int | hashCode() | 
| void | setSequenceId(long seqId)Sets with the given seqId. | 
| String | toString()For debugging. | 
public static final KeyValue.Type[] TYPES
public static final KeyValue.Type DEFAULT_TYPE
protected byte[] block
protected boolean includeMvccVersion
protected byte[] rowBuffer
protected int rowLength
protected byte[] familyBuffer
protected int familyOffset
protected int familyLength
protected byte[] qualifierBuffer
protected int qualifierOffset
protected int qualifierLength
protected Long timestamp
protected Long mvccVersion
protected KeyValue.Type type
protected int absoluteValueOffset
protected int valueLength
protected byte[] tagsBuffer
protected int tagsOffset
protected int tagsLength
public String toString()
public int compareTo(Cell other)
compareTo in interface Comparable<Cell>public long getTimestamp()
getTimestamp in interface Cellpublic long getMvccVersion()
getMvccVersion in interface Cellpublic long getSequenceId()
CellHConstants.KEEP_SEQID_PERIOD days, but generally becomes irrelevant after the cell's
 row is no longer involved in any operations that require strict consistency.getSequenceId in interface Cellpublic int getValueLength()
getValueLength in interface Cellpublic byte[] getRowArray()
CellgetRowArray in interface Cellpublic int getRowOffset()
getRowOffset in interface Cellpublic short getRowLength()
getRowLength in interface Cellpublic byte[] getFamilyArray()
CellgetFamilyArray in interface Cellpublic int getFamilyOffset()
getFamilyOffset in interface Cellpublic byte getFamilyLength()
getFamilyLength in interface Cellpublic byte[] getQualifierArray()
CellgetQualifierArray in interface Cellpublic int getQualifierOffset()
getQualifierOffset in interface Cellpublic int getQualifierLength()
getQualifierLength in interface Cellpublic byte[] getValueArray()
CellgetValueArray in interface Cellpublic int getValueOffset()
getValueOffset in interface Cellpublic byte getTypeByte()
getTypeByte in interface Cellpublic byte[] getValue()
Cellpublic byte[] getFamily()
Cellpublic byte[] getQualifier()
CellgetQualifier in interface Cellpublic byte[] getRow()
Cellprotected String getKeyValueString()
public int getTagsOffset()
getTagsOffset in interface Cellpublic int getTagsLength()
getTagsLength in interface Cellpublic byte[] getTagsArray()
getTagsArray in interface Cellpublic void setSequenceId(long seqId)
SettableSequenceIdsetSequenceId in interface SettableSequenceIdCopyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.