Class DropShadowAlgorithmStatementUpdater
java.lang.Object
org.apache.shardingsphere.shadow.distsql.handler.update.DropShadowAlgorithmStatementUpdater
- All Implemented Interfaces:
org.apache.shardingsphere.infra.distsql.update.RuleDefinitionDropUpdater<DropShadowAlgorithmStatement,,ShadowRuleConfiguration> org.apache.shardingsphere.infra.distsql.update.RuleDefinitionUpdater<DropShadowAlgorithmStatement,,ShadowRuleConfiguration> org.apache.shardingsphere.spi.type.typed.TypedSPI
public final class DropShadowAlgorithmStatementUpdater
extends Object
implements org.apache.shardingsphere.infra.distsql.update.RuleDefinitionDropUpdater<DropShadowAlgorithmStatement,ShadowRuleConfiguration>
Drop shadow algorithm statement updater.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckSQLStatement(org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase database, DropShadowAlgorithmStatement sqlStatement, ShadowRuleConfiguration currentRuleConfig) getType()booleanhasAnyOneToBeDropped(DropShadowAlgorithmStatement sqlStatement, ShadowRuleConfiguration currentRuleConfig) booleanupdateCurrentRuleConfiguration(DropShadowAlgorithmStatement 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
-
DropShadowAlgorithmStatementUpdater
public DropShadowAlgorithmStatementUpdater()
-
-
Method Details
-
checkSQLStatement
public void checkSQLStatement(org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase database, DropShadowAlgorithmStatement sqlStatement, ShadowRuleConfiguration currentRuleConfig) throws org.apache.shardingsphere.infra.distsql.exception.DistSQLException - Specified by:
checkSQLStatementin interfaceorg.apache.shardingsphere.infra.distsql.update.RuleDefinitionUpdater<DropShadowAlgorithmStatement,ShadowRuleConfiguration> - Throws:
org.apache.shardingsphere.infra.distsql.exception.DistSQLException
-
hasAnyOneToBeDropped
public boolean hasAnyOneToBeDropped(DropShadowAlgorithmStatement sqlStatement, ShadowRuleConfiguration currentRuleConfig) - Specified by:
hasAnyOneToBeDroppedin interfaceorg.apache.shardingsphere.infra.distsql.update.RuleDefinitionDropUpdater<DropShadowAlgorithmStatement,ShadowRuleConfiguration>
-
updateCurrentRuleConfiguration
public boolean updateCurrentRuleConfiguration(DropShadowAlgorithmStatement sqlStatement, ShadowRuleConfiguration currentRuleConfig) - Specified by:
updateCurrentRuleConfigurationin interfaceorg.apache.shardingsphere.infra.distsql.update.RuleDefinitionDropUpdater<DropShadowAlgorithmStatement,ShadowRuleConfiguration>
-
getRuleConfigurationClass
- Specified by:
getRuleConfigurationClassin interfaceorg.apache.shardingsphere.infra.distsql.update.RuleDefinitionUpdater<DropShadowAlgorithmStatement,ShadowRuleConfiguration>
-
getType
- Specified by:
getTypein interfaceorg.apache.shardingsphere.spi.type.typed.TypedSPI
-