|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.mapreduce.OutputFormat<K,V>
org.apache.hadoop.mapreduce.lib.output.FileOutputFormat<K,V>
org.apache.hadoop.mapreduce.lib.output.TextOutputFormat<K,V>
public class TextOutputFormat<K,V>
An OutputFormat
that writes plain text files.
Nested Class Summary | |
---|---|
protected static class |
TextOutputFormat.LineRecordWriter<K,V>
|
Constructor Summary | |
---|---|
TextOutputFormat()
|
Method Summary | |
---|---|
RecordWriter<K,V> |
getRecordWriter(TaskAttemptContext job)
Get the RecordWriter for the given task. |
Methods inherited from class org.apache.hadoop.mapreduce.lib.output.FileOutputFormat |
---|
checkOutputSpecs, getCompressOutput, getDefaultWorkFile, getOutputCommitter, getOutputCompressorClass, getOutputPath, getPathForWorkFile, getUniqueFile, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputPath |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextOutputFormat()
Method Detail |
---|
public RecordWriter<K,V> getRecordWriter(TaskAttemptContext job) throws java.io.IOException, java.lang.InterruptedException
OutputFormat
RecordWriter
for the given task.
getRecordWriter
in class FileOutputFormat<K,V>
job
- the information about the current task.
RecordWriter
to write the output for the job.
java.io.IOException
java.lang.InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |