public abstract class AbstractDataSourcePreparer extends Object implements DataSourcePreparer
| 构造器和说明 |
|---|
AbstractDataSourcePreparer() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
addIfNotExistsForCreateTableSQL(String createTableSQL) |
protected void |
executeTargetTableSQL(Connection targetConnection,
String sql) |
protected PipelineDataSourceWrapper |
getCachedDataSource(PipelineDataSourceManager dataSourceManager,
PipelineDataSourceConfiguration dataSourceConfig) |
protected String |
getCreateTargetTableSQL(CreateTableConfiguration.CreateTableEntry createTableEntry,
PipelineDataSourceManager dataSourceManager,
org.apache.shardingsphere.infra.parser.ShardingSphereSQLParserEngine sqlParserEngine) |
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 getCachedDataSource(PipelineDataSourceManager dataSourceManager, PipelineDataSourceConfiguration dataSourceConfig)
protected final void executeTargetTableSQL(Connection targetConnection, String sql) throws SQLException
SQLExceptionprotected final String addIfNotExistsForCreateTableSQL(String createTableSQL)
protected final String getCreateTargetTableSQL(CreateTableConfiguration.CreateTableEntry createTableEntry, PipelineDataSourceManager dataSourceManager, org.apache.shardingsphere.infra.parser.ShardingSphereSQLParserEngine sqlParserEngine) throws SQLException
SQLExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.