org.apache.shardingsphere.infra.rule.builder.RuleBuilder
Used to convert user configurations into rule objects
Configuration Type | Description | Fully-qualified class name |
---|---|---|
AuthorityRuleConfiguration | Used to convert authority user configuration into authority rule objects | org.apache.shardingsphere.authority.rule.builder.AuthorityRuleBuilder |
SQLParserRuleConfiguration | Used to convert SQL parser user configuration into SQL parser rule objects | org.apache.shardingsphere.parser.rule.builder.SQLParserRuleBuilder |
TransactionRuleConfiguration | Used to convert transaction user configuration into transaction rule objects | org.apache.shardingsphere.transaction.rule.builder.TransactionRuleBuilder |
SingleRuleConfiguration | Used to convert single-table user configuration into a single-table rule objects | org.apache.shardingsphere.singletable.rule.builder.SingleRuleBuilder |
ShardingRuleConfiguration | Used to convert sharding user configuration into sharding rule objects | org.apache.shardingsphere.sharding.rule.builder.ShardingRuleBuilder |
ReadwriteSplittingRuleConfiguration | Used to convert read-write splitting user configuration into read-write splitting rule objects | org.apache.shardingsphere.readwritesplitting.rule.builder.ReadwriteSplittingRuleBuilder |
DatabaseDiscoveryRuleConfiguration | Used to convert database discovery user configuration into database discovery rule objects | org.apache.shardingsphere.dbdiscovery.rule.builder.DatabaseDiscoveryRuleBuilder |
EncryptRuleConfiguration | Used to convert encrypted user configuration into encryption rule objects | org.apache.shardingsphere.encrypt.rule.builder.EncryptRuleBuilder |
ShadowRuleConfiguration | Used to convert shadow database user configuration into shadow database rule objects | org.apache.shardingsphere.shadow.rule.builder.ShadowRuleBuilder |
org.apache.shardingsphere.infra.yaml.config.swapper.YamlRuleConfigurationSwapper
Used to convert YAML configuration to standard user configuration
Configuration Type | Description | Fully-qualified class name |
---|---|---|
AUTHORITY | Used to convert the YAML configuration of authority rules into standard configuration of authority rules | org.apache.shardingsphere.authority.yaml.swapper.YamlAuthorityRuleConfigurationSwapper |
SQL_PARSER | Used to convert the YAML configuration of the SQL parser into the standard configuration of the SQL parser | org.apache.shardingsphere.parser.yaml.swapper.YamlSQLParserRuleConfigurationSwapper |
TRANSACTION | Used to convert the YAML configuration of the transaction into the standard configuration of the transaction | org.apache.shardingsphere.transaction.yaml.swapper.YamlTransactionRuleConfigurationSwapper |
SINGLE | Used to convert the YAML configuration of the single table into the standard configuration of the single table | org.apache.shardingsphere.singletable.yaml.config.swapper.YamlSingleRuleConfigurationSwapper |
SHARDING | Used to convert the YAML configuration of the sharding into the standard configuration of the sharding | org.apache.shardingsphere.sharding.yaml.swapper.YamlShardingRuleConfigurationSwapper |
READWRITE_SPLITTING | Used to convert the YAML configuration of read-write splitting into the standard configuration of read-write splitting | org.apache.shardingsphere.readwritesplitting.yaml.swapper.YamlReadwriteSplittingRuleConfigurationSwapper |
DB_DISCOVERY | Used to convert the YAML configuration of database discovery into the standard configuration of database discovery | org.apache.shardingsphere.dbdiscovery.yaml.swapper.YamlDatabaseDiscoveryRuleConfigurationSwapper |
ENCRYPT | Used to convert encrypted YAML configuration into encrypted standard configuration | org.apache.shardingsphere.encrypt.yaml.swapper.YamlEncryptRuleConfigurationSwapper |
SHADOW | Used to convert the YAML configuration of the shadow database into the standard configuration of the shadow database | org.apache.shardingsphere.shadow.yaml.swapper.YamlShadowRuleConfigurationSwapper |
SQL_TRANSLATOR | Used to convert the YAML configuration of the SQL transformation to the SQL transformation standard configuration | org.apache.shardingsphere.sqltranslator.yaml.swapper.YamlSQLTranslatorRuleConfigurationSwapper |
org.apache.shardingsphere.infra.yaml.engine.constructor.ShardingSphereYamlConstruct
Used to convert custom objects and YAML to and from each other
Configuration Type | Description | Fully-qualified class name |
---|---|---|
YamlNoneShardingStrategyConfiguration | Used to convert non-sharding policy objects and YAML to and from each other | org.apache.shardingsphere.sharding.yaml.engine.construct.NoneShardingStrategyConfigurationYamlConstruct |