public abstract class PlainValuesReader extends ValuesReader
| Modifier and Type | Class and Description |
|---|---|
static class |
PlainValuesReader.DoublePlainValuesReader |
static class |
PlainValuesReader.FloatPlainValuesReader |
static class |
PlainValuesReader.IntegerPlainValuesReader |
static class |
PlainValuesReader.LongPlainValuesReader |
| Modifier and Type | Field and Description |
|---|---|
protected LittleEndianDataInputStream |
in |
| Constructor and Description |
|---|
PlainValuesReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
initFromPage(int valueCount,
ByteBufferInputStream stream)
Called to initialize the column reader from a part of a page.
|
void |
skip()
Skips the next value in the page
|
getNextOffset, initFromPage, initFromPage, readBoolean, readBytes, readDouble, readFloat, readInteger, readLong, readValueDictionaryId, skip, updateNextOffsetprotected LittleEndianDataInputStream in
public void initFromPage(int valueCount,
ByteBufferInputStream stream)
throws IOException
ValuesReaderinitFromPage in class ValuesReadervalueCount - count of values in this pagestream - an input stream containing the page data at the correct offsetIOException - if there is an exception while reading from the input streampublic void skip()
ValuesReaderskip in class ValuesReaderCopyright © 2020 The Apache Software Foundation. All rights reserved.