public static class TreeReaderFactory.NullTreeReader extends TreeReaderFactory.TreeReader
columnId, present, valuePresent, vectorColumnCount
Constructor and Description |
---|
NullTreeReader(int columnId) |
Modifier and Type | Method and Description |
---|---|
void |
nextVector(ColumnVector vector,
boolean[] isNull,
int size)
Populates the isNull vector array in the previousVector object based on
the present stream values.
|
void |
seek(PositionProvider position) |
void |
seek(PositionProvider[] position)
Seek to the given position.
|
void |
startStripe(Map<StreamName,InStream> streams,
OrcProto.StripeFooter footer) |
countNonNulls, getPresent, nextBatch
public NullTreeReader(int columnId) throws IOException
IOException
public void startStripe(Map<StreamName,InStream> streams, OrcProto.StripeFooter footer)
public void seek(PositionProvider position)
seek
in class TreeReaderFactory.TreeReader
public void seek(PositionProvider[] position)
TreeReaderFactory.TreeReader
position
- the indexes loaded from the filepublic void nextVector(ColumnVector vector, boolean[] isNull, int size)
TreeReaderFactory.TreeReader
nextVector
in class TreeReaderFactory.TreeReader
vector
- 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.size
- Size of the column vectorCopyright © 2016 The Apache Software Foundation. All rights reserved.