Class HiveUnionWriter

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

public class HiveUnionWriter extends Object implements HiveValueWriter
  • Constructor Details

    • HiveUnionWriter

      public HiveUnionWriter(HiveValueWriter[] unionFieldWriters, org.apache.hadoop.hive.serde2.objectinspector.UnionObjectInspector unionObjectInspector)
  • 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