Class PbDecodingFormat
- java.lang.Object
-
- org.apache.flink.formats.protobuf.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>>
DecodingFormatfor protobuf decoding.
-
-
Constructor Summary
Constructors Constructor Description PbDecodingFormat(PbFormatConfig formatConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods 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.ChangelogModegetChangelogMode()
-
-
-
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:
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
-
-