Class AvroToRowDataConverters
java.lang.Object
org.apache.iceberg.flink.formats.avro.AvroToRowDataConverters
Tool class used to convert from Avro
GenericRecord to RowData.
This class is adapted in Iceberg to add support for nanosecond precision timestamps (FLINK-39251). Once that ticket is resolved in Flink, this custom converter may be removed.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceRuntime converter that converts Avro data structures into objects of Flink Table & SQL internal data structures. -
Method Summary
Modifier and TypeMethodDescriptioncreateRowConverter(org.apache.flink.table.types.logical.RowType rowType) createRowConverter(org.apache.flink.table.types.logical.RowType rowType, boolean legacyTimestampMapping)
-
Method Details
-
createRowConverter
public static AvroToRowDataConverters.AvroToRowDataConverter createRowConverter(org.apache.flink.table.types.logical.RowType rowType) -
createRowConverter
public static AvroToRowDataConverters.AvroToRowDataConverter createRowConverter(org.apache.flink.table.types.logical.RowType rowType, boolean legacyTimestampMapping)
-