Class SQLFederationRuleBuilder
java.lang.Object
org.apache.shardingsphere.sqlfederation.rule.builder.SQLFederationRuleBuilder
- All Implemented Interfaces:
org.apache.shardingsphere.infra.rule.builder.global.GlobalRuleBuilder<SQLFederationRuleConfiguration>,org.apache.shardingsphere.infra.rule.builder.RuleBuilder<SQLFederationRuleConfiguration>,org.apache.shardingsphere.infra.util.spi.type.ordered.OrderedSPI<SQLFederationRuleConfiguration>
public final class SQLFederationRuleBuilder
extends Object
implements org.apache.shardingsphere.infra.rule.builder.global.GlobalRuleBuilder<SQLFederationRuleConfiguration>
SQL federation rule builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.shardingsphere.infra.rule.identifier.scope.GlobalRulebuild(SQLFederationRuleConfiguration ruleConfig, Map<String, org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase> databases, org.apache.shardingsphere.infra.instance.InstanceContext instanceContext, org.apache.shardingsphere.infra.config.props.ConfigurationProperties props) intgetOrder()
-
Constructor Details
-
SQLFederationRuleBuilder
public SQLFederationRuleBuilder()
-
-
Method Details
-
build
public org.apache.shardingsphere.infra.rule.identifier.scope.GlobalRule build(SQLFederationRuleConfiguration ruleConfig, Map<String, org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase> databases, org.apache.shardingsphere.infra.instance.InstanceContext instanceContext, org.apache.shardingsphere.infra.config.props.ConfigurationProperties props) - Specified by:
buildin interfaceorg.apache.shardingsphere.infra.rule.builder.global.GlobalRuleBuilder<SQLFederationRuleConfiguration>
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.apache.shardingsphere.infra.util.spi.type.ordered.OrderedSPI<SQLFederationRuleConfiguration>
-
getTypeClass
- Specified by:
getTypeClassin interfaceorg.apache.shardingsphere.infra.util.spi.type.ordered.OrderedSPI<SQLFederationRuleConfiguration>
-