Package org.apache.hadoop.hbase
Class PrivateCellUtil.FirstOnRowColByteBufferExtendedCell
java.lang.Object
org.apache.hadoop.hbase.ByteBufferExtendedCell
org.apache.hadoop.hbase.PrivateCellUtil.EmptyByteBufferExtendedCell
org.apache.hadoop.hbase.PrivateCellUtil.FirstOnRowByteBufferExtendedCell
org.apache.hadoop.hbase.PrivateCellUtil.FirstOnRowColByteBufferExtendedCell
- All Implemented Interfaces:
Cell
,ExtendedCell
,HeapSize
,RawCell
- Direct Known Subclasses:
PrivateCellUtil.FirstOnRowColTSByteBufferExtendedCell
- Enclosing class:
- PrivateCellUtil
private static class PrivateCellUtil.FirstOnRowColByteBufferExtendedCell
extends PrivateCellUtil.FirstOnRowByteBufferExtendedCell
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ByteBuffer
private final int
private final int
private final ByteBuffer
private final byte
private final int
private static final int
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
ConstructorDescriptionFirstOnRowColByteBufferExtendedCell
(ByteBuffer row, int roffset, short rlength, ByteBuffer famBuff, int famOffset, byte famLength, ByteBuffer col, int colOffset, int colLength) -
Method Summary
Modifier and TypeMethodDescriptionReturns TheByteBuffer
containing the column family bytes.byte
Returns Number of family bytes.int
Returns Position in theByteBuffer
where column family bytes startReturns TheByteBuffer
containing the column qualifier bytes.int
Returns Number of qualifier bytes.int
Returns Position in theByteBuffer
where column qualifier bytes startlong
heapSize()
Return the approximate 'exclusive deep size' of implementing object.Methods inherited from class org.apache.hadoop.hbase.PrivateCellUtil.FirstOnRowByteBufferExtendedCell
getRowByteBuffer, getRowLength, getRowPosition, getTimestamp, getType, getTypeByte
Methods inherited from class org.apache.hadoop.hbase.PrivateCellUtil.EmptyByteBufferExtendedCell
getFamilyArray, getFamilyOffset, getQualifierArray, getQualifierOffset, 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
-
famBuff
-
famOffset
-
famLength
-
colBuff
-
colOffset
-
colLength
-
-
Constructor Details
-
FirstOnRowColByteBufferExtendedCell
public FirstOnRowColByteBufferExtendedCell(ByteBuffer row, int roffset, short rlength, ByteBuffer famBuff, int famOffset, byte famLength, ByteBuffer col, int colOffset, int colLength)
-
-
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.- Specified by:
heapSize
in interfaceHeapSize
- Overrides:
heapSize
in classPrivateCellUtil.FirstOnRowByteBufferExtendedCell
-
getFamilyByteBuffer
Description copied from class:ByteBufferExtendedCell
Returns TheByteBuffer
containing the column family bytes.- Overrides:
getFamilyByteBuffer
in classPrivateCellUtil.EmptyByteBufferExtendedCell
-
getFamilyPosition
Description copied from class:ByteBufferExtendedCell
Returns Position in theByteBuffer
where column family bytes start- Overrides:
getFamilyPosition
in classPrivateCellUtil.EmptyByteBufferExtendedCell
-
getFamilyLength
Description copied from interface:Cell
Returns Number of family bytes. Must be < familyArray.length - offset.- Specified by:
getFamilyLength
in interfaceCell
- Overrides:
getFamilyLength
in classPrivateCellUtil.EmptyByteBufferExtendedCell
-
getQualifierByteBuffer
Description copied from class:ByteBufferExtendedCell
Returns TheByteBuffer
containing the column qualifier bytes.- Overrides:
getQualifierByteBuffer
in classPrivateCellUtil.EmptyByteBufferExtendedCell
-
getQualifierPosition
Description copied from class:ByteBufferExtendedCell
Returns Position in theByteBuffer
where column qualifier bytes start- Overrides:
getQualifierPosition
in classPrivateCellUtil.EmptyByteBufferExtendedCell
-
getQualifierLength
Description copied from interface:Cell
Returns Number of qualifier bytes. Must be < qualifierArray.length - offset.- Specified by:
getQualifierLength
in interfaceCell
- Overrides:
getQualifierLength
in classPrivateCellUtil.EmptyByteBufferExtendedCell
-