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 an AvroBulkWriter from an OutputStream.
  • Method Summary

    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 Details

    • 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