T - The type of record to write.public class AvroWriterFactory<T> extends Object implements org.apache.flink.api.common.serialization.BulkWriter.Factory<T>
AvroBulkWriter. The factory takes a user-supplied builder to
assemble Parquet's writer and then turns it into a Flink BulkWriter.| Constructor and Description |
|---|
AvroWriterFactory(AvroBuilder<T> avroBuilder)
Creates a new AvroWriterFactory using the given builder to assemble the ParquetWriter.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.api.common.serialization.BulkWriter<T> |
create(org.apache.flink.core.fs.FSDataOutputStream out) |
public AvroWriterFactory(AvroBuilder<T> avroBuilder)
public org.apache.flink.api.common.serialization.BulkWriter<T> create(org.apache.flink.core.fs.FSDataOutputStream out) throws IOException
create in interface org.apache.flink.api.common.serialization.BulkWriter.Factory<T>IOExceptionCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.