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
SingleRuleConfiguration用于将单表用户配置转化为单表规则对象org.apache.shardingsphere.singletable.rule.builder.SingleRuleBuilder
ShardingRuleConfiguration用于将分片用户配置转化为分片规则对象org.apache.shardingsphere.sharding.rule.builder.ShardingRuleBuilder
ReadwriteSplittingRuleConfiguration用于将读写分离用户配置转化为读写分离规则对象org.apache.shardingsphere.readwritesplitting.rule.builder.ReadwriteSplittingRuleBuilder
DatabaseDiscoveryRuleConfiguration用于将数据库发现用户配置转化为数据库发现规则对象org.apache.shardingsphere.dbdiscovery.rule.builder.DatabaseDiscoveryRuleBuilder
EncryptRuleConfiguration用于将加密用户配置转化为加密规则对象org.apache.shardingsphere.encrypt.rule.builder.EncryptRuleBuilder
ShadowRuleConfiguration用于将影子库用户配置转化为影子库规则对象org.apache.shardingsphere.shadow.rule.builder.ShadowRuleBuilder

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.YamlSingleRuleConfigurationSwapper
SHARDING用于将分片的 YAML 配置转化为分片标准配置org.apache.shardingsphere.sharding.yaml.swapper.YamlShardingRuleConfigurationSwapper
READWRITE_SPLITTING用于将读写分离的 YAML 配置转化为读写分离标准配置org.apache.shardingsphere.readwritesplitting.yaml.swapper.YamlReadwriteSplittingRuleConfigurationSwapper
DB_DISCOVERY用于将数据库发现的 YAML 配置转化为数据库发现标准配置org.apache.shardingsphere.dbdiscovery.yaml.swapper.YamlDatabaseDiscoveryRuleConfigurationSwapper
ENCRYPT用于将加密的 YAML 配置转化为加密标准配置org.apache.shardingsphere.encrypt.yaml.swapper.YamlEncryptRuleConfigurationSwapper
SHADOW用于将影子库的 YAML 配置转化为影子库标准配置org.apache.shardingsphere.shadow.yaml.swapper.YamlShadowRuleConfigurationSwapper
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