public class LazyStructTreeReader extends LazyTreeReader
columnId, previousPresentRow, previousRow, previousRowIndexEntry, rowBaseInStripe, rowIndexStride, valuePresent| Constructor and Description |
|---|
LazyStructTreeReader(int columnId,
long rowIndexStride,
LazyTreeReader[] fields,
List<String> fieldNames) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
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
|
protected void |
seek(int index) |
protected void |
seek(int rowIndexEntry,
boolean backwards)
Adjust all streams to the beginning of the row index entry specified, backwards means that
a previous value is being read and forces the index entry to be restarted, otherwise, has
no effect if we're already in the current index entry
|
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, createWritableFromLatest, get, getBoolean, getDouble, getFloat, getInComplexType, getInt, getLong, getShort, loadIndeces, nextBoolean, nextDouble, nextFloat, nextInt, nextIsNull, nextIsNullInComplexType, nextLong, nextShort, seekToPresentRow, seekToRow, skipRowsInComplexTypepublic LazyStructTreeReader(int columnId,
long rowIndexStride,
LazyTreeReader[] fields,
List<String> fieldNames)
throws IOException
IOExceptionpublic void skipRows(long numNonNullValues)
throws IOException
LazyTreeReaderskipRows in class LazyTreeReaderIOExceptionpublic Object next(Object previous) throws IOException
LazyTreeReadernext in class LazyTreeReaderIOExceptionpublic void startStripe(Map<StreamName,InStream> streams, List<OrcProto.ColumnEncoding> encodings, OrcProto.RowIndex[] indexes, long rowBaseInStripe) throws IOException
startStripe in class LazyTreeReaderIOExceptionprotected void seek(int rowIndexEntry,
boolean backwards)
throws IOException
LazyTreeReaderseek in class LazyTreeReaderIOExceptionprotected void seek(int index)
throws IOException
seek in class LazyTreeReaderIOExceptionpublic void close()
throws IOException
close in class LazyTreeReaderIOExceptionCopyright © 2013–2021. All rights reserved.