K - The type of key to write.V - The type of value to write.public abstract class AvroOutputFormatBase<K,V> extends FileOutputFormat<K,V>
FileOutputFormat.Counter| Constructor and Description | 
|---|
AvroOutputFormatBase()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected OutputStream | 
getAvroFileOutputStream(TaskAttemptContext context)
Gets the target output stream where the Avro container file should be written. 
 | 
protected static CodecFactory | 
getCompressionCodec(TaskAttemptContext context)
Gets the configured compression codec from the task context. 
 | 
checkOutputSpecs, getCompressOutput, getDefaultWorkFile, getOutputCommitter, getOutputCompressorClass, getOutputPath, getPathForWorkFile, getRecordWriter, getUniqueFile, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputPathprotected static CodecFactory getCompressionCodec(TaskAttemptContext context)
context - The task attempt context.protected OutputStream getAvroFileOutputStream(TaskAttemptContext context) throws IOException
context - The task attempt context.IOExceptionCopyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.