Class HiveStructWriter

java.lang.Object
org.apache.drill.exec.store.hive.writers.complex.HiveStructWriter
All Implemented Interfaces:
HiveValueWriter

public class HiveStructWriter extends Object implements HiveValueWriter
  • Constructor Details

    • HiveStructWriter

      public HiveStructWriter(org.apache.hadoop.hive.serde2.objectinspector.StructObjectInspector structObjectInspector, org.apache.hadoop.hive.serde2.objectinspector.StructField[] structFields, HiveValueWriter[] fieldWriters, BaseWriter.MapWriter structWriter)
  • Method Details

    • write

      public void write(Object value)
      Description copied from interface: HiveValueWriter
      Accepts row top or embedded value of concrete column and writes it into appropriate value vector.
      Specified by:
      write in interface HiveValueWriter
      Parameters:
      value - top or embedded row value of Hive column