protected static class BufferedDataBlockEncoder.SeekerState extends Object implements Cell
| Modifier and Type | Field and Description |
|---|---|
protected ByteBuffer |
currentBuffer |
protected KeyValue.KeyOnlyKeyValue |
currentKey |
protected byte[] |
keyBuffer
We need to store a copy of the key.
|
protected int |
keyLength |
protected int |
lastCommonPrefix |
protected long |
memstoreTS |
protected int |
nextKvOffset |
protected TagCompressionContext |
tagCompressionContext |
protected byte[] |
tagsBuffer |
protected int |
tagsCompressedLength |
protected int |
tagsLength |
protected int |
tagsOffset |
protected boolean |
uncompressTags |
protected int |
valueLength |
protected int |
valueOffset |
| Modifier | Constructor and Description |
|---|---|
protected |
BufferedDataBlockEncoder.SeekerState() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copyFromNext(BufferedDataBlockEncoder.SeekerState nextState)
Copy the state from the next one into this instance (the previous state
placeholder).
|
protected void |
ensureSpaceForKey() |
protected void |
ensureSpaceForTags() |
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() |
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() |
protected void |
invalidate() |
protected boolean |
isValid() |
protected void |
setKey(byte[] keyBuffer,
long memTS) |
Cell |
shallowCopy() |
String |
toString() |
protected ByteBuffer currentBuffer
protected TagCompressionContext tagCompressionContext
protected int valueOffset
protected int keyLength
protected int valueLength
protected int lastCommonPrefix
protected int tagsLength
protected int tagsOffset
protected int tagsCompressedLength
protected boolean uncompressTags
protected byte[] keyBuffer
protected byte[] tagsBuffer
protected long memstoreTS
protected int nextKvOffset
protected KeyValue.KeyOnlyKeyValue currentKey
protected BufferedDataBlockEncoder.SeekerState()
protected boolean isValid()
protected void invalidate()
protected void ensureSpaceForKey()
protected void ensureSpaceForTags()
protected void setKey(byte[] keyBuffer,
long memTS)
protected void copyFromNext(BufferedDataBlockEncoder.SeekerState nextState)
public byte[] getRowArray()
CellgetRowArray in interface Cellpublic int getRowOffset()
getRowOffset in interface Cellpublic short getRowLength()
getRowLength in interface Cellpublic byte[] getFamilyArray()
CellgetFamilyArray in interface Cellpublic int getFamilyOffset()
getFamilyOffset in interface Cellpublic byte getFamilyLength()
getFamilyLength in interface Cellpublic byte[] getQualifierArray()
CellgetQualifierArray 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 Cellpublic 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 Cell shallowCopy()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.