org.apache.hadoop.mapred
Class TextOutputFormat
java.lang.Object
org.apache.hadoop.mapred.OutputFormatBase
org.apache.hadoop.mapred.TextOutputFormat
- All Implemented Interfaces:
- OutputFormat
- Direct Known Subclasses:
- StreamOutputFormat
public class TextOutputFormat
- extends OutputFormatBase
An OutputFormat
that writes plain text files.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextOutputFormat
public TextOutputFormat()
getRecordWriter
public RecordWriter getRecordWriter(FileSystem ignored,
JobConf job,
String name,
Progressable progress)
throws IOException
- Description copied from interface:
OutputFormat
- Construct a
RecordWriter
with Progressable.
- Specified by:
getRecordWriter
in interface OutputFormat
- Specified by:
getRecordWriter
in class OutputFormatBase
job
- the job whose output is being writtenname
- the unique name for this part of the outputprogress
- mechanism for reporting progress while writing to file
- Returns:
- a
RecordWriter
- Throws:
IOException
Copyright © 2006 The Apache Software Foundation