Package org.apache.hadoop.hbase
Class PrivateCellUtil.LastOnRowByteBufferExtendedCell
java.lang.Object
org.apache.hadoop.hbase.ByteBufferExtendedCell
org.apache.hadoop.hbase.PrivateCellUtil.EmptyByteBufferExtendedCell
org.apache.hadoop.hbase.PrivateCellUtil.LastOnRowByteBufferExtendedCell
- All Implemented Interfaces:
Cell
,ExtendedCell
,HeapSize
,RawCell
- Direct Known Subclasses:
PrivateCellUtil.LastOnRowColByteBufferExtendedCell
- Enclosing class:
- PrivateCellUtil
private static class PrivateCellUtil.LastOnRowByteBufferExtendedCell
extends PrivateCellUtil.EmptyByteBufferExtendedCell
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private final short
private final int
private final ByteBuffer
Fields inherited from interface org.apache.hadoop.hbase.ExtendedCell
CELL_NOT_BASED_ON_CHUNK
Fields inherited from interface org.apache.hadoop.hbase.RawCell
MAX_TAGS_LENGTH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns TheByteBuffer
containing the row bytes.short
Returns Number of row bytes.int
Returns Position in theByteBuffer
where row bytes startlong
Return a long value representing time at which this cell was "Put" into the row.getType()
Typically, at server side, you'd better always use theExtendedCell.getTypeByte()
as this method does not expose theMaximum
andMinimum
because they will not be returned to client, but at server side, we do have cells with these types so if you use this method it will cause exceptions.byte
Returns The byte representation of the KeyValue.TYPE of this cell: one of Put, Delete, etclong
heapSize()
Return the approximate 'exclusive deep size' of implementing object.Methods inherited from class org.apache.hadoop.hbase.PrivateCellUtil.EmptyByteBufferExtendedCell
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.hadoop.hbase.ExtendedCell
deepClone, getChunkId, getSerializedSize, getSerializedSize, write, write
-
Field Details
-
FIXED_OVERHEAD
-
rowBuff
-
roffset
-
rlength
-
-
Constructor Details
-
LastOnRowByteBufferExtendedCell
-
-
Method Details
-
heapSize
Description copied from interface:HeapSize
Return the approximate 'exclusive deep size' of implementing object. Includes count of payload and hosting object sizings. -
getRowByteBuffer
Description copied from class:ByteBufferExtendedCell
Returns TheByteBuffer
containing the row bytes.- Overrides:
getRowByteBuffer
in classPrivateCellUtil.EmptyByteBufferExtendedCell
-
getRowPosition
Description copied from class:ByteBufferExtendedCell
Returns Position in theByteBuffer
where row bytes start- Overrides:
getRowPosition
in classPrivateCellUtil.EmptyByteBufferExtendedCell
-
getRowLength
Description copied from interface:Cell
Returns Number of row bytes. Must be < rowArray.length - offset.- Specified by:
getRowLength
in interfaceCell
- Overrides:
getRowLength
in classPrivateCellUtil.EmptyByteBufferExtendedCell
-
getTimestamp
Description copied from interface:Cell
Return a long value representing time at which this cell was "Put" into the row. Typically represents the time of insertion, but can be any value from 0 to Long.MAX_VALUE. -
getTypeByte
Description copied from interface:ExtendedCell
Returns The byte representation of the KeyValue.TYPE of this cell: one of Put, Delete, etc -
getType
Description copied from interface:ExtendedCell
Typically, at server side, you'd better always use theExtendedCell.getTypeByte()
as this method does not expose theMaximum
andMinimum
because they will not be returned to client, but at server side, we do have cells with these types so if you use this method it will cause exceptions.- Returns:
- The data type this cell: one of Put, Delete, etc
-