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)
public void setInStream(InStream input)
public boolean hasNext()
throws IOException
IOExceptionpublic byte next()
throws IOException
IOExceptionpublic void nextVector(ColumnVector previous, long[] data, long size) throws IOException
IOExceptionpublic 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 readIOExceptionpublic void seek(PositionProvider index) throws IOException
IOExceptionpublic void skip(long items)
throws IOException
IOExceptionCopyright © 2013–2023 The Apache Software Foundation. All rights reserved.