public abstract class ValuesReader extends Object
| Constructor and Description |
|---|
ValuesReader() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
initFromPage(int valueCount,
ByteBufferInputStream in)
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,
ByteBufferInputStream in)
throws IOException
valueCount - count of values in this pagein - an input stream containing the page data at the correct offsetIOException - if there is an exception while reading from the input streampublic 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 © 2019 The Apache Software Foundation. All rights reserved.