public final class ShardingRouterFactory extends Object
| Constructor and Description |
|---|
ShardingRouterFactory() |
| Modifier and Type | Method and Description |
|---|---|
static ShardingRouter |
newInstance(org.apache.shardingsphere.core.rule.ShardingRule shardingRule,
org.apache.shardingsphere.core.metadata.ShardingMetaData shardingMetaData,
org.apache.shardingsphere.core.constant.DatabaseType databaseType,
org.apache.shardingsphere.core.parse.cache.ParsingResultCache parsingResultCache)
Create new instance of sharding router.
|
public static ShardingRouter newInstance(org.apache.shardingsphere.core.rule.ShardingRule shardingRule, org.apache.shardingsphere.core.metadata.ShardingMetaData shardingMetaData, org.apache.shardingsphere.core.constant.DatabaseType databaseType, org.apache.shardingsphere.core.parse.cache.ParsingResultCache parsingResultCache)
shardingRule - sharding ruleshardingMetaData - sharding meta datadatabaseType - database typeparsingResultCache - parsing result cacheCopyright © 2019 The Apache Software Foundation. All rights reserved.