public class MySqlRecordParser extends Object implements org.apache.flink.api.common.functions.FlatMapFunction<CdcSourceRecord,RichCdcMultiplexRecord>
RichCdcMultiplexRecord
s.Constructor and Description |
---|
MySqlRecordParser(org.apache.flink.configuration.Configuration mySqlConfig,
List<ComputedColumn> computedColumns,
TypeMapping typeMapping,
CdcMetadataConverter[] metadataConverters) |
Modifier and Type | Method and Description |
---|---|
protected RichCdcMultiplexRecord |
createRecord(RowKind rowKind,
Map<String,String> data) |
void |
flatMap(CdcSourceRecord rawEvent,
org.apache.flink.util.Collector<RichCdcMultiplexRecord> out) |
public MySqlRecordParser(org.apache.flink.configuration.Configuration mySqlConfig, List<ComputedColumn> computedColumns, TypeMapping typeMapping, CdcMetadataConverter[] metadataConverters)
public void flatMap(CdcSourceRecord rawEvent, org.apache.flink.util.Collector<RichCdcMultiplexRecord> out) throws Exception
flatMap
in interface org.apache.flink.api.common.functions.FlatMapFunction<CdcSourceRecord,RichCdcMultiplexRecord>
Exception
protected RichCdcMultiplexRecord createRecord(RowKind rowKind, Map<String,String> data)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.