public abstract class AbstractDataSourcePreparer extends Object implements DataSourcePreparer
| 构造器和说明 |
|---|
AbstractDataSourcePreparer() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
addIfNotExistsForCreateTableSQL(String createTableSQL) |
protected void |
executeTargetTableSQL(Connection targetConnection,
String sql) |
protected PipelineDataSourceWrapper |
getCachedDataSource(PipelineDataSourceConfiguration dataSourceConfig,
PipelineDataSourceManager dataSourceManager) |
protected PipelineDataSourceWrapper |
getSourceCachedDataSource(MigrationJobConfiguration jobConfig,
PipelineDataSourceManager dataSourceManager) |
protected List<String> |
listCreateLogicalTableSQL(PrepareTargetTablesParameter parameter) |
void |
prepareTargetSchemas(PrepareTargetSchemasParameter parameter)
Prepare target schemas.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprepareTargetTablespublic void prepareTargetSchemas(PrepareTargetSchemasParameter parameter)
DataSourcePreparerprepareTargetSchemas 在接口中 DataSourcePreparerparameter - prepare target schemas parameterprotected final PipelineDataSourceWrapper getSourceCachedDataSource(MigrationJobConfiguration jobConfig, PipelineDataSourceManager dataSourceManager)
protected final PipelineDataSourceWrapper getCachedDataSource(PipelineDataSourceConfiguration dataSourceConfig, PipelineDataSourceManager dataSourceManager)
protected final void executeTargetTableSQL(Connection targetConnection, String sql) throws SQLException
SQLExceptionprotected final String addIfNotExistsForCreateTableSQL(String createTableSQL)
protected final List<String> listCreateLogicalTableSQL(PrepareTargetTablesParameter parameter) throws SQLException
SQLExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.