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 -
Method Summary
Modifier and TypeMethodDescriptionorg.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.ChangelogModeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.table.connector.format.DecodingFormat
applyReadableMetadata, listReadableMetadata
-
Constructor Details
-
ChangelogCsvFormat
-
-
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:
createRuntimeDecoderin interfaceorg.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:
getChangelogModein interfaceorg.apache.flink.table.connector.format.Format
-