Class PbDecodingFormat

  • All Implemented Interfaces:
    org.apache.flink.table.connector.format.DecodingFormat<org.apache.flink.api.common.serialization.DeserializationSchema<org.apache.flink.table.data.RowData>>, org.apache.flink.table.connector.format.Format

    public class PbDecodingFormat
    extends Object
    implements org.apache.flink.table.connector.format.DecodingFormat<org.apache.flink.api.common.serialization.DeserializationSchema<org.apache.flink.table.data.RowData>>
    DecodingFormat for protobuf decoding.
    • Constructor Detail

      • PbDecodingFormat

        public PbDecodingFormat​(PbFormatConfig formatConfig)
    • Method Detail

      • createRuntimeDecoder

        public org.apache.flink.api.common.serialization.DeserializationSchema<org.apache.flink.table.data.RowData> createRuntimeDecoder​(org.apache.flink.table.connector.source.DynamicTableSource.Context context,
                                                                                                                                         org.apache.flink.table.types.DataType producedDataType)
        Specified by:
        createRuntimeDecoder in interface org.apache.flink.table.connector.format.DecodingFormat<org.apache.flink.api.common.serialization.DeserializationSchema<org.apache.flink.table.data.RowData>>
      • getChangelogMode

        public org.apache.flink.table.connector.ChangelogMode getChangelogMode()
        Specified by:
        getChangelogMode in interface org.apache.flink.table.connector.format.Format