| Package | Description |
|---|---|
| org.apache.flink.formats.avro |
| Modifier and Type | Method and Description |
|---|---|
static RowDataToAvroConverters.RowDataToAvroConverter |
RowDataToAvroConverters.createConverter(org.apache.flink.table.types.logical.LogicalType type)
Creates a runtime converter according to the given logical type that converts objects of
Flink Table & SQL internal data structures to corresponding Avro data structures.
|
static RowDataToAvroConverters.RowDataToAvroConverter |
RowDataToAvroConverters.createConverter(org.apache.flink.table.types.logical.LogicalType type,
boolean legacyTimestampMapping) |
| Constructor and Description |
|---|
AvroRowDataSerializationSchema(org.apache.flink.table.types.logical.RowType rowType,
org.apache.flink.api.common.serialization.SerializationSchema<org.apache.avro.generic.GenericRecord> nestedSchema,
RowDataToAvroConverters.RowDataToAvroConverter runtimeConverter)
Creates an Avro serialization schema with the given record row type, nested schema and
runtime converters.
|
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.