Interface GlobalRuleRALUpdater<T extends org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement,R extends RuleConfiguration>
- All Superinterfaces:
org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
public interface GlobalRuleRALUpdater<T extends org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement,R extends RuleConfiguration>
extends org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
RAL updater for global rule.
-
Method Summary
Modifier and TypeMethodDescriptionbuildAlteredRuleConfiguration(R currentRuleConfig, T sqlStatement) Build altered rule configuration.voidcheckSQLStatement(R currentRuleConfig, T sqlStatement) 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:
currentRuleConfig- current rule configurationsqlStatement- SQL statement
-
buildAlteredRuleConfiguration
Build altered rule configuration.- Parameters:
currentRuleConfig- current rule configurationsqlStatement- SQL statement- Returns:
- built altered rule configuration
-
getRuleConfigurationClass
Get rule configuration class.- Returns:
- rule configuration class
-