Interface HiveValueWriter

All Known Implementing Classes:
AbstractSingleValueWriter, HiveBinaryWriter, HiveBooleanWriter, HiveByteWriter, HiveCharWriter, HiveDateWriter, HiveDecimalWriter, HiveDoubleWriter, HiveFloatWriter, HiveIntWriter, HiveListWriter, HiveLongWriter, HiveMapWriter, HiveShortWriter, HiveStringWriter, HiveStructWriter, HiveTimestampWriter, HiveUnionWriter, HiveVarCharWriter

public interface HiveValueWriter
The writer is used to abstract writing of row values or values embedded into row (for example, elements of List complex type).

HiveValueWriterFactory constructs top level writers for columns, which then mapped to Hive table column and used for writing each column's row value into vectors.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    write(Object value)
    Accepts row top or embedded value of concrete column and writes it into appropriate value vector.
  • Method Details

    • write

      void write(Object value)
      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