Class DebeziumJsonDecodingFormat

java.lang.Object
org.apache.flink.formats.json.debezium.DebeziumJsonDecodingFormat
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, org.apache.flink.table.connector.format.ProjectableDecodingFormat<org.apache.flink.api.common.serialization.DeserializationSchema<org.apache.flink.table.data.RowData>>

public class DebeziumJsonDecodingFormat extends Object implements org.apache.flink.table.connector.format.ProjectableDecodingFormat<org.apache.flink.api.common.serialization.DeserializationSchema<org.apache.flink.table.data.RowData>>
DecodingFormat for Debezium using JSON encoding.
  • Constructor Summary

    Constructors
    Constructor
    Description
    DebeziumJsonDecodingFormat(boolean schemaInclude, boolean ignoreParseErrors, org.apache.flink.formats.common.TimestampFormat timestampFormat)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    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 physicalDataType, int[][] projections)
     
    org.apache.flink.table.connector.ChangelogMode
     
    Map<String,org.apache.flink.table.types.DataType>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.flink.table.connector.format.ProjectableDecodingFormat

    createRuntimeDecoder, supportsNestedProjection
  • Constructor Details

    • DebeziumJsonDecodingFormat

      public DebeziumJsonDecodingFormat(boolean schemaInclude, boolean ignoreParseErrors, org.apache.flink.formats.common.TimestampFormat timestampFormat)
  • Method Details

    • 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 physicalDataType, int[][] projections)
      Specified by:
      createRuntimeDecoder in interface org.apache.flink.table.connector.format.ProjectableDecodingFormat<org.apache.flink.api.common.serialization.DeserializationSchema<org.apache.flink.table.data.RowData>>
    • listReadableMetadata

      public Map<String,org.apache.flink.table.types.DataType> listReadableMetadata()
      Specified by:
      listReadableMetadata in interface org.apache.flink.table.connector.format.DecodingFormat<org.apache.flink.api.common.serialization.DeserializationSchema<org.apache.flink.table.data.RowData>>
    • applyReadableMetadata

      public void applyReadableMetadata(List<String> metadataKeys)
      Specified by:
      applyReadableMetadata 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