public final class ShadowRuleBuilder extends Object implements org.apache.shardingsphere.infra.rule.builder.level.FeatureRuleBuilder, org.apache.shardingsphere.infra.rule.builder.scope.SchemaRuleBuilder<ShadowRuleConfiguration>
| Constructor and Description |
|---|
ShadowRuleBuilder() |
| Modifier and Type | Method and Description |
|---|---|
ShadowRule |
build(String schemaName,
Map<String,DataSource> dataSourceMap,
org.apache.shardingsphere.infra.database.type.DatabaseType databaseType,
ShadowRuleConfiguration config) |
int |
getOrder() |
Class<ShadowRuleConfiguration> |
getTypeClass() |
public ShadowRule build(String schemaName, Map<String,DataSource> dataSourceMap, org.apache.shardingsphere.infra.database.type.DatabaseType databaseType, ShadowRuleConfiguration config)
build in interface org.apache.shardingsphere.infra.rule.builder.scope.SchemaRuleBuilder<ShadowRuleConfiguration>public int getOrder()
getOrder in interface org.apache.shardingsphere.infra.spi.ordered.OrderedSPI<ShadowRuleConfiguration>public Class<ShadowRuleConfiguration> getTypeClass()
getTypeClass in interface org.apache.shardingsphere.infra.spi.ordered.OrderedSPI<ShadowRuleConfiguration>Copyright © 2021 The Apache Software Foundation. All rights reserved.