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