@InterfaceAudience.Private public class ByteBufferChunkKeyValue extends ByteBufferKeyValue
MemStoreLAB
buf, FIXED_OVERHEAD, length, offset
CELL_NOT_BASED_ON_CHUNK
MAX_TAGS_LENGTH
Constructor and Description |
---|
ByteBufferChunkKeyValue(ByteBuffer buf,
int offset,
int length) |
ByteBufferChunkKeyValue(ByteBuffer buf,
int offset,
int length,
long seqId) |
Modifier and Type | Method and Description |
---|---|
int |
getChunkId()
Extracts the id of the backing bytebuffer of this cell if it was obtained from fixed sized
chunks as in case of MemstoreLAB
|
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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
checkForTagsLength, cloneTags, createCell, getTag, getTags
public ByteBufferChunkKeyValue(ByteBuffer buf, int offset, int length)
public ByteBufferChunkKeyValue(ByteBuffer buf, int offset, int length, long seqId)
public int getChunkId()
ExtendedCell
ExtendedCell.CELL_NOT_BASED_ON_CHUNK
; i.e. -1.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.