public static class TreeReaderFactory.VarcharTreeReader extends TreeReaderFactory.StringTreeReader
TypeReader.ReaderCategory, TypeReader.ReadPhasereadercolumnId, context, present, readerCategory| Modifier | Constructor and Description | 
|---|---|
| protected  | VarcharTreeReader(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, startStripecountNonNullRowsInRange, countNonNulls, createIntegerReader, getColumnId, getPresent, getReaderCategoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshouldProcessChildprotected VarcharTreeReader(int columnId,
                            int maxLength,
                            InStream present,
                            InStream data,
                            InStream length,
                            InStream dictionary,
                            OrcProto.ColumnEncoding encoding,
                            TreeReaderFactory.Context context)
                     throws IOException
IOExceptionpublic void nextVector(ColumnVector previousVector, boolean[] isNull, int batchSize, org.apache.hadoop.hive.ql.io.filter.FilterContext filterContext, TypeReader.ReadPhase readPhase) throws IOException
TreeReaderFactory.TreeReadernextVector in interface TypeReadernextVector 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 vectorfilterContext - the information about the rows that were selected
                      by the filter.readPhase - The read levelIOExceptionCopyright © 2013–2023 The Apache Software Foundation. All rights reserved.