@Internal public class AvroToRowDataConverters extends Object
GenericRecord to RowData.
NOTE: reference from Flink release 1.12.0, should remove when Flink version upgrade to that.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AvroToRowDataConverters.AvroToRowDataConverter
Runtime converter that converts Avro data structures into objects of Flink Table & SQL
internal data structures.
|
| Constructor and Description |
|---|
AvroToRowDataConverters() |
| Modifier and Type | Method and Description |
|---|---|
static AvroToRowDataConverters.AvroToRowDataConverter |
createConverter(org.apache.flink.table.types.logical.LogicalType type)
Creates a runtime converter which assuming input object is not null.
|
static AvroToRowDataConverters.AvroToRowDataConverter |
createRowConverter(org.apache.flink.table.types.logical.RowType rowType) |
public static AvroToRowDataConverters.AvroToRowDataConverter createRowConverter(org.apache.flink.table.types.logical.RowType rowType)
public static AvroToRowDataConverters.AvroToRowDataConverter createConverter(org.apache.flink.table.types.logical.LogicalType type)
Copyright © 2023 The Apache Software Foundation. All rights reserved.