T - type of SQL statementpublic interface SchemaRefresher<T extends org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement> extends MetaDataRefresher
| 限定符和类型 | 方法和说明 |
|---|---|
void |
refresh(ShardingSphereMetaData schemaMetaData,
Collection<String> logicDataSourceNames,
T sqlStatement,
ConfigurationProperties props)
Refresh ShardingSphere schema.
|
void refresh(ShardingSphereMetaData schemaMetaData, Collection<String> logicDataSourceNames, T sqlStatement, ConfigurationProperties props) throws SQLException
schemaMetaData - schema meta datalogicDataSourceNames - route dataSource namessqlStatement - SQL statementprops - configuration propertiesSQLException - SQL exceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.