@InterfaceAudience.Private public class ColumnReader extends Object
Modifier and Type | Field and Description |
---|---|
protected PrefixTreeBlockMeta |
blockMeta
fields
|
protected byte[] |
columnBuffer |
protected int |
columnLength |
protected ColumnNodeReader |
columnNodeReader |
protected int |
columnOffset |
protected ColumnNodeType |
nodeType |
Constructor and Description |
---|
ColumnReader(byte[] columnBuffer,
ColumnNodeType nodeType)
construct
|
Modifier and Type | Method and Description |
---|---|
void |
clearColumnBuffer() |
byte[] |
copyBufferToNewArray() |
int |
getColumnLength() |
int |
getColumnOffset()
get/set
|
void |
initOnBlock(PrefixTreeBlockMeta blockMeta,
byte[] block) |
ColumnReader |
populateBuffer(int offsetIntoColumnData)
methods
|
protected PrefixTreeBlockMeta blockMeta
protected byte[] columnBuffer
protected int columnOffset
protected int columnLength
protected ColumnNodeType nodeType
protected ColumnNodeReader columnNodeReader
public ColumnReader(byte[] columnBuffer, ColumnNodeType nodeType)
public void initOnBlock(PrefixTreeBlockMeta blockMeta, byte[] block)
public ColumnReader populateBuffer(int offsetIntoColumnData)
public byte[] copyBufferToNewArray()
public int getColumnLength()
public void clearColumnBuffer()
public int getColumnOffset()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.