public abstract class SynchronizationActionFactoryBase<T extends SynchronizationActionBase> extends Object implements ActionFactory
ActionFactory
for table/database synchronizing job.Modifier and Type | Field and Description |
---|---|
protected Map<String,String> |
catalogConfig |
protected Map<String,String> |
cdcSourceConfig |
CATALOG_CONF, DATABASE, EXPIRATIONTIME, EXPIRE_STRATEGY, HELP, LOG, PARTITION, PATH, TABLE, TABLE_CONF, TIMESTAMP_PATTERN, TIMESTAMPFORMATTER, WAREHOUSE
Constructor and Description |
---|
SynchronizationActionFactoryBase() |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
cdcConfigIdentifier() |
Optional<Action> |
create(MultipleParameterToolAdapter params) |
abstract T |
createAction() |
protected abstract void |
withParams(MultipleParameterToolAdapter params,
T action) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkRequiredArgument, createAction, getPartitions, getRequiredValue, getTablePath, optionalConfigMap, optionalConfigMapList, printDefaultHelp, printHelp
identifier
protected abstract String cdcConfigIdentifier()
public abstract T createAction()
public Optional<Action> create(MultipleParameterToolAdapter params)
create
in interface ActionFactory
protected abstract void withParams(MultipleParameterToolAdapter params, T action)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.