Class ChangelogCsvFormat

java.lang.Object
org.apache.flink.table.examples.java.connectors.ChangelogCsvFormat
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 final class ChangelogCsvFormat extends Object implements org.apache.flink.table.connector.format.DecodingFormat<org.apache.flink.api.common.serialization.DeserializationSchema<org.apache.flink.table.data.RowData>>
The ChangelogCsvFormat is a decoding format that uses a DeserializationSchema during runtime. It supports emitting INSERT and DELETE changes.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ChangelogCsvFormat(String columnDelimiter)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    org.apache.flink.table.connector.ChangelogMode
     

    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.DecodingFormat

    applyReadableMetadata, listReadableMetadata
  • Constructor Details

    • ChangelogCsvFormat

      public ChangelogCsvFormat(String columnDelimiter)
  • 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 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