@Component public static class AvroRecordWriter.Factory extends Object implements RecordWriter.Factory
| Constructor and Description |
|---|
Factory(org.apache.avro.file.CodecFactory codecFactory) |
| Modifier and Type | Method and Description |
|---|---|
RecordWriter |
create(org.apache.avro.Schema schema,
OutputStream outputStream) |
@Autowired public Factory(org.apache.avro.file.CodecFactory codecFactory)
public RecordWriter create(org.apache.avro.Schema schema, OutputStream outputStream) throws IOException
create in interface RecordWriter.FactoryIOExceptionCopyright © 2016–2020 Hotels.com (Data Platform Team). All rights reserved.