@InterfaceAudience.Private public class SizeCachedNoTagsByteBufferKeyValue extends NoTagsByteBufferKeyValue
ByteBufferExtendedCell where the data resides in off
heap/ on heap ByteBuffer| Modifier and Type | Field and Description |
|---|---|
static int |
FIXED_OVERHEAD |
private int |
keyLen |
private short |
rowLen |
buf, length, offsetCELL_NOT_BASED_ON_CHUNKMAX_TAGS_LENGTH| Constructor and Description |
|---|
SizeCachedNoTagsByteBufferKeyValue(ByteBuffer buf,
int offset,
int length,
long seqId,
int keyLen) |
SizeCachedNoTagsByteBufferKeyValue(ByteBuffer buf,
int offset,
int length,
long seqId,
int keyLen,
short rowLen) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other)
Needed doing 'contains' on List.
|
int |
getKeyLength() |
short |
getRowLength()
Returns Number of row bytes.
|
int |
hashCode()
In line with
ByteBufferKeyValue.equals(Object), only uses the key portion, not the value. |
long |
heapSize()
Return the approximate 'exclusive deep size' of implementing object.
|
deepClone, getSerializedSize, getTagsArray, getTagsLengthgetBuffer, getFamilyArray, getFamilyByteBuffer, getFamilyLength, getFamilyLength, getFamilyLengthPosition, getFamilyLengthPosition, getFamilyOffset, getFamilyPosition, getFamilyPosition, getOffset, getQualifierArray, getQualifierByteBuffer, getQualifierLength, getQualifierLength, getQualifierOffset, getQualifierPosition, getQualifierPosition, getRowArray, getRowByteBuffer, getRowOffset, getRowPosition, getSequenceId, getSerializedSize, getTagsByteBuffer, getTagsOffset, getTagsPosition, getTimestamp, getTimestamp, getTypeByte, getTypeByte, getValueArray, getValueByteBuffer, getValueLength, getValueOffset, getValuePosition, setSequenceId, setTimestamp, setTimestamp, toString, write, writeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetChunkIdcheckForTagsLength, cloneTags, createCell, getTag, getTagspublic static final int FIXED_OVERHEAD
private short rowLen
private int keyLen
public SizeCachedNoTagsByteBufferKeyValue(ByteBuffer buf, int offset, int length, long seqId, int keyLen)
public SizeCachedNoTagsByteBufferKeyValue(ByteBuffer buf, int offset, int length, long seqId, int keyLen, short rowLen)
public short getRowLength()
CellgetRowLength in interface CellgetRowLength in class ByteBufferKeyValuepublic int getKeyLength()
getKeyLength in class ByteBufferKeyValuepublic long heapSize()
HeapSizeheapSize in interface HeapSizeheapSize in class ByteBufferKeyValuepublic boolean equals(Object other)
ByteBufferKeyValueequals in class ByteBufferKeyValuepublic int hashCode()
ByteBufferKeyValueByteBufferKeyValue.equals(Object), only uses the key portion, not the value.hashCode in class ByteBufferKeyValueCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.