public static class TreeReaderFactory.CharTreeReader extends TreeReaderFactory.StringTreeReader
TypeReader.ReaderCategory, TypeReader.ReadPhase
reader
columnId, context, present, readerCategory
Modifier | Constructor and Description |
---|---|
protected |
CharTreeReader(int columnId,
int maxLength,
InStream present,
InStream data,
InStream length,
InStream dictionary,
OrcProto.ColumnEncoding encoding,
TreeReaderFactory.Context context) |
Modifier and Type | Method and Description |
---|---|
void |
nextVector(ColumnVector previousVector,
boolean[] isNull,
int batchSize,
org.apache.hadoop.hive.ql.io.filter.FilterContext filterContext,
TypeReader.ReadPhase readPhase)
Populates the isNull vector array in the previousVector object based on
the present stream values.
|
checkEncoding, seek, seek, skipRows, startStripe
countNonNullRowsInRange, countNonNulls, createIntegerReader, getColumnId, getPresent, getReaderCategory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldProcessChild
protected CharTreeReader(int columnId, int maxLength, InStream present, InStream data, InStream length, InStream dictionary, OrcProto.ColumnEncoding encoding, TreeReaderFactory.Context context) throws IOException
IOException
public void nextVector(ColumnVector previousVector, boolean[] isNull, int batchSize, org.apache.hadoop.hive.ql.io.filter.FilterContext filterContext, TypeReader.ReadPhase readPhase) throws IOException
TreeReaderFactory.TreeReader
nextVector
in interface TypeReader
nextVector
in class TreeReaderFactory.StringTreeReader
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 vectorfilterContext
- the information about the rows that were selected
by the filter.readPhase
- The read levelIOException
Copyright © 2013–2022 The Apache Software Foundation. All rights reserved.