Java org.apache.hadoop.mapred FileOutputFormat fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.mapred FileOutputFormat fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.mapred FileOutputFormat.

The text is from its open source code.

Subclass

org.apache.hadoop.mapred.FileOutputFormat has subclasses.
Click this link to see all its subclasses.

Method

booleangetCompressOutput(JobConf conf)
Is the job output compressed?
ClassgetOutputCompressorClass(JobConf conf, Class defaultValue)
Get the CompressionCodec for compressing the job outputs.
PathgetOutputPath(JobConf conf)
Get the Path to the output directory for the map-reduce job.
PathgetTaskOutputPath(JobConf conf, String name)
Helper function to create the task's temporary output directory and return the path to the task's output file.
StringgetUniqueName(JobConf conf, String name)
Helper function to generate a name that is unique for the task.
PathgetWorkOutputPath(JobConf conf)
Get the Path to the task's temporary output directory for the map-reduce job Tasks' Side-Effect Files

Note: The following is valid only if the OutputCommitter is FileOutputCommitter .

voidsetCompressOutput(JobConf conf, boolean compress)
Set whether the output of the job is compressed.
voidsetOutputCompressorClass(JobConf conf, Class codecClass)
Set the CompressionCodec to be used to compress job outputs.
voidsetOutputPath(JobConf conf, Path outputDir)
Set the Path of the output directory for the map-reduce job.
voidsetWorkOutputPath(JobConf conf, Path outputDir)
Set the Path of the task's temporary output directory for the map-reduce job.