Interface RuleDefinitionUpdater<T extends org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement,R extends RuleConfiguration>
- Type Parameters:
T- type of SQL statementR- type of rule configuration
- All Superinterfaces:
org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
- All Known Subinterfaces:
RuleDefinitionAlterUpdater<T,,R> RuleDefinitionCreateUpdater<T,,R> RuleDefinitionDropUpdater<T,R>
public 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
Rule definition updater.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcheckSQLStatement(ShardingSphereDatabase database, T sqlStatement, R currentRuleConfig) Check SQL statement.Get rule configuration class.Methods inherited from interface org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
getType, getTypeAliases, init, isDefault
-
Method Details
-
checkSQLStatement
Check SQL statement.- Parameters:
database- databasesqlStatement- SQL statementcurrentRuleConfig- current rule configuration
-
getRuleConfigurationClass
Get rule configuration class.- Returns:
- rule configuration class
-