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(ShardingSphereMetaData shardingSphereMetaData,
T sqlStatement,
R currentRuleConfig)
Check SQL statement.
|
Class<R> |
getRuleConfigurationClass()
Get rule configuration class.
|
void checkSQLStatement(ShardingSphereMetaData shardingSphereMetaData, T sqlStatement, R currentRuleConfig) throws DistSQLException
shardingSphereMetaData - ShardingSphere meta datasqlStatement - SQL statementcurrentRuleConfig - current rule configurationDistSQLException - definition violation exceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.