复古 护眼 海天 深邃 暗黑 默认

RuleBuilder

全限定类名

org.apache.shardingsphere.infra.rule.builder.RuleBuilder

定义

用于将用户配置转化为规则对象的接口

已知实现

配置标识 详细说明 全限定类名
AuthorityRuleConfiguration 用于将权限用户配置转化为权限规则对象 org.apache.shardingsphere.authority.rule.builder.AuthorityRuleBuilder
SQLParserRuleConfiguration 用于将 SQL 解析用户配置转化为 SQL 解析规则对象 org.apache.shardingsphere.parser.rule.builder.SQLParserRuleBuilder
TransactionRuleConfiguration 用于将事务用户配置转化为事务规则对象 org.apache.shardingsphere.transaction.rule.builder.TransactionRuleBuilder
SingleTableRuleConfiguration 用于将单表用户配置转化为单表规则对象 org.apache.shardingsphere.singletable.rule.builder.SingleTableRuleBuilder
ShardingRuleConfiguration 用于将分片用户配置转化为分片规则对象 org.apache.shardingsphere.sharding.rule.builder.ShardingRuleBuilder
AlgorithmProvidedShardingRuleConfiguration 用于将基于算法的分片用户配置转化为分片规则对象 org.apache.shardingsphere.sharding.rule.builder.AlgorithmProvidedShardingRuleBuilder
ReadwriteSplittingRuleConfiguration 用于将读写分离用户配置转化为读写分离规则对象 org.apache.shardingsphere.readwritesplitting.rule.builder.ReadwriteSplittingRuleBuilder
AlgorithmReadwriteSplittingRuleConfiguration 用于将基于算法的读写分离用户配置转化为读写分离规则对象 org.apache.shardingsphere.readwritesplitting.rule.builder.AlgorithmProvidedReadwriteSplittingRuleBuilder
DatabaseDiscoveryRuleConfiguration 用于将数据库发现用户配置转化为数据库发现规则对象 org.apache.shardingsphere.dbdiscovery.rule.builder.DatabaseDiscoveryRuleBuilder
AlgorithmDatabaseDiscoveryRuleConfiguration 用于将基于算法的数据库发现用户配置转化为数据库发现规则对象 org.apache.shardingsphere.dbdiscovery.rule.builder.AlgorithmProvidedDatabaseDiscoveryRuleBuilder
EncryptRuleConfiguration 用于将加密用户配置转化为加密规则对象 org.apache.shardingsphere.encrypt.rule.builder.EncryptRuleBuilder
AlgorithmEncryptRuleConfiguration 用于将基于算法的加密用户配置转化为加密规则对象 org.apache.shardingsphere.encrypt.rule.builder.AlgorithmProvidedEncryptRuleBuilder
ShadowRuleConfiguration 用于将影子库用户配置转化为影子库规则对象 org.apache.shardingsphere.shadow.rule.builder.ShadowRuleBuilder
AlgorithmShadowRuleConfiguration 用于将基于算法的影子库用户配置转化为影子库规则对象 org.apache.shardingsphere.shadow.rule.builder.AlgorithmProvidedShadowRuleBuilder

YamlRuleConfigurationSwapper

全限定类名

org.apache.shardingsphere.infra.yaml.config.swapper.YamlRuleConfigurationSwapper

定义

用于将 YAML 配置转化为标准用户配置

已知实现

配置标识 详细说明 全限定类名
AUTHORITY 用于将权限规则的 YAML 配置转化为权限规则标准配置 org.apache.shardingsphere.authority.yaml.swapper.YamlAuthorityRuleConfigurationSwapper
SQL_PARSER 用于将 SQL 解析的 YAML 配置转化为 SQL 解析标准配置 org.apache.shardingsphere.parser.yaml.swapper.YamlSQLParserRuleConfigurationSwapper
TRANSACTION 用于将事务的 YAML 配置转化为事务标准配置 org.apache.shardingsphere.transaction.yaml.swapper.YamlTransactionRuleConfigurationSwapper
SINGLE 用于将单表的 YAML 配置转化为单表标准配置 org.apache.shardingsphere.singletable.yaml.config.swapper.YamlSingleTableRuleConfigurationSwapper
SHARDING 用于将分片的 YAML 配置转化为分片标准配置 org.apache.shardingsphere.sharding.yaml.swapper.YamlShardingRuleConfigurationSwapper
SHARDING 用于将基于算法的分片配置转化为分片标准配置 org.apache.shardingsphere.sharding.yaml.swapper.YamlShardingRuleAlgorithmProviderConfigurationSwapper
READWRITE_SPLITTING 用于将读写分离的 YAML 配置转化为读写分离标准配置 org.apache.shardingsphere.readwritesplitting.yaml.swapper.YamlReadwriteSplittingRuleConfigurationSwapper
READWRITE_SPLITTING 用于将基于算法的读写分离配置转化为读写分离标准配置 org.apache.shardingsphere.readwritesplitting.yaml.swapper.YamlReadwriteSplittingRuleAlgorithmProviderConfigurationSwapper
DB_DISCOVERY 用于将数据库发现的 YAML 配置转化为数据库发现标准配置 org.apache.shardingsphere.dbdiscovery.yaml.swapper.YamlDatabaseDiscoveryRuleConfigurationSwapper
DB_DISCOVERY 用于将基于算法的数据库发现配置转化为数据库发现标准配置 org.apache.shardingsphere.dbdiscovery.yaml.swapper.YamlDatabaseDiscoveryRuleAlgorithmProviderConfigurationSwapper
ENCRYPT 用于将加密的 YAML 配置转化为加密标准配置 org.apache.shardingsphere.encrypt.yaml.swapper.YamlEncryptRuleConfigurationSwapper
ENCRYPT 用于将基于算法的加密配置转化为加密标准配置 org.apache.shardingsphere.encrypt.yaml.swapper.YamlEncryptRuleAlgorithmProviderConfigurationSwapper
SHADOW 用于将影子库的 YAML 配置转化为影子库标准配置 org.apache.shardingsphere.shadow.yaml.swapper.YamlShadowRuleConfigurationSwapper
SHADOW 用于将基于算法的影子库配置转化为影子库标准配置 org.apache.shardingsphere.shadow.yaml.swapper.YamlShadowRuleAlgorithmProviderConfigurationSwapper
SQL_TRANSLATOR 用于将 SQL 转换的 YAML 配置转化为 SQL 转换标准配置 org.apache.shardingsphere.sqltranslator.yaml.swapper.YamlSQLTranslatorRuleConfigurationSwapper

ShardingSphereYamlConstruct

全限定类名

org.apache.shardingsphere.infra.yaml.engine.constructor.ShardingSphereYamlConstruct

定义

用于将定制化对象和 YAML 相互转化

已知实现

配置标识 详细说明 全限定类名
YamlNoneShardingStrategyConfiguration 用于将不分片策略对象和 YAML 相互转化 org.apache.shardingsphere.sharding.yaml.engine.construct.NoneShardingStrategyConfigurationYamlConstruct