RuleBuilder

Fully-qualified class name

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

Definition

Used to convert user configurations into rule objects

Implementation classes

Configuration TypeDescriptionFully-qualified class name
AuthorityRuleConfigurationUsed to convert authority user configuration into authority rule objectsorg.apache.shardingsphere.authority.rule.builder.AuthorityRuleBuilder
SQLParserRuleConfigurationUsed to convert SQL parser user configuration into SQL parser rule objectsorg.apache.shardingsphere.parser.rule.builder.SQLParserRuleBuilder
TransactionRuleConfigurationUsed to convert transaction user configuration into transaction rule objectsorg.apache.shardingsphere.transaction.rule.builder.TransactionRuleBuilder
SingleTableRuleConfigurationUsed to convert single-table user configuration into a single-table rule objectsorg.apache.shardingsphere.singletable.rule.builder.SingleTableRuleBuilder
ShardingRuleConfigurationUsed to convert sharding user configuration into sharding rule objectsorg.apache.shardingsphere.sharding.rule.builder.ShardingRuleBuilder
AlgorithmProvidedShardingRuleConfigurationUsed to convert algorithm-based sharding user configuration under Spring Context into sharding rule objectsorg.apache.shardingsphere.sharding.rule.builder.AlgorithmProvidedShardingRuleBuilder
ReadwriteSplittingRuleConfigurationUsed to convert read-write splitting user configuration into read-write splitting rule objectsorg.apache.shardingsphere.readwritesplitting.rule.builder.ReadwriteSplittingRuleBuilder
AlgorithmProvidedReadwriteSplittingRuleConfigurationUsed to convert algorithm-based read-write splitting user configuration into read-write splitting rule objectsorg.apache.shardingsphere.readwritesplitting.rule.builder.AlgorithmProvidedReadwriteSplittingRuleBuilder
DatabaseDiscoveryRuleConfigurationUsed to convert database discovery user configuration into database discovery rule objectsorg.apache.shardingsphere.dbdiscovery.rule.builder.DatabaseDiscoveryRuleBuilder
AlgorithmProvidedDatabaseDiscoveryRuleConfigurationUsed to convert algorithm-based database discovery user configuration into database discovery rule objectsorg.apache.shardingsphere.dbdiscovery.rule.builder.AlgorithmProvidedDatabaseDiscoveryRuleBuilder
EncryptRuleConfigurationUsed to convert encrypted user configuration into encryption rule objectsorg.apache.shardingsphere.encrypt.rule.builder.EncryptRuleBuilder
AlgorithmProvidedEncryptRuleConfigurationUsed to convert algorithm-based encryption user configuration into encryption rule objectsorg.apache.shardingsphere.encrypt.rule.builder.AlgorithmProvidedEncryptRuleBuilder
ShadowRuleConfigurationUsed to convert shadow database user configuration into shadow database rule objectsorg.apache.shardingsphere.shadow.rule.builder.ShadowRuleBuilder
AlgorithmProvidedShadowRuleConfigurationUsed to convert algorithm-based shadow database user configuration into shadow database rule objectsorg.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 TypeDescriptionFully-qualified class name
AUTHORITYUsed to convert the YAML configuration of authority rules into standard configuration of authority rulesorg.apache.shardingsphere.authority.yaml.swapper.YamlAuthorityRuleConfigurationSwapper
SQL_PARSERUsed to convert the YAML configuration of the SQL parser into the standard configuration of the SQL parserorg.apache.shardingsphere.parser.yaml.swapper.YamlSQLParserRuleConfigurationSwapper
TRANSACTIONUsed to convert the YAML configuration of the transaction into the standard configuration of the transactionorg.apache.shardingsphere.transaction.yaml.swapper.YamlTransactionRuleConfigurationSwapper
SINGLEUsed to convert the YAML configuration of the single table into the standard configuration of the single tableorg.apache.shardingsphere.singletable.yaml.config.swapper.YamlSingleTableRuleConfigurationSwapper
SHARDINGUsed to convert the YAML configuration of the sharding into the standard configuration of the shardingorg.apache.shardingsphere.sharding.yaml.swapper.YamlShardingRuleConfigurationSwapper
SHARDINGUsed to convert algorithm-based sharding configuration into sharding standard configurationorg.apache.shardingsphere.sharding.yaml.swapper.YamlShardingRuleAlgorithmProviderConfigurationSwapper
READWRITE_SPLITTINGUsed to convert the YAML configuration of read-write splitting into the standard configuration of read-write splittingorg.apache.shardingsphere.readwritesplitting.yaml.swapper.YamlReadwriteSplittingRuleConfigurationSwapper
READWRITE_SPLITTINGUsed to convert algorithm-based read-write splitting configuration into read-write splitting standard configurationorg.apache.shardingsphere.readwritesplitting.yaml.swapper.YamlReadwriteSplittingRuleAlgorithmProviderConfigurationSwapper
DB_DISCOVERYUsed to convert the YAML configuration of database discovery into the standard configuration of database discoveryorg.apache.shardingsphere.dbdiscovery.yaml.swapper.YamlDatabaseDiscoveryRuleConfigurationSwapper
DB_DISCOVERYUsed to convert algorithm-based database discovery configuration into database discovery standard configurationorg.apache.shardingsphere.dbdiscovery.yaml.swapper.YamlDatabaseDiscoveryRuleAlgorithmProviderConfigurationSwapper
ENCRYPTUsed to convert encrypted YAML configuration into encrypted standard configurationorg.apache.shardingsphere.encrypt.yaml.swapper.YamlEncryptRuleConfigurationSwapper
ENCRYPTUsed to convert algorithm-based encryption configuration into encryption standard configurationorg.apache.shardingsphere.encrypt.yaml.swapper.YamlEncryptRuleAlgorithmProviderConfigurationSwapper
SHADOWUsed to convert the YAML configuration of the shadow database into the standard configuration of the shadow databaseorg.apache.shardingsphere.shadow.yaml.swapper.YamlShadowRuleConfigurationSwapper
SHADOWUsed to convert algorithm-based shadow database configuration into shadow database standard configurationorg.apache.shardingsphere.shadow.yaml.swapper.YamlShadowRuleAlgorithmProviderConfigurationSwapper
SQL_TRANSLATORUsed to convert the YAML configuration of the SQL transformation to the SQL transformation standard configurationorg.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 TypeDescriptionFully-qualified class name
YamlNoneShardingStrategyConfigurationUsed to convert non-sharding policy objects and YAML to and from each otherorg.apache.shardingsphere.sharding.yaml.engine.construct.NoneShardingStrategyConfigurationYamlConstruct