private abstract static class PrivateCellUtil.EmptyByteBufferExtendedCell extends ByteBufferExtendedCell
CELL_NOT_BASED_ON_CHUNKMAX_TAGS_LENGTH| Modifier | Constructor and Description |
|---|---|
private |
EmptyByteBufferExtendedCell() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getFamilyArray()
Contiguous bytes composed of legal HDFS filename characters which may start at any index in the
containing array.
|
ByteBuffer |
getFamilyByteBuffer()
Returns The
ByteBuffer containing the column family bytes. |
byte |
getFamilyLength()
Returns Number of family bytes.
|
int |
getFamilyOffset()
Returns Array index of first family byte
|
int |
getFamilyPosition()
Returns Position in the
ByteBuffer where column family bytes start |
byte[] |
getQualifierArray()
Contiguous raw bytes that may start at any index in the containing array.
|
ByteBuffer |
getQualifierByteBuffer()
Returns The
ByteBuffer containing the column qualifier bytes. |
int |
getQualifierLength()
Returns Number of qualifier bytes.
|
int |
getQualifierOffset()
Returns Array index of first qualifier byte
|
int |
getQualifierPosition()
Returns Position in the
ByteBuffer where column qualifier bytes start |
byte[] |
getRowArray()
Contiguous raw bytes that may start at any index in the containing array.
|
ByteBuffer |
getRowByteBuffer()
Returns The
ByteBuffer containing the row bytes. |
short |
getRowLength()
Returns Number of row bytes.
|
int |
getRowOffset()
Returns Array index of first row byte
|
int |
getRowPosition()
Returns Position in the
ByteBuffer where row bytes start |
long |
getSequenceId()
A region-specific unique monotonically increasing sequence ID given to each Cell.
|
byte[] |
getTagsArray()
Contiguous raw bytes representing tags that may start at any index in the containing array.
|
ByteBuffer |
getTagsByteBuffer()
Returns The
ByteBuffer containing the tag bytes. |
int |
getTagsLength()
HBase internally uses 2 bytes to store tags length in Cell.
|
int |
getTagsOffset()
Returns the first offset where the tags start in the Cell
|
int |
getTagsPosition()
Returns Position in the
ByteBuffer where tag bytes start |
byte[] |
getValueArray()
Contiguous raw bytes that may start at any index in the containing array.
|
ByteBuffer |
getValueByteBuffer()
Returns The
ByteBuffer containing the value bytes. |
int |
getValueLength()
Returns Number of value bytes.
|
int |
getValueOffset()
Returns Array index of first value byte
|
int |
getValuePosition()
Returns Position in the
ByteBuffer where value bytes start |
void |
setSequenceId(long seqId)
Sets with the given seqId.
|
void |
setTimestamp(byte[] ts)
Sets with the given timestamp.
|
void |
setTimestamp(long ts)
Sets with the given timestamp.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeepClone, getChunkId, getSerializedSize, getSerializedSize, getTypeByte, write, writecheckForTagsLength, cloneTags, createCell, getTag, getTagsgetTimestamp, getTypeprivate EmptyByteBufferExtendedCell()
public void setSequenceId(long seqId)
ExtendedCellseqId - sequence IDpublic void setTimestamp(long ts)
ExtendedCellts - timestamppublic void setTimestamp(byte[] ts)
ExtendedCellts - buffer containing the timestamp valuepublic byte[] getRowArray()
Cellpublic int getRowOffset()
Cellpublic short getRowLength()
Cellpublic byte[] getFamilyArray()
Cellpublic int getFamilyOffset()
Cellpublic byte getFamilyLength()
Cellpublic byte[] getQualifierArray()
Cellpublic int getQualifierOffset()
Cellpublic int getQualifierLength()
Cellpublic long getSequenceId()
ExtendedCellHConstants.KEEP_SEQID_PERIOD days, but generally becomes irrelevant after the cell's
row is no longer involved in any operations that require strict consistency.public byte[] getValueArray()
Cellpublic int getValueOffset()
Cellpublic int getValueLength()
Cellpublic byte[] getTagsArray()
ExtendedCellpublic int getTagsOffset()
ExtendedCellpublic int getTagsLength()
ExtendedCellpublic ByteBuffer getRowByteBuffer()
ByteBufferExtendedCellByteBuffer containing the row bytes.getRowByteBuffer in class ByteBufferExtendedCellpublic int getRowPosition()
ByteBufferExtendedCellByteBuffer where row bytes startgetRowPosition in class ByteBufferExtendedCellpublic ByteBuffer getFamilyByteBuffer()
ByteBufferExtendedCellByteBuffer containing the column family bytes.getFamilyByteBuffer in class ByteBufferExtendedCellpublic int getFamilyPosition()
ByteBufferExtendedCellByteBuffer where column family bytes startgetFamilyPosition in class ByteBufferExtendedCellpublic ByteBuffer getQualifierByteBuffer()
ByteBufferExtendedCellByteBuffer containing the column qualifier bytes.getQualifierByteBuffer in class ByteBufferExtendedCellpublic int getQualifierPosition()
ByteBufferExtendedCellByteBuffer where column qualifier bytes startgetQualifierPosition in class ByteBufferExtendedCellpublic ByteBuffer getTagsByteBuffer()
ByteBufferExtendedCellByteBuffer containing the tag bytes.getTagsByteBuffer in class ByteBufferExtendedCellpublic int getTagsPosition()
ByteBufferExtendedCellByteBuffer where tag bytes startgetTagsPosition in class ByteBufferExtendedCellpublic ByteBuffer getValueByteBuffer()
ByteBufferExtendedCellByteBuffer containing the value bytes.getValueByteBuffer in class ByteBufferExtendedCellpublic int getValuePosition()
ByteBufferExtendedCellByteBuffer where value bytes startgetValuePosition in class ByteBufferExtendedCellCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.