@InterfaceAudience.Private public class TagRewriteCell extends Object implements Cell, SettableSequenceId, SettableTimestamp, HeapSize
| Constructor and Description |
|---|
TagRewriteCell(Cell cell,
byte[] tags) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getFamily()
Deprecated.
|
byte[] |
getFamilyArray() |
byte |
getFamilyLength() |
int |
getFamilyOffset() |
long |
getMvccVersion()
Deprecated.
|
byte[] |
getQualifier()
Deprecated.
|
byte[] |
getQualifierArray() |
int |
getQualifierLength() |
int |
getQualifierOffset() |
byte[] |
getRow()
Deprecated.
|
byte[] |
getRowArray() |
short |
getRowLength() |
int |
getRowOffset() |
long |
getSequenceId() |
byte[] |
getTagsArray() |
int |
getTagsLength() |
int |
getTagsOffset() |
long |
getTimestamp() |
byte |
getTypeByte() |
byte[] |
getValue()
Deprecated.
|
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 in interface Cellpublic int getRowOffset()
getRowOffset in interface Cellpublic short getRowLength()
getRowLength in interface Cellpublic byte[] getFamilyArray()
getFamilyArray in interface Cellpublic int getFamilyOffset()
getFamilyOffset in interface Cellpublic byte getFamilyLength()
getFamilyLength in interface Cellpublic byte[] getQualifierArray()
getQualifierArray in interface Cellpublic int getQualifierOffset()
getQualifierOffset in interface Cellpublic int getQualifierLength()
getQualifierLength in interface Cellpublic long getTimestamp()
getTimestamp in interface Cellpublic byte getTypeByte()
getTypeByte in interface Cell@Deprecated public long getMvccVersion()
getMvccVersion in interface Cellpublic long getSequenceId()
getSequenceId in interface Cellpublic byte[] getValueArray()
getValueArray in interface Cellpublic int getValueOffset()
getValueOffset in interface Cellpublic int getValueLength()
getValueLength in interface Cellpublic byte[] getTagsArray()
getTagsArray in interface Cellpublic int getTagsOffset()
getTagsOffset in interface Cellpublic int getTagsLength()
getTagsLength in interface Cell@Deprecated public byte[] getValue()
@Deprecated public byte[] getFamily()
@Deprecated public byte[] getQualifier()
getQualifier in interface Cell@Deprecated public byte[] getRow()
public void setTimestamp(long ts)
throws IOException
setTimestamp in interface SettableTimestampIOExceptionpublic void setTimestamp(byte[] ts,
int tsOffset)
throws IOException
setTimestamp in interface SettableTimestampIOExceptionpublic void setSequenceId(long seqId)
throws IOException
setSequenceId in interface SettableSequenceIdIOExceptionCopyright © 2015 The Apache Software Foundation. All Rights Reserved.