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 SummaryFields inherited from class org.apache.hadoop.hbase.ByteBufferKeyValuebuf, FIXED_OVERHEAD, length, offsetFields inherited from interface org.apache.hadoop.hbase.ExtendedCellCELL_NOT_BASED_ON_CHUNKFields inherited from interface org.apache.hadoop.hbase.RawCellMAX_TAGS_LENGTH
- 
Constructor SummaryConstructorsConstructorDescriptionByteBufferChunkKeyValue(ByteBuffer buf, int offset, int length) ByteBufferChunkKeyValue(ByteBuffer buf, int offset, int length, long seqId) 
- 
Method SummaryModifier 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.ByteBufferKeyValuedeepClone, 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, writeMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hadoop.hbase.ExtendedCellgetType
- 
Constructor Details- 
ByteBufferChunkKeyValue
- 
ByteBufferChunkKeyValue
 
- 
- 
Method Details- 
getChunkIdDescription 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.
 
 
-