public class LazyDoubleTreeReader extends LazyTreeReader
columnId, previousPresentRow, previousRow, previousRowIndexEntry, rowBaseInStripe, rowIndexStride, valuePresent| Constructor and Description |
|---|
LazyDoubleTreeReader(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)
Give the next double as a Writable object.
|
double |
nextDouble(boolean readStream)
Give the next double as a primitive
|
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, nextBoolean, nextFloat, nextInt, nextIsNull, nextIsNullInComplexType, nextLong, nextShort, seek, seekToPresentRow, seekToRow, skipRowsInComplexTypepublic LazyDoubleTreeReader(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 Object createWritableFromLatest(Object previous) throws IOException
LazyTreeReadercreateWritableFromLatest in class LazyTreeReaderIOExceptionpublic double nextDouble(boolean readStream)
throws IOException
nextDouble in class LazyTreeReaderIOExceptionpublic Object next(Object previous) throws IOException
next in class LazyTreeReaderIOExceptionpublic void skipRows(long numNonNullValues)
throws IOException
LazyTreeReaderskipRows in class LazyTreeReaderIOExceptionpublic void close()
throws IOException
close in class LazyTreeReaderIOExceptionCopyright © 2013–2021. All rights reserved.