Package org.apache.avro.mapred
Class AvroTextOutputFormat<K,V>
java.lang.Object
org.apache.hadoop.mapred.FileOutputFormat<K,V>
org.apache.avro.mapred.AvroTextOutputFormat<K,V>
- All Implemented Interfaces:
OutputFormat<K,V>
The equivalent of
TextOutputFormat for
writing to Avro Data Files with a "bytes" schema.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.mapred.FileOutputFormat
FileOutputFormat.Counter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRecordWriter(FileSystem ignore, JobConf job, String name, Progressable prog) Methods inherited from class org.apache.hadoop.mapred.FileOutputFormat
checkOutputSpecs, getCompressOutput, getOutputCompressorClass, getOutputPath, getPathForCustomFile, getTaskOutputPath, getUniqueName, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputPath, setWorkOutputPath
-
Constructor Details
-
AvroTextOutputFormat
public AvroTextOutputFormat()
-
-
Method Details
-
getRecordWriter
public RecordWriter<K,V> getRecordWriter(FileSystem ignore, JobConf job, String name, Progressable prog) throws IOException - Specified by:
getRecordWriterin interfaceOutputFormat<K,V> - Specified by:
getRecordWriterin classFileOutputFormat<K,V> - Throws:
IOException
-