@InterfaceAudience.Public @InterfaceStability.Stable public class TextOutputFormat<K,V> extends FileOutputFormat<K,V>
OutputFormat that writes plain text files.| Modifier and Type | Class and Description |
|---|---|
protected static class |
TextOutputFormat.LineRecordWriter<K,V> |
FileOutputFormat.Counter| Constructor and Description |
|---|
TextOutputFormat() |
| Modifier and Type | Method and Description |
|---|---|
RecordWriter<K,V> |
getRecordWriter(org.apache.hadoop.fs.FileSystem ignored,
JobConf job,
String name,
org.apache.hadoop.util.Progressable progress)
Get the
RecordWriter for the given job. |
checkOutputSpecs, getCompressOutput, getOutputCompressorClass, getOutputPath, getPathForCustomFile, getTaskOutputPath, getUniqueName, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputPath, setWorkOutputPathpublic RecordWriter<K,V> getRecordWriter(org.apache.hadoop.fs.FileSystem ignored, JobConf job, String name, org.apache.hadoop.util.Progressable progress) throws IOException
OutputFormatRecordWriter for the given job.getRecordWriter in interface OutputFormat<K,V>getRecordWriter in class 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.IOExceptionCopyright © 2020 Apache Software Foundation. All rights reserved.