T - The java type of the avro record to write.protected static class AvroKeyOutputFormat.RecordWriterFactory<T> extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
AvroKeyOutputFormat.RecordWriterFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected RecordWriter<AvroKey<T>,NullWritable> |
create(Schema writerSchema,
CodecFactory compressionCodec,
OutputStream outputStream)
Creates a new record writer instance.
|
protected AvroKeyOutputFormat.RecordWriterFactory()
protected RecordWriter<AvroKey<T>,NullWritable> create(Schema writerSchema, CodecFactory compressionCodec, OutputStream outputStream) throws IOException
writerSchema - The writer schema for the records to write.compressionCodec - The compression type for the writer file.outputStream - The target output stream for the records.IOExceptionCopyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.