@InterfaceAudience.Private public class NoTagsByteBufferKeyValue extends ByteBufferKeyValue
buf, FIXED_OVERHEAD, length, offsetCELL_NOT_BASED_ON_CHUNKMAX_TAGS_LENGTH| 构造器和说明 |
|---|
NoTagsByteBufferKeyValue(ByteBuffer buf,
int offset,
int length) |
NoTagsByteBufferKeyValue(ByteBuffer buf,
int offset,
int length,
long seqId) |
| 限定符和类型 | 方法和说明 |
|---|---|
ExtendedCell |
deepClone()
Does a deep copy of the contents to a new memory area and returns it as a new cell.
|
int |
getSerializedSize(boolean withTags) |
byte[] |
getTagsArray()
Contiguous raw bytes representing tags that may start at any index in the containing array.
|
int |
getTagsLength()
HBase internally uses 2 bytes to store tags length in Cell.
|
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, writegetChunkIdcheckForTagsLength, cloneTags, getTag, getTagspublic NoTagsByteBufferKeyValue(ByteBuffer buf, int offset, int length)
public NoTagsByteBufferKeyValue(ByteBuffer buf, int offset, int length, long seqId)
public byte[] getTagsArray()
ExtendedCellgetTagsArray 在接口中 CellgetTagsArray 在接口中 ExtendedCellgetTagsArray 在类中 ByteBufferKeyValuepublic int getTagsLength()
ExtendedCellgetTagsLength 在接口中 CellgetTagsLength 在接口中 ExtendedCellgetTagsLength 在类中 ByteBufferKeyValuepublic int getSerializedSize(boolean withTags)
getSerializedSize 在接口中 ExtendedCellgetSerializedSize 在类中 ByteBufferKeyValuewithTags - Whether to write tags.KeyValue format.
<4 bytes keylength> <4 bytes valuelength> <2 bytes rowlength>
<row> <1 byte columnfamilylength> <columnfamily> <columnqualifier>
<8 bytes timestamp> <1 byte keytype> <value> <2 bytes tagslength>
<tags>public ExtendedCell deepClone()
ExtendedCelldeepClone 在接口中 ExtendedCelldeepClone 在类中 ByteBufferKeyValueCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.