Class AbstractEncryptRuleConfigurationChecker<T extends org.apache.shardingsphere.infra.config.rule.RuleConfiguration>
java.lang.Object
org.apache.shardingsphere.encrypt.checker.AbstractEncryptRuleConfigurationChecker<T>
- Type Parameters:
T- type of rule configuration
- All Implemented Interfaces:
org.apache.shardingsphere.infra.config.rule.checker.RuleConfigurationChecker<T>,org.apache.shardingsphere.infra.util.spi.type.ordered.OrderedSPI<T>
- Direct Known Subclasses:
EncryptRuleConfigurationChecker
public abstract class AbstractEncryptRuleConfigurationChecker<T extends org.apache.shardingsphere.infra.config.rule.RuleConfiguration>
extends Object
implements org.apache.shardingsphere.infra.config.rule.checker.RuleConfigurationChecker<T>
Abstract encrypt rule configuration checker.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidcheck(String databaseName, T config, Map<String, DataSource> dataSourceMap, Collection<org.apache.shardingsphere.infra.rule.ShardingSphereRule> rules) protected abstract Collection<String>getEncryptors(T config) protected abstract Collection<EncryptTableRuleConfiguration>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.util.spi.type.ordered.OrderedSPI
getOrder, getTypeClass
-
Constructor Details
-
AbstractEncryptRuleConfigurationChecker
public AbstractEncryptRuleConfigurationChecker()
-
-
Method Details
-
check
public final void check(String databaseName, T config, Map<String, DataSource> dataSourceMap, Collection<org.apache.shardingsphere.infra.rule.ShardingSphereRule> rules) - Specified by:
checkin interfaceorg.apache.shardingsphere.infra.config.rule.checker.RuleConfigurationChecker<T extends org.apache.shardingsphere.infra.config.rule.RuleConfiguration>
-
getEncryptors
-
getTables
-