T - type of SQL statementR - type of rule configurationpublic interface RuleDefinitionAlterUpdater<T extends org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement,R extends RuleConfiguration> extends RuleDefinitionUpdater<T,R>
| 限定符和类型 | 方法和说明 |
|---|---|
RuleConfiguration |
buildToBeAlteredRuleConfiguration(T sqlStatement)
Build to be altered rule configuration.
|
void |
updateCurrentRuleConfiguration(R currentRuleConfig,
R toBeAlteredRuleConfig)
Update current rule configuration.
|
checkSQLStatement, getRuleConfigurationClassgetType, getTypeAliasesRuleConfiguration buildToBeAlteredRuleConfiguration(T sqlStatement)
sqlStatement - SQL statementCopyright © 2022 The Apache Software Foundation. All rights reserved.