|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.codec.prefixtree.decode.column.ColumnReader
@InterfaceAudience.Private public class ColumnReader
Position one of these appropriately in the data block and you can call its methods to retrieve the family or qualifier at the current position.
Field Summary | |
---|---|
protected PrefixTreeBlockMeta |
blockMeta
fields |
protected byte[] |
columnBuffer
|
protected int |
columnLength
|
protected ColumnNodeReader |
columnNodeReader
|
protected int |
columnOffset
|
protected ColumnNodeType |
nodeType
|
Constructor Summary | |
---|---|
ColumnReader(byte[] columnBuffer,
ColumnNodeType nodeType)
construct |
Method Summary | |
---|---|
void |
clearColumnBuffer()
|
byte[] |
copyBufferToNewArray()
|
int |
getColumnLength()
|
int |
getColumnOffset()
get/set |
void |
initOnBlock(PrefixTreeBlockMeta blockMeta,
byte[] block)
|
ColumnReader |
populateBuffer(int offsetIntoColumnData)
methods |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected PrefixTreeBlockMeta blockMeta
protected byte[] columnBuffer
protected int columnOffset
protected int columnLength
protected ColumnNodeType nodeType
protected ColumnNodeReader columnNodeReader
Constructor Detail |
---|
public ColumnReader(byte[] columnBuffer, ColumnNodeType nodeType)
Method Detail |
---|
public void initOnBlock(PrefixTreeBlockMeta blockMeta, byte[] block)
public ColumnReader populateBuffer(int offsetIntoColumnData)
public byte[] copyBufferToNewArray()
public int getColumnLength()
public void clearColumnBuffer()
public int getColumnOffset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |