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