Class HiveValueWriterFactory
java.lang.Object
org.apache.drill.exec.store.hive.writers.HiveValueWriterFactory
Factory used by reader to create Hive writers for columns.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateHiveColumnValueWriter
(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.
-
Constructor Details
-
HiveValueWriterFactory
-
-
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 writerfieldRef
- metadata about field type- Returns:
- instance of writer for column
-