@InterfaceAudience.Private public class PrefixTreeCell extends ByteBufferCell implements SettableSequenceId, Comparable<Cell>
Modifier and Type | Field and Description |
---|---|
protected int |
absoluteValueOffset |
protected ByteBuff |
block
fields
|
protected CellComparator |
comparator |
static KeyValue.Type |
DEFAULT_TYPE |
protected byte[] |
familyBuffer |
protected int |
familyLength |
protected int |
familyOffset |
protected boolean |
includeMvccVersion |
protected Long |
mvccVersion |
protected ObjectIntPair<ByteBuffer> |
pair |
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[] |
TYPES
static
|
protected int |
valueLength |
Constructor and Description |
---|
PrefixTreeCell() |
protected CellComparator comparator
public static final KeyValue.Type[] TYPES
public static final KeyValue.Type DEFAULT_TYPE
protected ByteBuff 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
protected ObjectIntPair<ByteBuffer> pair
public String toString()
public int compareTo(Cell other)
compareTo
in interface Comparable<Cell>
public long getTimestamp()
getTimestamp
in interface Cell
public long getSequenceId()
getSequenceId
in interface Cell
public int getValueLength()
getValueLength
in interface Cell
public byte[] getRowArray()
getRowArray
in interface Cell
public int getRowOffset()
getRowOffset
in interface Cell
public short getRowLength()
getRowLength
in interface Cell
public byte[] getFamilyArray()
getFamilyArray
in interface Cell
public int getFamilyOffset()
getFamilyOffset
in interface Cell
public byte getFamilyLength()
getFamilyLength
in interface Cell
public byte[] getQualifierArray()
getQualifierArray
in interface Cell
public int getQualifierOffset()
getQualifierOffset
in interface Cell
public int getQualifierLength()
getQualifierLength
in interface Cell
public byte[] getValueArray()
getValueArray
in interface Cell
public int getValueOffset()
getValueOffset
in interface Cell
public byte getTypeByte()
getTypeByte
in interface Cell
protected String getKeyValueString()
public int getTagsOffset()
getTagsOffset
in interface Cell
public int getTagsLength()
getTagsLength
in interface Cell
public byte[] getTagsArray()
getTagsArray
in interface Cell
public void setSequenceId(long seqId)
setSequenceId
in interface SettableSequenceId
public ByteBuffer getRowByteBuffer()
getRowByteBuffer
in class ByteBufferCell
public int getRowPosition()
getRowPosition
in class ByteBufferCell
public ByteBuffer getFamilyByteBuffer()
getFamilyByteBuffer
in class ByteBufferCell
public int getFamilyPosition()
getFamilyPosition
in class ByteBufferCell
public ByteBuffer getQualifierByteBuffer()
getQualifierByteBuffer
in class ByteBufferCell
public int getQualifierPosition()
getQualifierPosition
in class ByteBufferCell
public ByteBuffer getValueByteBuffer()
getValueByteBuffer
in class ByteBufferCell
public int getValuePosition()
getValuePosition
in class ByteBufferCell
public ByteBuffer getTagsByteBuffer()
getTagsByteBuffer
in class ByteBufferCell
public int getTagsPosition()
getTagsPosition
in class ByteBufferCell
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.