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,
GenericData dataModel,
CodecFactory compressionCodec,
OutputStream outputStream,
int syncInterval)
Creates a new record writer instance.
|
protected AvroKeyOutputFormat.RecordWriterFactory()
protected RecordWriter<AvroKey<T>,NullWritable> create(Schema writerSchema, GenericData dataModel, CodecFactory compressionCodec, OutputStream outputStream, int syncInterval) 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.syncInterval
- The sync interval for the writer file.IOException
Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.