Package io.trino.plugin.hive.util
Class HiveReaderUtil
java.lang.Object
io.trino.plugin.hive.util.HiveReaderUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.mapred.RecordReader<?,?> createRecordReader(org.apache.hadoop.conf.Configuration configuration, org.apache.hadoop.fs.Path path, long start, long length, Properties schema, List<HiveColumnHandle> columns) static org.apache.hadoop.hive.serde2.DeserializergetDeserializer(org.apache.hadoop.conf.Configuration configuration, Properties schema) static org.apache.hadoop.mapred.InputFormat<?,?> getInputFormat(org.apache.hadoop.conf.Configuration configuration, Properties schema) static org.apache.hadoop.hive.serde2.objectinspector.StructObjectInspectorgetTableObjectInspector(org.apache.hadoop.hive.serde2.Deserializer deserializer)
-
Method Details
-
createRecordReader
public static org.apache.hadoop.mapred.RecordReader<?,?> createRecordReader(org.apache.hadoop.conf.Configuration configuration, org.apache.hadoop.fs.Path path, long start, long length, Properties schema, List<HiveColumnHandle> columns) -
getInputFormat
public static org.apache.hadoop.mapred.InputFormat<?,?> getInputFormat(org.apache.hadoop.conf.Configuration configuration, Properties schema) -
getTableObjectInspector
public static org.apache.hadoop.hive.serde2.objectinspector.StructObjectInspector getTableObjectInspector(org.apache.hadoop.hive.serde2.Deserializer deserializer) -
getDeserializer
public static org.apache.hadoop.hive.serde2.Deserializer getDeserializer(org.apache.hadoop.conf.Configuration configuration, Properties schema)
-