private abstract static class PrivateCellUtil.EmptyCell extends Object implements ExtendedCell
CELL_NOT_BASED_ON_CHUNKMAX_TAGS_LENGTH| Modifier | Constructor and Description |
|---|---|
private |
EmptyCell() |
| 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.
|
byte |
getFamilyLength() |
int |
getFamilyOffset() |
byte[] |
getQualifierArray()
Contiguous raw bytes that may start at any index in the containing array.
|
int |
getQualifierLength() |
int |
getQualifierOffset() |
byte[] |
getRowArray()
Contiguous raw bytes that may start at any index in the containing array.
|
short |
getRowLength() |
int |
getRowOffset() |
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.
|
int |
getTagsLength()
HBase internally uses 2 bytes to store tags length in Cell.
|
int |
getTagsOffset() |
byte[] |
getValueArray()
Contiguous raw bytes that may start at any index in the containing array.
|
int |
getValueLength() |
int |
getValueOffset() |
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, getTag, getTagsgetTimestamp, getTypeprivate EmptyCell()
public void setSequenceId(long seqId)
ExtendedCellsetSequenceId in interface ExtendedCellseqId - sequence IDpublic void setTimestamp(long ts)
ExtendedCellsetTimestamp in interface ExtendedCellts - timestamppublic void setTimestamp(byte[] ts)
ExtendedCellsetTimestamp in interface ExtendedCellts - buffer containing the timestamp valuepublic byte[] getRowArray()
CellgetRowArray in interface Cellpublic int getRowOffset()
getRowOffset in interface Cellpublic short getRowLength()
getRowLength in interface Cellpublic byte[] getFamilyArray()
CellgetFamilyArray in interface Cellpublic int getFamilyOffset()
getFamilyOffset in interface Cellpublic byte getFamilyLength()
getFamilyLength in interface Cellpublic byte[] getQualifierArray()
CellgetQualifierArray in interface Cellpublic int getQualifierOffset()
getQualifierOffset in interface Cellpublic int getQualifierLength()
getQualifierLength in interface 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.getSequenceId in interface CellgetSequenceId in interface ExtendedCellpublic byte[] getValueArray()
CellgetValueArray in interface Cellpublic int getValueOffset()
getValueOffset in interface Cellpublic int getValueLength()
getValueLength in interface Cellpublic byte[] getTagsArray()
ExtendedCellgetTagsArray in interface CellgetTagsArray in interface ExtendedCellpublic int getTagsOffset()
getTagsOffset in interface CellgetTagsOffset in interface ExtendedCellpublic int getTagsLength()
ExtendedCellgetTagsLength in interface CellgetTagsLength in interface ExtendedCellCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.