Class ByteBufferChunkKeyValue
java.lang.Object
org.apache.hadoop.hbase.ByteBufferExtendedCell
org.apache.hadoop.hbase.ByteBufferKeyValue
org.apache.hadoop.hbase.regionserver.ByteBufferChunkKeyValue
- All Implemented Interfaces:
Cell
,ExtendedCell
,HeapSize
,RawCell
ByteBuffer based cell which has the chunkid at the 0th offset
- 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
ConstructorDescriptionByteBufferChunkKeyValue
(ByteBuffer buf, int offset, int length) ByteBufferChunkKeyValue
(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.ByteBufferKeyValue
deepClone, equals, getBuffer, getFamilyArray, getFamilyByteBuffer, getFamilyLength, getFamilyOffset, getFamilyPosition, getFamilyPosition, getOffset, getQualifierArray, getQualifierByteBuffer, getQualifierLength, getQualifierOffset, getQualifierPosition, getRowArray, getRowByteBuffer, getRowLength, getRowOffset, getRowPosition, getSequenceId, getSerializedSize, getSerializedSize, getTagsArray, getTagsByteBuffer, getTagsLength, getTagsOffset, getTagsPosition, getTimestamp, getTypeByte, getValueArray, getValueByteBuffer, getValueLength, getValueOffset, getValuePosition, hashCode, heapSize, setSequenceId, setTimestamp, setTimestamp, toString, write, write
-
Constructor Details
-
ByteBufferChunkKeyValue
-
ByteBufferChunkKeyValue
-
-
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.
-