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, offsetFields inherited from interface org.apache.hadoop.hbase.ExtendedCell
CELL_NOT_BASED_ON_CHUNKFields inherited from interface org.apache.hadoop.hbase.RawCell
MAX_TAGS_LENGTH -
Constructor Summary
ConstructorsConstructorDescriptionNoTagByteBufferChunkKeyValue(ByteBuffer buf, int offset, int length) NoTagByteBufferChunkKeyValue(ByteBuffer buf, int offset, int length, long seqId) -
Method Summary
Modifier and TypeMethodDescriptionintExtracts 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, getTagsLengthMethods 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, writeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hadoop.hbase.ExtendedCell
getType
-
Constructor Details
-
NoTagByteBufferChunkKeyValue
-
NoTagByteBufferChunkKeyValue
-
-
Method Details
-
getChunkId
Description copied from interface:ExtendedCellExtracts 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.
-