Class DropShadowRuleStatementUpdater
java.lang.Object
org.apache.shardingsphere.shadow.distsql.handler.update.DropShadowRuleStatementUpdater
- All Implemented Interfaces:
org.apache.shardingsphere.infra.distsql.update.RuleDefinitionDropUpdater<DropShadowRuleStatement,,ShadowRuleConfiguration> org.apache.shardingsphere.infra.distsql.update.RuleDefinitionUpdater<DropShadowRuleStatement,,ShadowRuleConfiguration> org.apache.shardingsphere.spi.type.typed.TypedSPI
public final class DropShadowRuleStatementUpdater
extends Object
implements org.apache.shardingsphere.infra.distsql.update.RuleDefinitionDropUpdater<DropShadowRuleStatement,ShadowRuleConfiguration>
Drop shadow rule statement updater.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckSQLStatement(org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase database, DropShadowRuleStatement sqlStatement, ShadowRuleConfiguration currentRuleConfig) getType()booleanhasAnyOneToBeDropped(DropShadowRuleStatement sqlStatement, ShadowRuleConfiguration currentRuleConfig) booleanupdateCurrentRuleConfiguration(DropShadowRuleStatement sqlStatement, ShadowRuleConfiguration currentRuleConfig) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.shardingsphere.infra.distsql.update.RuleDefinitionDropUpdater
getIdenticalData, isExistRuleConfigMethods inherited from interface org.apache.shardingsphere.spi.type.typed.TypedSPI
getTypeAliases
-
Constructor Details
-
DropShadowRuleStatementUpdater
public DropShadowRuleStatementUpdater()
-
-
Method Details
-
checkSQLStatement
public void checkSQLStatement(org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase database, DropShadowRuleStatement sqlStatement, ShadowRuleConfiguration currentRuleConfig) throws org.apache.shardingsphere.infra.distsql.exception.DistSQLException - Specified by:
checkSQLStatementin interfaceorg.apache.shardingsphere.infra.distsql.update.RuleDefinitionUpdater<DropShadowRuleStatement,ShadowRuleConfiguration> - Throws:
org.apache.shardingsphere.infra.distsql.exception.DistSQLException
-
hasAnyOneToBeDropped
public boolean hasAnyOneToBeDropped(DropShadowRuleStatement sqlStatement, ShadowRuleConfiguration currentRuleConfig) - Specified by:
hasAnyOneToBeDroppedin interfaceorg.apache.shardingsphere.infra.distsql.update.RuleDefinitionDropUpdater<DropShadowRuleStatement,ShadowRuleConfiguration>
-
updateCurrentRuleConfiguration
public boolean updateCurrentRuleConfiguration(DropShadowRuleStatement sqlStatement, ShadowRuleConfiguration currentRuleConfig) - Specified by:
updateCurrentRuleConfigurationin interfaceorg.apache.shardingsphere.infra.distsql.update.RuleDefinitionDropUpdater<DropShadowRuleStatement,ShadowRuleConfiguration>
-
getRuleConfigurationClass
- Specified by:
getRuleConfigurationClassin interfaceorg.apache.shardingsphere.infra.distsql.update.RuleDefinitionUpdater<DropShadowRuleStatement,ShadowRuleConfiguration>
-
getType
- Specified by:
getTypein interfaceorg.apache.shardingsphere.spi.type.typed.TypedSPI
-