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
SingleRuleConfigurationUsed to convert single-table user configuration into a single-table rule objectsorg.apache.shardingsphere.singletable.rule.builder.SingleRuleBuilder
ShardingRuleConfigurationUsed to convert sharding user configuration into sharding rule objectsorg.apache.shardingsphere.sharding.rule.builder.ShardingRuleBuilder
ReadwriteSplittingRuleConfigurationUsed to convert read-write splitting user configuration into read-write splitting rule objectsorg.apache.shardingsphere.readwritesplitting.rule.builder.ReadwriteSplittingRuleBuilder
DatabaseDiscoveryRuleConfigurationUsed to convert database discovery user configuration into database discovery rule objectsorg.apache.shardingsphere.dbdiscovery.rule.builder.DatabaseDiscoveryRuleBuilder
EncryptRuleConfigurationUsed to convert encrypted user configuration into encryption rule objectsorg.apache.shardingsphere.encrypt.rule.builder.EncryptRuleBuilder
ShadowRuleConfigurationUsed to convert shadow database user configuration into shadow database rule objectsorg.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 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.YamlSingleRuleConfigurationSwapper
SHARDINGUsed to convert the YAML configuration of the sharding into the standard configuration of the shardingorg.apache.shardingsphere.sharding.yaml.swapper.YamlShardingRuleConfigurationSwapper
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
DB_DISCOVERYUsed to convert the YAML configuration of database discovery into the standard configuration of database discoveryorg.apache.shardingsphere.dbdiscovery.yaml.swapper.YamlDatabaseDiscoveryRuleConfigurationSwapper
ENCRYPTUsed to convert encrypted YAML configuration into encrypted standard configurationorg.apache.shardingsphere.encrypt.yaml.swapper.YamlEncryptRuleConfigurationSwapper
SHADOWUsed to convert the YAML configuration of the shadow database into the standard configuration of the shadow databaseorg.apache.shardingsphere.shadow.yaml.swapper.YamlShadowRuleConfigurationSwapper
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