RuleBuilder
Fully-qualified class name
org.apache.shardingsphere.infra.rule.builder.RuleBuilder
Definition
Used to convert user configurations into rule objects
Implementation classes
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 |
YamlRuleConfigurationSwapper
Fully-qualified class name
org.apache.shardingsphere.infra.yaml.config.swapper.YamlRuleConfigurationSwapper
Definition
Used to convert YAML configuration to standard user configuration
Implementation classes
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 |
ShardingSphereYamlConstruct
Fully-qualified class name
org.apache.shardingsphere.infra.yaml.engine.constructor.ShardingSphereYamlConstruct
Definition
Used to convert custom objects and YAML to and from each other
Implementation classes
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 |
当前内容版权归 ShardingSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ShardingSphere .