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,
ByteBuffer in,
int offset)
Called to initialize the column reader from a part of a page.
|
getNextOffset, initFromPage, readBoolean, readBytes, readDouble, readFloat, readInteger, readLong, readValueDictionaryId, skipprotected LittleEndianDataInputStream in
public void initFromPage(int valueCount,
ByteBuffer in,
int offset)
throws IOException
initFromPage in class ValuesReadervalueCount - count of values in this pagein - the array to read from containing the page data (repetition levels, definition levels, data)offset - where to start reading from in the pageIOExceptionValuesReader.initFromPage(int, ByteBuffer, int)Copyright © 2016 The Apache Software Foundation. All rights reserved.