public class LazyBooleanTreeReader extends LazyTreeReader
columnId, previousPresentRow, previousRow, previousRowIndexEntry, rowBaseInStripe, rowIndexStride, valuePresent| Constructor and Description |
|---|
LazyBooleanTreeReader(int columnId,
long rowIndexStride) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Object |
createWritableFromLatest(Object previous)
When a client asks for a writable object after materializing a
primitive, create a writable from previous value read from stream.
|
int |
loadIndeces(List<OrcProto.RowIndexEntry> rowIndexEntries,
int startIndex)
Read any indeces that will be needed and return a startIndex after the values that have been
read.
|
Object |
next(Object previous)
Should only be called from within the tree reader once it's been checked that the next
object isn't null
|
boolean |
nextBoolean(boolean readStream) |
void |
seek(int index) |
void |
skipRows(long numNonNullValues)
Should only be called from within the tree reader once numNonNulls has been set correctly
|
void |
startStripe(Map<StreamName,InStream> streams,
List<OrcProto.ColumnEncoding> encodings,
OrcProto.RowIndex[] indexes,
long rowBaseInStripe) |
computeRowIndexEntry, countNonNulls, get, getBoolean, getDouble, getFloat, getInComplexType, getInt, getLong, getShort, nextDouble, nextFloat, nextInt, nextIsNull, nextIsNullInComplexType, nextLong, nextShort, seek, seekToPresentRow, seekToRow, skipRowsInComplexTypepublic LazyBooleanTreeReader(int columnId,
long rowIndexStride)
public void startStripe(Map<StreamName,InStream> streams, List<OrcProto.ColumnEncoding> encodings, OrcProto.RowIndex[] indexes, long rowBaseInStripe) throws IOException
startStripe in class LazyTreeReaderIOExceptionpublic void seek(int index)
throws IOException
seek in class LazyTreeReaderIOExceptionpublic int loadIndeces(List<OrcProto.RowIndexEntry> rowIndexEntries, int startIndex)
LazyTreeReaderloadIndeces in class LazyTreeReaderpublic void skipRows(long numNonNullValues)
throws IOException
LazyTreeReaderskipRows in class LazyTreeReaderIOExceptionpublic Object createWritableFromLatest(Object previous) throws IOException
LazyTreeReadercreateWritableFromLatest in class LazyTreeReaderIOExceptionpublic boolean nextBoolean(boolean readStream)
throws IOException
nextBoolean in class LazyTreeReaderIOExceptionpublic Object next(Object previous) throws IOException
LazyTreeReadernext in class LazyTreeReaderIOExceptionpublic void close()
throws IOException
close in class LazyTreeReaderIOExceptionCopyright © 2013–2021. All rights reserved.