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 |
SingleTableRuleConfiguration | Used to convert single-table user configuration into a single-table rule objects | org.apache.shardingsphere.singletable.rule.builder.SingleTableRuleBuilder |
ShardingRuleConfiguration | Used to convert sharding user configuration into sharding rule objects | org.apache.shardingsphere.sharding.rule.builder.ShardingRuleBuilder |
AlgorithmProvidedShardingRuleConfiguration | Used to convert algorithm-based sharding user configuration under Spring Context into sharding rule objects | org.apache.shardingsphere.sharding.rule.builder.AlgorithmProvidedShardingRuleBuilder |
ReadwriteSplittingRuleConfiguration | Used to convert read-write splitting user configuration into read-write splitting rule objects | org.apache.shardingsphere.readwritesplitting.rule.builder.ReadwriteSplittingRuleBuilder |
AlgorithmProvidedReadwriteSplittingRuleConfiguration | Used to convert algorithm-based read-write splitting user configuration into read-write splitting rule objects | org.apache.shardingsphere.readwritesplitting.rule.builder.AlgorithmProvidedReadwriteSplittingRuleBuilder |
DatabaseDiscoveryRuleConfiguration | Used to convert database discovery user configuration into database discovery rule objects | org.apache.shardingsphere.dbdiscovery.rule.builder.DatabaseDiscoveryRuleBuilder |
AlgorithmProvidedDatabaseDiscoveryRuleConfiguration | Used to convert algorithm-based database discovery user configuration into database discovery rule objects | org.apache.shardingsphere.dbdiscovery.rule.builder.AlgorithmProvidedDatabaseDiscoveryRuleBuilder |
EncryptRuleConfiguration | Used to convert encrypted user configuration into encryption rule objects | org.apache.shardingsphere.encrypt.rule.builder.EncryptRuleBuilder |
AlgorithmProvidedEncryptRuleConfiguration | Used to convert algorithm-based encryption user configuration into encryption rule objects | org.apache.shardingsphere.encrypt.rule.builder.AlgorithmProvidedEncryptRuleBuilder |
ShadowRuleConfiguration | Used to convert shadow database user configuration into shadow database rule objects | org.apache.shardingsphere.shadow.rule.builder.ShadowRuleBuilder |
AlgorithmProvidedShadowRuleConfiguration | Used to convert algorithm-based shadow database user configuration into shadow database rule objects | org.apache.shardingsphere.shadow.rule.builder.AlgorithmProvidedShadowRuleBuilder |
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.YamlSingleTableRuleConfigurationSwapper |
SHARDING | Used to convert the YAML configuration of the sharding into the standard configuration of the sharding | org.apache.shardingsphere.sharding.yaml.swapper.YamlShardingRuleConfigurationSwapper |
SHARDING | Used to convert algorithm-based sharding configuration into sharding standard configuration | org.apache.shardingsphere.sharding.yaml.swapper.YamlShardingRuleAlgorithmProviderConfigurationSwapper |
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 |
READWRITE_SPLITTING | Used to convert algorithm-based read-write splitting configuration into read-write splitting standard configuration | org.apache.shardingsphere.readwritesplitting.yaml.swapper.YamlReadwriteSplittingRuleAlgorithmProviderConfigurationSwapper |
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 |
DB_DISCOVERY | Used to convert algorithm-based database discovery configuration into database discovery standard configuration | org.apache.shardingsphere.dbdiscovery.yaml.swapper.YamlDatabaseDiscoveryRuleAlgorithmProviderConfigurationSwapper |
ENCRYPT | Used to convert encrypted YAML configuration into encrypted standard configuration | org.apache.shardingsphere.encrypt.yaml.swapper.YamlEncryptRuleConfigurationSwapper |
ENCRYPT | Used to convert algorithm-based encryption configuration into encryption standard configuration | org.apache.shardingsphere.encrypt.yaml.swapper.YamlEncryptRuleAlgorithmProviderConfigurationSwapper |
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 |
SHADOW | Used to convert algorithm-based shadow database configuration into shadow database standard configuration | org.apache.shardingsphere.shadow.yaml.swapper.YamlShadowRuleAlgorithmProviderConfigurationSwapper |
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 .