@InterfaceAudience.Private public class IndividualBytesFieldCell extends Object implements ExtendedCell, Cloneable
CELL_NOT_BASED_ON_CHUNKMAX_TAGS_LENGTH| 构造器和说明 |
|---|
IndividualBytesFieldCell(byte[] row,
byte[] family,
byte[] qualifier,
long timestamp,
KeyValue.Type type,
byte[] value) |
IndividualBytesFieldCell(byte[] row,
byte[] family,
byte[] qualifier,
long timestamp,
KeyValue.Type type,
long seqId,
byte[] value,
byte[] tags) |
IndividualBytesFieldCell(byte[] row,
int rOffset,
int rLength,
byte[] family,
int fOffset,
int fLength,
byte[] qualifier,
int qOffset,
int qLength,
long timestamp,
KeyValue.Type type,
long seqId,
byte[] value,
int vOffset,
int vLength,
byte[] tags,
int tagsOffset,
int tagsLength) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
clone()
Implement Cloneable interface
|
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()
Implement Cell interface
|
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() |
long |
getTimestamp() |
byte |
getTypeByte() |
byte[] |
getValueArray()
Contiguous raw bytes that may start at any index in the containing array.
|
int |
getValueLength() |
int |
getValueOffset() |
long |
heapSize()
Implement HeapSize interface
|
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.
|
String |
toString() |
deepClone, getChunkId, getSerializedSize, getSerializedSize, write, writecheckForTagsLength, cloneTags, getTag, getTagspublic IndividualBytesFieldCell(byte[] row,
byte[] family,
byte[] qualifier,
long timestamp,
KeyValue.Type type,
byte[] value)
public IndividualBytesFieldCell(byte[] row,
byte[] family,
byte[] qualifier,
long timestamp,
KeyValue.Type type,
long seqId,
byte[] value,
byte[] tags)
public IndividualBytesFieldCell(byte[] row,
int rOffset,
int rLength,
byte[] family,
int fOffset,
int fLength,
byte[] qualifier,
int qOffset,
int qLength,
long timestamp,
KeyValue.Type type,
long seqId,
byte[] value,
int vOffset,
int vLength,
byte[] tags,
int tagsOffset,
int tagsLength)
public byte[] getRowArray()
getRowArray 在接口中 Cellpublic int getRowOffset()
getRowOffset 在接口中 Cellpublic short getRowLength()
getRowLength 在接口中 Cellpublic byte[] getFamilyArray()
CellgetFamilyArray 在接口中 Cellpublic int getFamilyOffset()
getFamilyOffset 在接口中 Cellpublic byte getFamilyLength()
getFamilyLength 在接口中 Cellpublic byte[] getQualifierArray()
CellgetQualifierArray 在接口中 Cellpublic int getQualifierOffset()
getQualifierOffset 在接口中 Cellpublic int getQualifierLength()
getQualifierLength 在接口中 Cellpublic long getTimestamp()
getTimestamp 在接口中 Cellpublic byte getTypeByte()
getTypeByte 在接口中 CellgetTypeByte 在接口中 ExtendedCellpublic 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 在接口中 CellgetSequenceId 在接口中 ExtendedCellpublic byte[] getValueArray()
CellgetValueArray 在接口中 Cellpublic int getValueOffset()
getValueOffset 在接口中 Cellpublic int getValueLength()
getValueLength 在接口中 Cellpublic byte[] getTagsArray()
ExtendedCellgetTagsArray 在接口中 CellgetTagsArray 在接口中 ExtendedCellpublic int getTagsOffset()
getTagsOffset 在接口中 CellgetTagsOffset 在接口中 ExtendedCellpublic int getTagsLength()
ExtendedCellgetTagsLength 在接口中 CellgetTagsLength 在接口中 ExtendedCellpublic long heapSize()
public Object clone() throws CloneNotSupportedException
clone 在类中 ObjectCloneNotSupportedExceptionpublic void setSequenceId(long seqId)
ExtendedCellsetSequenceId 在接口中 ExtendedCellseqId - sequence IDpublic void setTimestamp(long ts)
ExtendedCellsetTimestamp 在接口中 ExtendedCellts - timestamppublic void setTimestamp(byte[] ts)
ExtendedCellsetTimestamp 在接口中 ExtendedCellts - buffer containing the timestamp valueCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.