Package | Description |
---|---|
org.apache.flink.formats.avro |
Modifier and Type | Method and Description |
---|---|
static AvroWriterFactory<org.apache.avro.generic.GenericRecord> |
AvroWriters.forGenericRecord(org.apache.avro.Schema schema)
Creates an
AvroWriterFactory that accepts and writes Avro generic types. |
static <T> AvroWriterFactory<T> |
AvroWriters.forReflectRecord(Class<T> type)
Creates an
AvroWriterFactory for the given type. |
static <T extends org.apache.avro.specific.SpecificRecordBase> |
AvroWriters.forSpecificRecord(Class<T> type)
Creates an
AvroWriterFactory for an Avro specific type. |
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.