private static class PrivateCellUtil.FirstOnRowByteBufferExtendedCell 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_CHUNKMAX_TAGS_LENGTH| Constructor and Description |
|---|
FirstOnRowByteBufferExtendedCell(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, setTimestampclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeepClone, getChunkId, getSerializedSize, getSerializedSize, write, writecheckForTagsLength, cloneTags, getTag, getTagsprivate static final int FIXED_OVERHEAD
private final ByteBuffer rowBuff
private final int roffset
private final short rlength
public FirstOnRowByteBufferExtendedCell(ByteBuffer row, int roffset, short rlength)
public long heapSize()
public ByteBuffer getRowByteBuffer()
getRowByteBuffer in class PrivateCellUtil.EmptyByteBufferExtendedCellByteBuffer containing the row bytes.public int getRowPosition()
getRowPosition in class PrivateCellUtil.EmptyByteBufferExtendedCellByteBuffer where row bytes startpublic short getRowLength()
getRowLength in interface CellgetRowLength in class PrivateCellUtil.EmptyByteBufferExtendedCellpublic long getTimestamp()
public byte getTypeByte()
public Cell.Type getType()
CellCell.Type.
Note : This does not expose the internal types of Cells like KeyValue.Type.Maximum and
KeyValue.Type.MinimumCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.