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()
Returns The
ByteBuffer containing the row bytes. |
short |
getRowLength()
Returns Number of row bytes.
|
int |
getRowPosition()
Returns Position in the
ByteBuffer where row bytes start |
long |
getTimestamp()
Return a long value representing time at which this cell was "Put" into the row.
|
Cell.Type |
getType()
Returns the type of cell in a human readable format using
Cell.Type. |
byte |
getTypeByte()
Returns The byte representation of the KeyValue.TYPE of this cell: one of Put, Delete, etc
|
long |
heapSize()
Return the approximate 'exclusive deep size' of implementing object.
|
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, createCell, 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()
HeapSizepublic ByteBuffer getRowByteBuffer()
ByteBufferExtendedCellByteBuffer containing the row bytes.getRowByteBuffer in class PrivateCellUtil.EmptyByteBufferExtendedCellpublic int getRowPosition()
ByteBufferExtendedCellByteBuffer where row bytes startgetRowPosition in class PrivateCellUtil.EmptyByteBufferExtendedCellpublic short getRowLength()
CellgetRowLength in interface CellgetRowLength in class PrivateCellUtil.EmptyByteBufferExtendedCellpublic long getTimestamp()
Cellpublic byte getTypeByte()
ExtendedCellpublic 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.