protected static class BufferedDataBlockEncoder.ClonedSeekerState extends Object implements Cell, HeapSize, SettableSequenceId
| Modifier and Type | Field and Description |
|---|---|
private byte[] |
cloneTagsBuffer |
private ByteBuffer |
currentBuffer |
private byte |
familyLength |
private int |
familyOffset |
private static long |
FIXED_OVERHEAD |
private byte[] |
keyOnlyBuffer |
private int |
qualifierLength |
private int |
qualifierOffset |
private short |
rowLength |
private long |
seqId |
private TagCompressionContext |
tagCompressionContext |
private int |
tagsLength |
private int |
tagsOffset |
private long |
timestamp |
private byte |
typeByte |
private int |
valueLength |
private int |
valueOffset |
| Modifier | Constructor and Description |
|---|---|
protected |
BufferedDataBlockEncoder.ClonedSeekerState(ByteBuffer currentBuffer,
byte[] keyBuffer,
short rowLength,
int familyOffset,
byte familyLength,
int keyLength,
int qualOffset,
int qualLength,
long timeStamp,
byte typeByte,
int valueLen,
int valueOffset,
long seqId,
int tagsOffset,
int tagsLength,
TagCompressionContext tagCompressionContext,
byte[] tagsBuffer) |
| 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[] keyOnlyBuffer
private ByteBuffer currentBuffer
private short rowLength
private int familyOffset
private byte familyLength
private int qualifierOffset
private int qualifierLength
private long timestamp
private byte typeByte
private int valueOffset
private int valueLength
private int tagsLength
private int tagsOffset
private byte[] cloneTagsBuffer
private long seqId
private TagCompressionContext tagCompressionContext
protected BufferedDataBlockEncoder.ClonedSeekerState(ByteBuffer currentBuffer, byte[] keyBuffer, short rowLength, int familyOffset, byte familyLength, int keyLength, int qualOffset, int qualLength, long timeStamp, byte typeByte, int valueLen, int valueOffset, long seqId, int tagsOffset, int tagsLength, TagCompressionContext tagCompressionContext, byte[] tagsBuffer)
public byte[] getRowArray()
CellgetRowArray in interface Cellpublic byte[] getFamilyArray()
CellgetFamilyArray in interface Cellpublic byte[] getQualifierArray()
CellgetQualifierArray in interface Cellpublic int getRowOffset()
getRowOffset in interface Cellpublic short getRowLength()
getRowLength in interface Cellpublic int getFamilyOffset()
getFamilyOffset in interface Cellpublic byte getFamilyLength()
getFamilyLength 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()
CellHConstants.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 Cellpublic byte[] getValueArray()
CellgetValueArray 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()
Cell@Deprecated public byte[] getFamily()
Cell@Deprecated public byte[] getQualifier()
CellgetQualifier in interface Cell@Deprecated public byte[] getRow()
Cellpublic void setSequenceId(long seqId)
SettableSequenceIdsetSequenceId in interface SettableSequenceIdCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.