public class TextOutputFormat<K,V> extends FileOutputFormat<K,V>
OutputFormat
that writes plain text files.限定符和类型 | 类和说明 |
---|---|
protected static class |
TextOutputFormat.LineRecordWriter<K,V> |
FileOutputFormat.Counter
构造器和说明 |
---|
TextOutputFormat() |
限定符和类型 | 方法和说明 |
---|---|
RecordWriter<K,V> |
getRecordWriter(FileSystem ignored,
JobConf job,
String name,
Progressable progress)
Get the
RecordWriter for the given job. |
checkOutputSpecs, getCompressOutput, getOutputCompressorClass, getOutputPath, getPathForCustomFile, getTaskOutputPath, getUniqueName, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputPath
public RecordWriter<K,V> getRecordWriter(FileSystem ignored, JobConf job, String name, Progressable progress) throws IOException
OutputFormat
RecordWriter
for the given job.getRecordWriter
在接口中 OutputFormat<K,V>
getRecordWriter
在类中 FileOutputFormat<K,V>
job
- configuration for the job whose output is being written.name
- the unique name for this part of the output.progress
- mechanism for reporting progress while writing to file.RecordWriter
to write the output for the job.IOException
Copyright © 2009 The Apache Software Foundation