public class RunLengthByteReader extends Object
Constructor and Description |
---|
RunLengthByteReader(InStream input) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
byte |
next() |
void |
nextVector(boolean[] isNull,
int[] data,
long size)
Read the next size bytes into the data array, skipping over any slots
where isNull is true.
|
void |
nextVector(ColumnVector previous,
long[] data,
long size) |
void |
seek(PositionProvider index) |
void |
setInStream(InStream input) |
void |
skip(long items) |
String |
toString() |
public RunLengthByteReader(InStream input) throws IOException
IOException
public void setInStream(InStream input)
public boolean hasNext() throws IOException
IOException
public byte next() throws IOException
IOException
public void nextVector(ColumnVector previous, long[] data, long size) throws IOException
IOException
public void nextVector(boolean[] isNull, int[] data, long size) throws IOException
isNull
- if non-null, skip any rows where isNull[r] is truedata
- the array to read intosize
- the number of elements to readIOException
public void seek(PositionProvider index) throws IOException
IOException
public void skip(long items) throws IOException
IOException
Copyright © 2016 The Apache Software Foundation. All rights reserved.