public final class MetaDataContextsBuilder extends Object
| 构造器和说明 |
|---|
MetaDataContextsBuilder(Map<String,Map<String,DataSource>> dataSources,
Map<String,Collection<org.apache.shardingsphere.infra.config.RuleConfiguration>> schemaRuleConfigs,
Collection<org.apache.shardingsphere.infra.config.RuleConfiguration> globalRuleConfigs,
Map<String,org.apache.shardingsphere.infra.metadata.schema.ShardingSphereSchema> schemas,
Map<String,Collection<org.apache.shardingsphere.infra.rule.ShardingSphereRule>> rules,
Properties props) |
public MetaDataContextsBuilder(Map<String,Map<String,DataSource>> dataSources, Map<String,Collection<org.apache.shardingsphere.infra.config.RuleConfiguration>> schemaRuleConfigs, Collection<org.apache.shardingsphere.infra.config.RuleConfiguration> globalRuleConfigs, Map<String,org.apache.shardingsphere.infra.metadata.schema.ShardingSphereSchema> schemas, Map<String,Collection<org.apache.shardingsphere.infra.rule.ShardingSphereRule>> rules, Properties props)
public MetaDataContexts build(MetaDataPersistService metaDataPersistService) throws SQLException
metaDataPersistService - persist serviceSQLException - SQL exceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.