public class MySqlActionUtils extends Object
Modifier and Type | Field and Description |
---|---|
static org.apache.flink.configuration.ConfigOption<Boolean> |
SCAN_NEWLY_ADDED_TABLE_ENABLED |
Constructor and Description |
---|
MySqlActionUtils() |
Modifier and Type | Method and Description |
---|---|
static org.apache.flink.cdc.connectors.mysql.source.MySqlSource<CdcSourceRecord> |
buildMySqlSource(org.apache.flink.configuration.Configuration mySqlConfig,
String tableList,
TypeMapping typeMapping) |
static CdcTimestampExtractor |
createCdcTimestampExtractor() |
static JdbcSchemasInfo |
getMySqlTableInfos(org.apache.flink.configuration.Configuration mySqlConfig,
java.util.function.Predicate<String> monitorTablePredication,
List<Identifier> excludedTables,
TypeMapping typeMapping) |
static void |
registerJdbcDriver() |
public static final org.apache.flink.configuration.ConfigOption<Boolean> SCAN_NEWLY_ADDED_TABLE_ENABLED
public static JdbcSchemasInfo getMySqlTableInfos(org.apache.flink.configuration.Configuration mySqlConfig, java.util.function.Predicate<String> monitorTablePredication, List<Identifier> excludedTables, TypeMapping typeMapping) throws Exception
Exception
public static org.apache.flink.cdc.connectors.mysql.source.MySqlSource<CdcSourceRecord> buildMySqlSource(org.apache.flink.configuration.Configuration mySqlConfig, String tableList, TypeMapping typeMapping)
public static void registerJdbcDriver()
public static CdcTimestampExtractor createCdcTimestampExtractor()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.