Class GenericAvroWriter<T>

    • Method Detail

      • create

        public static <D> GenericAvroWriter<D> create​(org.apache.avro.Schema schema)
      • setSchema

        public void setSchema​(org.apache.avro.Schema schema)
        Specified by:
        setSchema in interface org.apache.avro.io.DatumWriter<T>
      • write

        public void write​(T datum,
                          org.apache.avro.io.Encoder out)
                   throws java.io.IOException
        Specified by:
        write in interface org.apache.avro.io.DatumWriter<T>
        Throws:
        java.io.IOException