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 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:
      build in interface org.apache.shardingsphere.infra.rule.builder.global.GlobalRuleBuilder<SQLFederationRuleConfiguration>
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.apache.shardingsphere.infra.util.spi.type.ordered.OrderedSPI<SQLFederationRuleConfiguration>
    • getTypeClass

      public Class<SQLFederationRuleConfiguration> getTypeClass()
      Specified by:
      getTypeClass in interface org.apache.shardingsphere.infra.util.spi.type.ordered.OrderedSPI<SQLFederationRuleConfiguration>