public interface HiveOutputFormat<K,V>
HiveOutputFormat
describes the output-specification for Hive's
operators. It has a method
getHiveRecordWriter(JobConf, Path, Class, boolean, Properties, Progressable)
, with various parameters used to create the final out file and get some
specific settings.org.apache.hadoop.mapred.OutputFormat
,
FileSinkOperator.RecordWriter
,
JobConf
Modifier and Type | Method and Description |
---|---|
FileSinkOperator.RecordWriter |
getHiveRecordWriter(JobConf jc,
Path finalOutPath,
java.lang.Class<? extends Writable> valueClass,
boolean isCompressed,
java.util.Properties tableProperties,
Progressable progress)
create the final out file and get some specific settings.
|
FileSinkOperator.RecordWriter getHiveRecordWriter(JobConf jc, Path finalOutPath, java.lang.Class<? extends Writable> valueClass, boolean isCompressed, java.util.Properties tableProperties, Progressable progress) throws java.io.IOException
jc
- the job configuration filefinalOutPath
- the final output file to be createdvalueClass
- the value class used for createisCompressed
- whether the content is compressed or nottableProperties
- the table properties of this file's corresponding tableprogress
- progress used for status reportjava.io.IOException
Copyright © 2012 The Apache Software Foundation