Package org.apache.flink.formats.avro
Class RowDataToAvroConverters
- java.lang.Object
-
- org.apache.flink.formats.avro.RowDataToAvroConverters
-
@Internal public class RowDataToAvroConverters extends Object
Tool class used to convert fromRowDatato AvroGenericRecord.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRowDataToAvroConverters.RowDataToAvroConverterRuntime converter that converts objects of Flink Table & SQL internal data structures to corresponding Avro data structures.
-
Constructor Summary
Constructors Constructor Description RowDataToAvroConverters()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RowDataToAvroConverters.RowDataToAvroConvertercreateConverter(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.
-
-
-
Method Detail
-
createConverter
public static RowDataToAvroConverters.RowDataToAvroConverter 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.
-
-