Interface AvroIO.RecordFormatter<ElementT>

  • All Superinterfaces:
    java.io.Serializable
    Enclosing class:
    AvroIO

    @Deprecated
    public static interface AvroIO.RecordFormatter<ElementT>
    extends java.io.Serializable
    Deprecated.
    Users can achieve the same by providing this transform in a ParDo before using write in AvroIO AvroIO.write(Class).
    Formats an element of a user type into a record with the given schema.
    • Method Detail

      • formatRecord

        org.apache.avro.generic.GenericRecord formatRecord​(ElementT element,
                                                           org.apache.avro.Schema schema)
        Deprecated.