@InterfaceAudience.Public @InterfaceStability.Stable public class TextOutputFormat<K,V> extends FileOutputFormat<K,V>
OutputFormat that writes plain text files.| Constructor and Description | 
|---|
| TextOutputFormat() | 
| Modifier and Type | Method and Description | 
|---|---|
| RecordWriter<K,V> | getRecordWriter(FileSystem ignored,
               JobConf job,
               String name,
               Progressable progress)Get the  RecordWriterfor the given job. | 
checkOutputSpecs, getCompressOutput, getOutputCompressorClass, getOutputPath, getPathForCustomFile, getTaskOutputPath, getUniqueName, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputPathpublic RecordWriter<K,V> getRecordWriter(FileSystem ignored, JobConf job, String name, 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 © 2025 Apache Software Foundation. All rights reserved.