Class HiveValueWriterFactory

java.lang.Object
org.apache.drill.exec.store.hive.writers.HiveValueWriterFactory

public final class HiveValueWriterFactory extends Object
Factory used by reader to create Hive writers for columns.
  • Constructor Details

  • Method Details

    • createHiveColumnValueWriter

      public HiveValueWriter createHiveColumnValueWriter(String columnName, org.apache.hadoop.hive.serde2.objectinspector.StructField fieldRef)
      Method that will be called once for each column in reader to initialize column writer.
      Parameters:
      columnName - name of column for writer
      fieldRef - metadata about field type
      Returns:
      instance of writer for column