private static class PrefixTreeSeeker.ClonedPrefixTreeCell extends Object implements Cell, SettableSequenceId, HeapSize
Modifier and Type | Field and Description |
---|---|
private byte[] |
fam |
private byte |
famLength |
private static long |
FIXED_OVERHEAD |
private byte[] |
qual |
private int |
qualLength |
private byte[] |
row |
private short |
rowLength |
private long |
seqId |
private byte[] |
tag |
private int |
tagsLength |
private long |
ts |
private byte |
type |
private byte[] |
val |
private int |
valLength |
private int |
valOffset |
Constructor and Description |
---|
PrefixTreeSeeker.ClonedPrefixTreeCell(byte[] row,
int rowOffset,
short rowLength,
byte[] fam,
int famOffset,
byte famLength,
byte[] qual,
int qualOffset,
int qualLength,
byte[] val,
int valOffset,
int valLength,
byte[] tag,
int tagOffset,
int tagLength,
long ts,
byte type,
long seqId) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getFamily()
Deprecated.
|
byte[] |
getFamilyArray()
Contiguous bytes composed of legal HDFS filename characters which may start at any index in the
containing array.
|
byte |
getFamilyLength() |
int |
getFamilyOffset() |
long |
getMvccVersion()
Deprecated.
|
byte[] |
getQualifier()
Deprecated.
|
byte[] |
getQualifierArray()
Contiguous raw bytes that may start at any index in the containing array.
|
int |
getQualifierLength() |
int |
getQualifierOffset() |
byte[] |
getRow()
Deprecated.
|
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() |
int |
getTagsLength() |
int |
getTagsOffset() |
long |
getTimestamp() |
byte |
getTypeByte() |
byte[] |
getValue()
Deprecated.
|
byte[] |
getValueArray()
Contiguous raw bytes that may start at any index in the containing array.
|
int |
getValueLength() |
int |
getValueOffset() |
long |
heapSize() |
void |
setSequenceId(long seqId)
Sets with the given seqId.
|
String |
toString() |
private static final long FIXED_OVERHEAD
private byte[] row
private short rowLength
private byte[] fam
private byte famLength
private byte[] qual
private int qualLength
private byte[] val
private int valOffset
private int valLength
private byte[] tag
private int tagsLength
private long ts
private long seqId
private byte type
public PrefixTreeSeeker.ClonedPrefixTreeCell(byte[] row, int rowOffset, short rowLength, byte[] fam, int famOffset, byte famLength, byte[] qual, int qualOffset, int qualLength, byte[] val, int valOffset, int valLength, byte[] tag, int tagOffset, int tagLength, long ts, byte type, long seqId)
public void setSequenceId(long seqId)
SettableSequenceId
setSequenceId
in interface SettableSequenceId
public byte[] getRowArray()
Cell
getRowArray
in interface Cell
public int getRowOffset()
getRowOffset
in interface Cell
public short getRowLength()
getRowLength
in interface Cell
public byte[] getFamilyArray()
Cell
getFamilyArray
in interface Cell
public int getFamilyOffset()
getFamilyOffset
in interface Cell
public byte getFamilyLength()
getFamilyLength
in interface Cell
public byte[] getQualifierArray()
Cell
getQualifierArray
in interface Cell
public int getQualifierOffset()
getQualifierOffset
in interface Cell
public int getQualifierLength()
getQualifierLength
in interface Cell
public long getTimestamp()
getTimestamp
in interface Cell
public byte getTypeByte()
getTypeByte
in interface Cell
@Deprecated public long getMvccVersion()
getMvccVersion
in interface Cell
public long getSequenceId()
Cell
HConstants.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 Cell
public byte[] getValueArray()
Cell
getValueArray
in interface Cell
public int getValueOffset()
getValueOffset
in interface Cell
public int getValueLength()
getValueLength
in interface Cell
public byte[] getTagsArray()
getTagsArray
in interface Cell
public int getTagsOffset()
getTagsOffset
in interface Cell
public int getTagsLength()
getTagsLength
in interface Cell
@Deprecated public byte[] getValue()
Cell
@Deprecated public byte[] getFamily()
Cell
@Deprecated public byte[] getQualifier()
Cell
getQualifier
in interface Cell
@Deprecated public byte[] getRow()
Cell
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.