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 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:
      check in interface org.apache.shardingsphere.infra.config.rule.checker.RuleConfigurationChecker<T extends org.apache.shardingsphere.infra.config.rule.RuleConfiguration>
    • getEncryptors

      protected abstract Collection<String> getEncryptors(T config)
    • getTables

      protected abstract Collection<EncryptTableRuleConfiguration> getTables(T config)