Class TreeReaderFactory.VarcharTreeReader

All Implemented Interfaces:
TypeReader
Enclosing class:
TreeReaderFactory

public static class TreeReaderFactory.VarcharTreeReader extends TreeReaderFactory.StringTreeReader
  • Constructor Details

  • Method Details

    • nextVector

      public void nextVector(org.apache.hadoop.hive.ql.exec.vector.ColumnVector previousVector, boolean[] isNull, int batchSize, org.apache.hadoop.hive.ql.io.filter.FilterContext filterContext, TypeReader.ReadPhase readPhase) throws IOException
      Description copied from class: TreeReaderFactory.TreeReader
      Populates the isNull vector array in the previousVector object based on the present stream values. This function is called from all the child readers, and they all set the values based on isNull field value.
      Specified by:
      nextVector in interface TypeReader
      Overrides:
      nextVector in class TreeReaderFactory.StringTreeReader
      Parameters:
      previousVector - The columnVector object whose isNull value is populated
      isNull - Whether the each value was null at a higher level. If isNull is null, all values are non-null.
      batchSize - Size of the column vector
      filterContext - the information about the rows that were selected by the filter.
      readPhase - The read level
      Throws:
      IOException