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(T sqlStatement)
Build to be created rule configuration.
|
void |
updateCurrentRuleConfiguration(R currentRuleConfig,
R toBeCreatedRuleConfig)
Update current rule configuration.
|
checkSQLStatement, getRuleConfigurationClassgetProps, getType, getTypeAliases, setPropsRuleConfiguration buildToBeCreatedRuleConfiguration(T sqlStatement)
sqlStatement - SQL statementCopyright © 2022 The Apache Software Foundation. All rights reserved.