Class CreateSchemaStatementSchemaRefresher
- java.lang.Object
-
- org.apache.shardingsphere.infra.connection.refresher.type.schema.CreateSchemaStatementSchemaRefresher
-
- All Implemented Interfaces:
MetaDataRefresher<org.apache.shardingsphere.sql.parser.sql.common.statement.ddl.CreateSchemaStatement>,org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
public final class CreateSchemaStatementSchemaRefresher extends Object implements MetaDataRefresher<org.apache.shardingsphere.sql.parser.sql.common.statement.ddl.CreateSchemaStatement>
Schema refresher for create schema statement.
-
-
Constructor Summary
Constructors Constructor Description CreateSchemaStatementSchemaRefresher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetType()voidrefresh(org.apache.shardingsphere.infra.instance.mode.ModeContextManager modeContextManager, org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase database, Collection<String> logicDataSourceNames, String schemaName, org.apache.shardingsphere.sql.parser.sql.common.statement.ddl.CreateSchemaStatement sqlStatement, org.apache.shardingsphere.infra.config.props.ConfigurationProperties props)Refresh schema.
-
-
-
Method Detail
-
refresh
public void refresh(org.apache.shardingsphere.infra.instance.mode.ModeContextManager modeContextManager, org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase database, Collection<String> logicDataSourceNames, String schemaName, org.apache.shardingsphere.sql.parser.sql.common.statement.ddl.CreateSchemaStatement sqlStatement, org.apache.shardingsphere.infra.config.props.ConfigurationProperties props)Description copied from interface:MetaDataRefresherRefresh schema.- Specified by:
refreshin interfaceMetaDataRefresher<org.apache.shardingsphere.sql.parser.sql.common.statement.ddl.CreateSchemaStatement>- Parameters:
modeContextManager- mode context managerdatabase- databaselogicDataSourceNames- route data source namesschemaName- schema namesqlStatement- SQL statementprops- configuration properties
-
getType
public String getType()
- Specified by:
getTypein interfaceorg.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
-
-