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 org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
| Modifier and Type | Method and Description |
|---|---|
void |
checkSQLStatement(ShardingSphereDatabase database,
T sqlStatement,
R currentRuleConfig)
Check SQL statement.
|
Class<R> |
getRuleConfigurationClass()
Get rule configuration class.
|
void checkSQLStatement(ShardingSphereDatabase database, T sqlStatement, R currentRuleConfig)
database - databasesqlStatement - SQL statementcurrentRuleConfig - current rule configurationCopyright © 2023 The Apache Software Foundation. All rights reserved.