T - type of SQL statementR - type of rule configurationpublic interface RuleDefinitionUpdater<T extends org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement,R extends RuleConfiguration> extends TypedSPI
| 限定符和类型 | 方法和说明 |
|---|---|
void |
checkSQLStatement(ShardingSphereDatabase database,
T sqlStatement,
R currentRuleConfig)
Check SQL statement.
|
Class<R> |
getRuleConfigurationClass()
Get rule configuration class.
|
getType, getTypeAliasesvoid checkSQLStatement(ShardingSphereDatabase database, T sqlStatement, R currentRuleConfig) throws DistSQLException
database - databasesqlStatement - SQL statementcurrentRuleConfig - current rule configurationDistSQLException - definition violation exceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.