T - type of SQL statementpublic interface SchemaRefresher<T extends org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement> extends MetadataRefresher
| Modifier and Type | Method and Description |
|---|---|
void |
refresh(ShardingSphereSchema schema,
Collection<String> routeDataSourceNames,
T sqlStatement,
SchemaBuilderMaterials materials)
Refresh ShardingSphere schema.
|
void refresh(ShardingSphereSchema schema, Collection<String> routeDataSourceNames, T sqlStatement, SchemaBuilderMaterials materials) throws SQLException
schema - ShardingSphere schema to be refreshedrouteDataSourceNames - route dataSource namessqlStatement - SQL statementmaterials - schema builder materialsSQLException - SQL exceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.