public abstract class ValuesReader extends Object
| Constructor and Description |
|---|
ValuesReader() |
| Modifier and Type | Method and Description |
|---|---|
int |
getNextOffset()
Called to return offset of the next section
|
void |
initFromPage(int valueCount,
byte[] page,
int offset)
Deprecated.
|
abstract void |
initFromPage(int valueCount,
ByteBuffer page,
int offset)
Called to initialize the column reader from a part of a page.
|
boolean |
readBoolean() |
Binary |
readBytes() |
double |
readDouble() |
float |
readFloat() |
int |
readInteger() |
long |
readLong() |
int |
readValueDictionaryId()
usable when the encoding is dictionary based
|
abstract void |
skip()
Skips the next value in the page
|
public abstract void initFromPage(int valueCount,
ByteBuffer page,
int offset)
throws IOException
valueCount - count of values in this pagepage - the array to read from containing the page data (repetition levels, definition levels, data)offset - where to start reading from in the pageIOException@Deprecated public void initFromPage(int valueCount, byte[] page, int offset) throws IOException
IOExceptioninitFromPage(int, ByteBuffer, int)public int getNextOffset()
public int readValueDictionaryId()
public boolean readBoolean()
public Binary readBytes()
public float readFloat()
public double readDouble()
public int readInteger()
public long readLong()
public abstract void skip()
Copyright © 2016 The Apache Software Foundation. All rights reserved.