Package org.apache.orc.mapreduce
Class OrcOutputFormat<V extends Writable>
java.lang.Object
org.apache.hadoop.mapreduce.OutputFormat<K,V>
org.apache.hadoop.mapreduce.lib.output.FileOutputFormat<NullWritable,V>
org.apache.orc.mapreduce.OrcOutputFormat<V>
An ORC output format that satisfies the org.apache.hadoop.mapreduce API.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.lib.output.FileOutputFormat
FileOutputFormat.Counter
-
Field Summary
Fields inherited from class org.apache.hadoop.mapreduce.lib.output.FileOutputFormat
BASE_OUTPUT_NAME, COMPRESS, COMPRESS_CODEC, COMPRESS_TYPE, OUTDIR, PART
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDefaultWorkFile
(TaskAttemptContext context, String extension) getRecordWriter
(TaskAttemptContext taskAttemptContext) Methods inherited from class org.apache.hadoop.mapreduce.lib.output.FileOutputFormat
checkOutputSpecs, getCompressOutput, getOutputCommitter, getOutputCompressorClass, getOutputName, getOutputPath, getPathForWorkFile, getUniqueFile, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputName, setOutputPath
-
Field Details
-
SKIP_TEMP_DIRECTORY
- See Also:
-
-
Constructor Details
-
OrcOutputFormat
public OrcOutputFormat()
-
-
Method Details
-
getRecordWriter
public RecordWriter<NullWritable,V> getRecordWriter(TaskAttemptContext taskAttemptContext) throws IOException - Specified by:
getRecordWriter
in classFileOutputFormat<NullWritable,
V extends Writable> - Throws:
IOException
-
getDefaultWorkFile
- Overrides:
getDefaultWorkFile
in classFileOutputFormat<NullWritable,
V extends Writable> - Throws:
IOException
-