@InterfaceAudience.Private public class ColumnNodeReader extends Object
Modifier and Type | Field and Description |
---|---|
protected byte[] |
block |
protected PrefixTreeBlockMeta |
blockMeta
fields
|
protected byte[] |
columnBuffer |
protected ColumnNodeType |
nodeType |
protected int |
offsetIntoBlock |
protected int |
parentStartPosition |
protected int |
tokenLength |
protected int |
tokenOffsetIntoBlock |
Constructor and Description |
---|
ColumnNodeReader(byte[] columnBuffer,
ColumnNodeType nodeType)
construct
|
Modifier and Type | Method and Description |
---|---|
int |
getParentStartPosition() |
int |
getTokenLength()
get/set
|
void |
initOnBlock(PrefixTreeBlockMeta blockMeta,
byte[] block) |
boolean |
isRoot() |
void |
positionAt(int offsetIntoBlock)
methods
|
void |
prependTokenToBuffer(int bufferStartIndex) |
String |
toString()
standard methods
|
protected PrefixTreeBlockMeta blockMeta
protected byte[] block
protected ColumnNodeType nodeType
protected byte[] columnBuffer
protected int offsetIntoBlock
protected int tokenOffsetIntoBlock
protected int tokenLength
protected int parentStartPosition
public ColumnNodeReader(byte[] columnBuffer, ColumnNodeType nodeType)
public void initOnBlock(PrefixTreeBlockMeta blockMeta, byte[] block)
public void positionAt(int offsetIntoBlock)
public void prependTokenToBuffer(int bufferStartIndex)
public boolean isRoot()
public int getTokenLength()
public int getParentStartPosition()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.