Interface MetaDataRefresher<T extends org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement>
-
- Type Parameters:
T- type of SQL statement
- All Superinterfaces:
org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
- All Known Implementing Classes:
AlterIndexStatementSchemaRefresher,AlterSchemaStatementSchemaRefresher,AlterTableStatementSchemaRefresher,AlterViewStatementSchemaRefresher,CreateIndexStatementSchemaRefresher,CreateSchemaStatementSchemaRefresher,CreateTableStatementSchemaRefresher,CreateViewStatementSchemaRefresher,DropIndexStatementSchemaRefresher,DropSchemaStatementSchemaRefresher,DropTableStatementSchemaRefresher,DropViewStatementSchemaRefresher,RenameTableStatementSchemaRefresher
public interface MetaDataRefresher<T extends org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement> extends org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPIMeta data refresher.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrefresh(org.apache.shardingsphere.infra.instance.mode.ModeContextManager modeContextManager, org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase database, Collection<String> logicDataSourceNames, String schemaName, T sqlStatement, org.apache.shardingsphere.infra.config.props.ConfigurationProperties props)Refresh schema.
-
-
-
Method Detail
-
refresh
void refresh(org.apache.shardingsphere.infra.instance.mode.ModeContextManager modeContextManager, org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase database, Collection<String> logicDataSourceNames, String schemaName, T sqlStatement, org.apache.shardingsphere.infra.config.props.ConfigurationProperties props) throws SQLExceptionRefresh schema.- Parameters:
modeContextManager- mode context managerdatabase- databaselogicDataSourceNames- route data source namesschemaName- schema namesqlStatement- SQL statementprops- configuration properties- Throws:
SQLException- SQL exception
-
-