public class MySqlSyncDatabaseActionFactory extends SyncDatabaseActionFactoryBase<MySqlSyncDatabaseAction>
MySqlSyncDatabaseAction
.Modifier and Type | Field and Description |
---|---|
static String |
IDENTIFIER |
database, warehouse
catalogConfig, cdcSourceConfig
CATALOG_CONF, DATABASE, EXPIRATIONTIME, EXPIRE_STRATEGY, HELP, LOG, PARTITION, PATH, TABLE, TABLE_CONF, TIMESTAMP_PATTERN, TIMESTAMPFORMATTER, WAREHOUSE
Constructor and Description |
---|
MySqlSyncDatabaseActionFactory() |
Modifier and Type | Method and Description |
---|---|
protected String |
cdcConfigIdentifier() |
MySqlSyncDatabaseAction |
createAction() |
String |
identifier()
Returns a unique identifier among same factory interfaces.
|
void |
printHelp() |
protected void |
withParams(MultipleParameterToolAdapter params,
MySqlSyncDatabaseAction action) |
create
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkRequiredArgument, createAction, getPartitions, getRequiredValue, getTablePath, optionalConfigMap, optionalConfigMapList, printDefaultHelp
public static final String IDENTIFIER
public String identifier()
Factory
For consistency, an identifier should be declared as one lower case word (e.g. kafka
). If multiple factories exist for different versions, a version should be appended
using "-" (e.g. elasticsearch-7
).
protected String cdcConfigIdentifier()
cdcConfigIdentifier
in class SynchronizationActionFactoryBase<MySqlSyncDatabaseAction>
public MySqlSyncDatabaseAction createAction()
createAction
in class SynchronizationActionFactoryBase<MySqlSyncDatabaseAction>
protected void withParams(MultipleParameterToolAdapter params, MySqlSyncDatabaseAction action)
withParams
in class SyncDatabaseActionFactoryBase<MySqlSyncDatabaseAction>
public void printHelp()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.