public final class ShadowRuleBuilder extends Object implements org.apache.shardingsphere.infra.rule.builder.schema.SchemaRuleBuilder<ShadowRuleConfiguration>
| Constructor and Description |
|---|
ShadowRuleBuilder() |
| Modifier and Type | Method and Description |
|---|---|
ShadowRule |
build(ShadowRuleConfiguration config,
String schemaName,
Map<String,DataSource> dataSources,
Collection<org.apache.shardingsphere.infra.rule.ShardingSphereRule> builtRules,
org.apache.shardingsphere.infra.config.props.ConfigurationProperties props) |
int |
getOrder() |
Class<ShadowRuleConfiguration> |
getTypeClass() |
public ShadowRule build(ShadowRuleConfiguration config, String schemaName, Map<String,DataSource> dataSources, Collection<org.apache.shardingsphere.infra.rule.ShardingSphereRule> builtRules, org.apache.shardingsphere.infra.config.props.ConfigurationProperties props)
build in interface org.apache.shardingsphere.infra.rule.builder.schema.SchemaRuleBuilder<ShadowRuleConfiguration>public int getOrder()
getOrder in interface org.apache.shardingsphere.spi.ordered.OrderedSPI<ShadowRuleConfiguration>public Class<ShadowRuleConfiguration> getTypeClass()
getTypeClass in interface org.apache.shardingsphere.spi.ordered.OrderedSPI<ShadowRuleConfiguration>Copyright © 2022 The Apache Software Foundation. All rights reserved.