Package org.apache.flink.formats.avro
Class AvroToRowDataConverters
java.lang.Object
org.apache.flink.formats.avro.AvroToRowDataConverters
Tool class used to convert from Avro
GenericRecord to RowData. *-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceRuntime converter that converts Avro data structures into objects of Flink Table & SQL internal data structures. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateRowConverter(org.apache.flink.table.types.logical.RowType rowType) createRowConverter(org.apache.flink.table.types.logical.RowType rowType, boolean legacyTimestampMapping)
-
Constructor Details
-
AvroToRowDataConverters
public AvroToRowDataConverters()
-
-
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)
-