@InterfaceAudience.Private public class TagRewriteCell extends Object implements Cell, SettableSequenceId, SettableTimestamp, HeapSize
| 构造器和说明 |
|---|
TagRewriteCell(Cell cell,
byte[] tags) |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
getFamily()
已过时。
|
byte[] |
getFamilyArray() |
byte |
getFamilyLength() |
int |
getFamilyOffset() |
long |
getMvccVersion()
已过时。
|
byte[] |
getQualifier()
已过时。
|
byte[] |
getQualifierArray() |
int |
getQualifierLength() |
int |
getQualifierOffset() |
byte[] |
getRow()
已过时。
|
byte[] |
getRowArray() |
short |
getRowLength() |
int |
getRowOffset() |
long |
getSequenceId() |
byte[] |
getTagsArray() |
int |
getTagsLength() |
int |
getTagsOffset() |
long |
getTimestamp() |
byte |
getTypeByte() |
byte[] |
getValue()
已过时。
|
byte[] |
getValueArray() |
int |
getValueLength() |
int |
getValueOffset() |
long |
heapSize() |
void |
setSequenceId(long seqId) |
void |
setTimestamp(byte[] ts,
int tsOffset) |
void |
setTimestamp(long ts) |
public TagRewriteCell(Cell cell, byte[] tags)
cell - The original Cell which it rewritestags - the tags bytes. The array suppose to contain the tags bytes alone.public byte[] getRowArray()
getRowArray 在接口中 Cellpublic int getRowOffset()
getRowOffset 在接口中 Cellpublic short getRowLength()
getRowLength 在接口中 Cellpublic byte[] getFamilyArray()
getFamilyArray 在接口中 Cellpublic int getFamilyOffset()
getFamilyOffset 在接口中 Cellpublic byte getFamilyLength()
getFamilyLength 在接口中 Cellpublic byte[] getQualifierArray()
getQualifierArray 在接口中 Cellpublic int getQualifierOffset()
getQualifierOffset 在接口中 Cellpublic int getQualifierLength()
getQualifierLength 在接口中 Cellpublic long getTimestamp()
getTimestamp 在接口中 Cellpublic byte getTypeByte()
getTypeByte 在接口中 Cell@Deprecated public long getMvccVersion()
getMvccVersion 在接口中 Cellpublic long getSequenceId()
getSequenceId 在接口中 Cellpublic byte[] getValueArray()
getValueArray 在接口中 Cellpublic int getValueOffset()
getValueOffset 在接口中 Cellpublic int getValueLength()
getValueLength 在接口中 Cellpublic byte[] getTagsArray()
getTagsArray 在接口中 Cellpublic int getTagsOffset()
getTagsOffset 在接口中 Cellpublic int getTagsLength()
getTagsLength 在接口中 Cell@Deprecated public byte[] getValue()
@Deprecated public byte[] getFamily()
@Deprecated public byte[] getQualifier()
getQualifier 在接口中 Cell@Deprecated public byte[] getRow()
public void setTimestamp(long ts)
throws IOException
setTimestamp 在接口中 SettableTimestampIOExceptionpublic void setTimestamp(byte[] ts,
int tsOffset)
throws IOException
setTimestamp 在接口中 SettableTimestampIOExceptionpublic void setSequenceId(long seqId)
throws IOException
setSequenceId 在接口中 SettableSequenceIdIOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.