public final class LogicSchemaFactory extends Object
| 构造器和说明 |
|---|
LogicSchemaFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
static LogicSchema |
newInstance(String schemaName,
Map<String,Map<String,YamlDataSourceParameter>> schemaDataSources,
org.apache.shardingsphere.api.config.RuleConfiguration ruleConfiguration,
boolean isUsingRegistry)
Create new instance of logic schema.
|
public static LogicSchema newInstance(String schemaName, Map<String,Map<String,YamlDataSourceParameter>> schemaDataSources, org.apache.shardingsphere.api.config.RuleConfiguration ruleConfiguration, boolean isUsingRegistry) throws SQLException
schemaName - schema nameschemaDataSources - schema data sourcesruleConfiguration - rule configurationisUsingRegistry - is using registry or notSQLException - SQL exceptionCopyright © 2019 The Apache Software Foundation. All rights reserved.