Class RowDataToAvroGenericRecordConverter

  • All Implemented Interfaces:
    java.util.function.Function<org.apache.flink.table.data.RowData,​org.apache.avro.generic.GenericRecord>

    @Internal
    public class RowDataToAvroGenericRecordConverter
    extends java.lang.Object
    implements java.util.function.Function<org.apache.flink.table.data.RowData,​org.apache.avro.generic.GenericRecord>
    This is not serializable because Avro Schema is not actually serializable, even though it implements Serializable interface.
    • Method Detail

      • apply

        public org.apache.avro.generic.GenericRecord apply​(org.apache.flink.table.data.RowData rowData)
        Specified by:
        apply in interface java.util.function.Function<org.apache.flink.table.data.RowData,​org.apache.avro.generic.GenericRecord>