public class LazyFloatTreeReader extends LazyTreeReader
columnId, previousPresentRow, previousRow, previousRowIndexEntry, rowBaseInStripe, rowIndexStride, valuePresent| Constructor and Description |
|---|
LazyFloatTreeReader(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
|
float |
nextFloat(boolean readStream)
Give the next float 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, nextDouble, nextInt, nextIsNull, nextIsNullInComplexType, nextLong, nextShort, seek, seekToPresentRow, seekToRow, skipRowsInComplexTypepublic LazyFloatTreeReader(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 float nextFloat(boolean readStream)
throws IOException,
OrcLazyObject.ValueNotPresentException
nextFloat in class LazyTreeReaderIOExceptionOrcLazyObject.ValueNotPresentExceptionpublic Object next(Object previous) throws IOException
LazyTreeReadernext 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.