Class OutputFormat<K,V>

java.lang.Object
org.apache.hadoop.mapreduce.OutputFormat<K,V>
Direct Known Subclasses:
DBOutputFormat, FileOutputFormat, FilterOutputFormat, NullOutputFormat

@Public @Stable public abstract class OutputFormat<K,V> extends Object
OutputFormat describes the output-specification for a Map-Reduce job.

The Map-Reduce framework relies on the OutputFormat of the job to:

  1. Validate the output-specification of the job. For e.g. check that the output directory doesn't already exist.
  2. Provide the RecordWriter implementation to be used to write out the output files of the job. Output files are stored in a FileSystem.
See Also:
  • Constructor Details

    • OutputFormat

      public OutputFormat()
  • Method Details