org.apache.hadoop.hive.ql.io
Interface HiveOutputFormat<K,V>
- All Superinterfaces:
- org.apache.hadoop.mapred.OutputFormat<K,V>
- All Known Subinterfaces:
- AcidOutputFormat<V>
- All Known Implementing Classes:
- AvroContainerOutputFormat, HiveBinaryOutputFormat, HiveIgnoreKeyTextOutputFormat, HiveNullValueSequenceFileOutputFormat, HivePassThroughOutputFormat, HiveSequenceFileOutputFormat, MapredParquetOutputFormat, OrcOutputFormat, PTFRowContainer.PTFHiveSequenceFileOutputFormat, RCFileOutputFormat
public interface HiveOutputFormat<K,V>
- extends org.apache.hadoop.mapred.OutputFormat<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.
- See Also:
OutputFormat,
FileSinkOperator.RecordWriter,
JobConf
|
Method Summary |
FileSinkOperator.RecordWriter |
getHiveRecordWriter(org.apache.hadoop.mapred.JobConf jc,
org.apache.hadoop.fs.Path finalOutPath,
Class<? extends org.apache.hadoop.io.Writable> valueClass,
boolean isCompressed,
Properties tableProperties,
org.apache.hadoop.util.Progressable progress)
create the final out file and get some specific settings. |
| Methods inherited from interface org.apache.hadoop.mapred.OutputFormat |
checkOutputSpecs, getRecordWriter |
getHiveRecordWriter
FileSinkOperator.RecordWriter getHiveRecordWriter(org.apache.hadoop.mapred.JobConf jc,
org.apache.hadoop.fs.Path finalOutPath,
Class<? extends org.apache.hadoop.io.Writable> valueClass,
boolean isCompressed,
Properties tableProperties,
org.apache.hadoop.util.Progressable progress)
throws IOException
- create the final out file and get some specific settings.
- Parameters:
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 report
- Returns:
- the RecordWriter for the output file
- Throws:
IOException
Copyright © 2014 The Apache Software Foundation. All rights reserved.