T - type of SQL statementR - type of rule configurationpublic interface RuleDefinitionCreateUpdater<T extends org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement,R extends RuleConfiguration> extends RuleDefinitionUpdater<T,R>
| Modifier and Type | Method and Description |
|---|---|
RuleConfiguration |
buildToBeCreatedRuleConfiguration(R currentRuleConfig,
T sqlStatement)
Build to be created rule configuration.
|
void |
updateCurrentRuleConfiguration(R currentRuleConfig,
R toBeCreatedRuleConfig)
Update current rule configuration.
|
checkSQLStatement, getRuleConfigurationClassRuleConfiguration buildToBeCreatedRuleConfiguration(R currentRuleConfig, T sqlStatement)
currentRuleConfig - current rule configuration to be updatedsqlStatement - SQL statementCopyright © 2023 The Apache Software Foundation. All rights reserved.