Class HiveDecimalWriter

java.lang.Object
org.apache.drill.exec.store.hive.writers.primitive.AbstractSingleValueWriter<org.apache.hadoop.hive.serde2.objectinspector.primitive.HiveDecimalObjectInspector,VarDecimalWriter>
org.apache.drill.exec.store.hive.writers.primitive.HiveDecimalWriter
All Implemented Interfaces:
HiveValueWriter

public class HiveDecimalWriter extends AbstractSingleValueWriter<org.apache.hadoop.hive.serde2.objectinspector.primitive.HiveDecimalObjectInspector,VarDecimalWriter>
  • Constructor Details

    • HiveDecimalWriter

      public HiveDecimalWriter(org.apache.hadoop.hive.serde2.objectinspector.primitive.HiveDecimalObjectInspector inspector, VarDecimalWriter writer, int scale)
  • 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.
      Parameters:
      value - top or embedded row value of Hive column