Example usage for Java org.apache.hadoop.mapred FileOutputFormat fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | getCompressOutput(JobConf conf) Is the job output compressed? |
Class extends CompressionCodec> | getOutputCompressorClass(JobConf conf, Class extends CompressionCodec> defaultValue) Get the CompressionCodec for compressing the job outputs. |
Path | getOutputPath(JobConf conf) Get the Path to the output directory for the map-reduce job. |
Path | getTaskOutputPath(JobConf conf, String name) Helper function to create the task's temporary output directory and return the path to the task's output file. |
String | getUniqueName(JobConf conf, String name) Helper function to generate a name that is unique for the task. |
Path | getWorkOutputPath(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 . |
void | setCompressOutput(JobConf conf, boolean compress) Set whether the output of the job is compressed. |
void | setOutputCompressorClass(JobConf conf, Class extends CompressionCodec> codecClass) Set the CompressionCodec to be used to compress job outputs. |
void | setOutputPath(JobConf conf, Path outputDir) Set the Path of the output directory for the map-reduce job. |
void | setWorkOutputPath(JobConf conf, Path outputDir) Set the Path of the task's temporary output directory for the map-reduce job. |