public static class TreeReaderFactory.FloatTreeReader extends TreeReaderFactory.TreeReader
Modifier and Type | Field and Description |
---|---|
protected InStream |
stream |
columnId, context, present, vectorColumnCount
Modifier | Constructor and Description |
---|---|
protected |
FloatTreeReader(int columnId,
InStream present,
InStream data) |
Modifier and Type | Method and Description |
---|---|
void |
nextVector(ColumnVector previousVector,
boolean[] isNull,
int batchSize)
Populates the isNull vector array in the previousVector object based on
the present stream values.
|
void |
seek(PositionProvider index) |
void |
seek(PositionProvider[] index)
Seek to the given position.
|
protected void |
skipRows(long items) |
countNonNulls, createIntegerReader, getColumnId, getPresent, nextBatch
protected InStream stream
protected FloatTreeReader(int columnId, InStream present, InStream data) throws IOException
IOException
public void seek(PositionProvider[] index) throws IOException
TreeReaderFactory.TreeReader
seek
in class TreeReaderFactory.TreeReader
index
- the indexes loaded from the fileIOException
public void seek(PositionProvider index) throws IOException
seek
in class TreeReaderFactory.TreeReader
IOException
public void nextVector(ColumnVector previousVector, boolean[] isNull, int batchSize) throws IOException
TreeReaderFactory.TreeReader
nextVector
in class TreeReaderFactory.TreeReader
previousVector
- The columnVector object whose isNull value is populatedisNull
- Whether the each value was null at a higher level. If
isNull is null, all values are non-null.batchSize
- Size of the column vectorIOException
protected void skipRows(long items) throws IOException
IOException
Copyright © 2013–2021 The Apache Software Foundation. All rights reserved.