public class RunLengthIntegerReader extends Object
| Constructor and Description |
|---|
RunLengthIntegerReader(InStream input,
boolean signed,
int numBytes) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
loadIndeces(List<OrcProto.RowIndexEntry> rowIndexEntries,
int startIndex)
Read in the number of values consumed at each index entry and store it,
also call loadIndeces on child stream and return the index of the next
streams indexes.
|
long |
next() |
void |
seek(int index) |
void |
skip(long numValues) |
public RunLengthIntegerReader(InStream input, boolean signed, int numBytes) throws IOException
IOExceptionpublic long next()
throws IOException
IOExceptionpublic void seek(int index)
throws IOException
IOExceptionpublic int loadIndeces(List<OrcProto.RowIndexEntry> rowIndexEntries, int startIndex)
public void skip(long numValues)
throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionCopyright © 2013–2021. All rights reserved.