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