Class AvroDatumFactory<T>

java.lang.Object
org.apache.beam.sdk.extensions.avro.io.AvroDatumFactory<T>
All Implemented Interfaces:
Serializable, AvroSink.DatumWriterFactory<T>, AvroSource.DatumReaderFactory<T>
Direct Known Subclasses:
AvroDatumFactory.GenericDatumFactory, AvroDatumFactory.ReflectDatumFactory, AvroDatumFactory.SpecificDatumFactory

public abstract class AvroDatumFactory<T> extends Object implements AvroSource.DatumReaderFactory<T>, AvroSink.DatumWriterFactory<T>
Create DatumReader and DatumWriter for given schemas.
See Also:
  • Field Details

    • type

      protected final Class<T> type
  • Constructor Details

    • AvroDatumFactory

      public AvroDatumFactory(Class<T> type)
  • Method Details