Class VarcharTreeWriter

All Implemented Interfaces:
TreeWriter

public class VarcharTreeWriter extends StringBaseTreeWriter
Under the covers, varchar is written to ORC the same way as string.
  • Method Details

    • writeBatch

      public void writeBatch(org.apache.hadoop.hive.ql.exec.vector.ColumnVector vector, int offset, int length) throws IOException
      Description copied from class: TreeWriterBase
      Write the values from the given vector from offset for length elements.
      Specified by:
      writeBatch in interface TreeWriter
      Overrides:
      writeBatch in class TreeWriterBase
      Parameters:
      vector - the vector to write from
      offset - the first value from the vector to write
      length - the number of values from the vector to write
      Throws:
      IOException