@InterfaceAudience.Private public class ColumnSectionWriter extends Object
Modifier and Type | Field and Description |
---|---|
static int |
EXPECTED_NUBS_PLUS_LEAVES |
Constructor and Description |
---|
ColumnSectionWriter()
construct
|
ColumnSectionWriter(PrefixTreeBlockMeta blockMeta,
Tokenizer builder,
ColumnNodeType nodeType) |
Modifier and Type | Method and Description |
---|---|
ColumnSectionWriter |
compile()
methods
|
protected void |
compilerInternals() |
ArrayList<ColumnNodeWriter> |
getColumnNodeWriters()
get/set
|
ArrayList<TokenizerNode> |
getLeaves() |
ArrayList<TokenizerNode> |
getNonLeaves() |
int |
getNumBytes() |
int |
getOutputArrayOffset(int sortedIndex) |
void |
reconstruct(PrefixTreeBlockMeta blockMeta,
Tokenizer builder,
ColumnNodeType nodeType) |
void |
reset() |
void |
writeBytes(OutputStream os) |
public static final int EXPECTED_NUBS_PLUS_LEAVES
public ColumnSectionWriter()
public ColumnSectionWriter(PrefixTreeBlockMeta blockMeta, Tokenizer builder, ColumnNodeType nodeType)
public void reconstruct(PrefixTreeBlockMeta blockMeta, Tokenizer builder, ColumnNodeType nodeType)
public void reset()
public ColumnSectionWriter compile()
protected void compilerInternals()
public void writeBytes(OutputStream os) throws IOException
IOException
public ArrayList<ColumnNodeWriter> getColumnNodeWriters()
public int getNumBytes()
public int getOutputArrayOffset(int sortedIndex)
public ArrayList<TokenizerNode> getNonLeaves()
public ArrayList<TokenizerNode> getLeaves()
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.