public interface ColumnReader
consume()
.
Depending on the type and the encoding of the column only a subset of the get* methods are implemented.
Dictionary specific methods enable the upper layers to read the dictionary IDs without decoding the data.
In particular the Converter will decode the strings in the dictionary only once and iterate on the
dictionary IDs instead of the values.
Modifier and Type | Method and Description |
---|---|
void |
consume()
Consume the current triplet, moving to the next value.
|
Binary |
getBinary() |
boolean |
getBoolean() |
int |
getCurrentDefinitionLevel() |
int |
getCurrentRepetitionLevel()
must return 0 when isFullyConsumed() == true
|
int |
getCurrentValueDictionaryID()
available when the underlying encoding is dictionary based
|
ColumnDescriptor |
getDescriptor() |
double |
getDouble() |
float |
getFloat() |
int |
getInteger() |
long |
getLong() |
long |
getTotalValueCount() |
void |
skip()
Skip the current value
|
void |
writeCurrentValueToConverter()
writes the current value to the converter
|
long getTotalValueCount()
void consume()
int getCurrentRepetitionLevel()
int getCurrentDefinitionLevel()
void writeCurrentValueToConverter()
void skip()
int getCurrentValueDictionaryID()
int getInteger()
boolean getBoolean()
long getLong()
Binary getBinary()
float getFloat()
double getDouble()
ColumnDescriptor getDescriptor()
Copyright © 2015. All rights reserved.