public static class TreeReaderFactory.VarcharTreeReader extends TreeReaderFactory.StringTreeReader
readercolumnId, context, present, vectorColumnCount| Modifier | Constructor and Description |
|---|---|
protected |
VarcharTreeReader(int columnId,
int maxLength,
InStream present,
InStream data,
InStream length,
InStream dictionary,
OrcProto.ColumnEncoding encoding) |
| 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.
|
seek, seekcountNonNulls, createIntegerReader, getColumnId, getPresent, nextBatchprotected VarcharTreeReader(int columnId,
int maxLength,
InStream present,
InStream data,
InStream length,
InStream dictionary,
OrcProto.ColumnEncoding encoding)
throws IOException
IOExceptionpublic void nextVector(ColumnVector previousVector, boolean[] isNull, int batchSize) throws IOException
TreeReaderFactory.TreeReadernextVector in class TreeReaderFactory.StringTreeReaderpreviousVector - 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 vectorIOExceptionCopyright © 2013–2021 The Apache Software Foundation. All rights reserved.