private static class PrivateCellUtil.FirstOnRowCell extends PrivateCellUtil.EmptyCell
Modifier and Type | Field and Description |
---|---|
private static int |
FIXED_HEAPSIZE |
private short |
rlength |
private int |
roffset |
private byte[] |
rowArray |
CELL_NOT_BASED_ON_CHUNK
MAX_TAGS_LENGTH
Constructor and Description |
---|
FirstOnRowCell(byte[] row,
int roffset,
short rlength) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getRowArray()
Contiguous raw bytes that may start at any index in the containing array.
|
short |
getRowLength()
Returns Number of row bytes.
|
int |
getRowOffset()
Returns Array index of first row byte
|
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, getFamilyLength, getFamilyOffset, getQualifierArray, getQualifierLength, getQualifierOffset, getSequenceId, getTagsArray, getTagsLength, getTagsOffset, getValueArray, getValueLength, getValueOffset, setSequenceId, setTimestamp, setTimestamp
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deepClone, getChunkId, getSerializedSize, getSerializedSize, write, write
checkForTagsLength, cloneTags, createCell, getTag, getTags
private static final int FIXED_HEAPSIZE
private final byte[] rowArray
private final int roffset
private final short rlength
public FirstOnRowCell(byte[] row, int roffset, short rlength)
public long heapSize()
HeapSize
public byte[] getRowArray()
Cell
getRowArray
in interface Cell
getRowArray
in class PrivateCellUtil.EmptyCell
public int getRowOffset()
Cell
getRowOffset
in interface Cell
getRowOffset
in class PrivateCellUtil.EmptyCell
public short getRowLength()
Cell
getRowLength
in interface Cell
getRowLength
in class PrivateCellUtil.EmptyCell
public long getTimestamp()
Cell
public byte getTypeByte()
ExtendedCell
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–2020 The Apache Software Foundation. All rights reserved.