private static class PrivateCellUtil.LastOnRowByteBufferExtendedCell extends PrivateCellUtil.EmptyByteBufferExtendedCell
Modifier and Type | Field and Description |
---|---|
private static int |
FIXED_OVERHEAD |
private short |
rlength |
private int |
roffset |
private ByteBuffer |
rowBuff |
CELL_NOT_BASED_ON_CHUNK
MAX_TAGS_LENGTH
Constructor and Description |
---|
LastOnRowByteBufferExtendedCell(ByteBuffer row,
int roffset,
short rlength) |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
getRowByteBuffer() |
short |
getRowLength() |
int |
getRowPosition() |
long |
getTimestamp() |
Cell.Type |
getType()
Returns the type of cell in a human readable format using
Cell.Type . |
byte |
getTypeByte() |
long |
heapSize() |
getFamilyArray, getFamilyByteBuffer, getFamilyLength, getFamilyOffset, getFamilyPosition, getQualifierArray, getQualifierByteBuffer, getQualifierLength, getQualifierOffset, getQualifierPosition, getRowArray, getRowOffset, getSequenceId, getTagsArray, getTagsByteBuffer, getTagsLength, getTagsOffset, getTagsPosition, getValueArray, getValueByteBuffer, getValueLength, getValueOffset, getValuePosition, setSequenceId, setTimestamp, setTimestamp
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deepClone, getChunkId, getSerializedSize, getSerializedSize, write, write
checkForTagsLength, cloneTags, getTag, getTags
private static final int FIXED_OVERHEAD
private final ByteBuffer rowBuff
private final int roffset
private final short rlength
public LastOnRowByteBufferExtendedCell(ByteBuffer row, int roffset, short rlength)
public long heapSize()
public ByteBuffer getRowByteBuffer()
getRowByteBuffer
in class PrivateCellUtil.EmptyByteBufferExtendedCell
ByteBuffer
containing the row bytes.public int getRowPosition()
getRowPosition
in class PrivateCellUtil.EmptyByteBufferExtendedCell
ByteBuffer
where row bytes startpublic short getRowLength()
getRowLength
in interface Cell
getRowLength
in class PrivateCellUtil.EmptyByteBufferExtendedCell
public long getTimestamp()
public byte getTypeByte()
public Cell.Type getType()
Cell
Cell.Type
.
Note : This does not expose the internal types of Cells like KeyValue.Type.Maximum
and
KeyValue.Type.Minimum
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.