Class MaxwellJsonDecodingFormat
java.lang.Object
org.apache.flink.formats.json.maxwell.MaxwellJsonDecodingFormat
- 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 MaxwellJsonDecodingFormat
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 Maxwell using JSON encoding.-
Constructor Summary
ConstructorsConstructorDescriptionMaxwellJsonDecodingFormat(boolean ignoreParseErrors, org.apache.flink.formats.common.TimestampFormat timestampFormat) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyReadableMetadata(List<String> metadataKeys) 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.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.ProjectableDecodingFormat
createRuntimeDecoder, supportsNestedProjection
-
Constructor Details
-
MaxwellJsonDecodingFormat
public MaxwellJsonDecodingFormat(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:
createRuntimeDecoderin interfaceorg.apache.flink.table.connector.format.ProjectableDecodingFormat<org.apache.flink.api.common.serialization.DeserializationSchema<org.apache.flink.table.data.RowData>>
-
listReadableMetadata
- Specified by:
listReadableMetadatain interfaceorg.apache.flink.table.connector.format.DecodingFormat<org.apache.flink.api.common.serialization.DeserializationSchema<org.apache.flink.table.data.RowData>>
-
applyReadableMetadata
- Specified by:
applyReadableMetadatain 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
-