| 程序包 | 说明 |
|---|---|
| org.apache.shardingsphere.infra.rule | |
| org.apache.shardingsphere.infra.yaml.config | |
| org.apache.shardingsphere.infra.yaml.swapper |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
ShardingSphereRuleBuilder<R extends ShardingSphereRule,T extends RuleConfiguration>
ShardingSphere rule builder.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Collection<ShardingSphereRule> |
ShardingSphereRulesBuilder.build(Collection<RuleConfiguration> ruleConfigurations,
Collection<String> dataSourceNames)
Build rules.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Class<? extends RuleConfiguration> |
YamlRuleConfiguration.getRuleConfigurationType()
Get rule configuration type.
|
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
YamlRuleConfigurationSwapper<Y extends YamlRuleConfiguration,T extends RuleConfiguration>
YAML rule configuration swapper.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Collection<RuleConfiguration> |
YamlRuleConfigurationSwapperEngine.swapToRuleConfigurations(Collection<YamlRuleConfiguration> yamlRuleConfigs)
Swap from YAML rule configurations to rule configurations.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Collection<YamlRuleConfiguration> |
YamlRuleConfigurationSwapperEngine.swapToYamlConfigurations(Collection<RuleConfiguration> ruleConfigurations)
Swap to YAML rule configurations.
|
Copyright © 2020 The Apache Software Foundation. All rights reserved.