public static class AvroDatumFactory.GenericDatumFactory extends AvroDatumFactory<GenericRecord>
AvroDatumFactory
for GenericRecord
.AvroDatumFactory.GenericDatumFactory, AvroDatumFactory.ReflectDatumFactory<T>, AvroDatumFactory.SpecificDatumFactory<T>
Modifier and Type | Field and Description |
---|---|
static AvroDatumFactory.GenericDatumFactory |
INSTANCE |
type
Constructor and Description |
---|
GenericDatumFactory() |
Modifier and Type | Method and Description |
---|---|
DatumWriter<GenericRecord> |
apply(Schema writer) |
DatumReader<GenericRecord> |
apply(Schema writer,
Schema reader) |
public static final AvroDatumFactory.GenericDatumFactory INSTANCE
public DatumReader<GenericRecord> apply(Schema writer, Schema reader)
public DatumWriter<GenericRecord> apply(Schema writer)