Class NoTagByteBufferChunkKeyValue
java.lang.Object
org.apache.hadoop.hbase.ByteBufferExtendedCell
org.apache.hadoop.hbase.ByteBufferKeyValue
org.apache.hadoop.hbase.NoTagsByteBufferKeyValue
org.apache.hadoop.hbase.regionserver.NoTagByteBufferChunkKeyValue
- All Implemented Interfaces:
Cell
,ExtendedCell
,HeapSize
,RawCell
ByteBuffer based cell which has the chunkid at the 0th offset and with no tags
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.ByteBufferKeyValue
buf, FIXED_OVERHEAD, length, offset
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
ConstructorDescriptionNoTagByteBufferChunkKeyValue
(ByteBuffer buf, int offset, int length) NoTagByteBufferChunkKeyValue
(ByteBuffer buf, int offset, int length, long seqId) -
Method Summary
Modifier and TypeMethodDescriptionint
Extracts the id of the backing bytebuffer of this cell if it was obtained from fixed sized chunks as in case of MemstoreLABMethods inherited from class org.apache.hadoop.hbase.NoTagsByteBufferKeyValue
deepClone, getSerializedSize, getTagsArray, getTagsLength
Methods inherited from class org.apache.hadoop.hbase.ByteBufferKeyValue
equals, getBuffer, getFamilyArray, getFamilyByteBuffer, getFamilyLength, getFamilyOffset, getFamilyPosition, getFamilyPosition, getOffset, getQualifierArray, getQualifierByteBuffer, getQualifierLength, getQualifierOffset, getQualifierPosition, getRowArray, getRowByteBuffer, getRowLength, getRowOffset, getRowPosition, getSequenceId, getSerializedSize, getTagsByteBuffer, getTagsOffset, getTagsPosition, getTimestamp, getTypeByte, getValueArray, getValueByteBuffer, getValueLength, getValueOffset, getValuePosition, hashCode, heapSize, setSequenceId, setTimestamp, setTimestamp, toString, write, write
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.hadoop.hbase.ExtendedCell
getType
-
Constructor Details
-
NoTagByteBufferChunkKeyValue
-
NoTagByteBufferChunkKeyValue
-
-
Method Details
-
getChunkId
Description copied from interface:ExtendedCell
Extracts the id of the backing bytebuffer of this cell if it was obtained from fixed sized chunks as in case of MemstoreLAB- Returns:
- the chunk id if the cell is backed by fixed sized Chunks, else return
ExtendedCell.CELL_NOT_BASED_ON_CHUNK
; i.e. -1.
-