Package org.apache.flink.formats.avro
Interface AvroBuilder<T>
-
- All Superinterfaces:
Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface AvroBuilder<T> extends Serializable
A builder to create anAvroBulkWriterfrom anOutputStream.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.avro.file.DataFileWriter<T>createWriter(OutputStream outputStream)Creates and configures an Avro writer to the given output file.
-
-
-
Method Detail
-
createWriter
org.apache.avro.file.DataFileWriter<T> createWriter(OutputStream outputStream) throws IOException
Creates and configures an Avro writer to the given output file.- Throws:
IOException
-
-