public final class ShardingRouteEngineFactory extends Object
| 构造器和说明 |
|---|
ShardingRouteEngineFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ShardingRouteEngine |
newInstance(ShardingRule shardingRule,
org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase database,
SQLStatementContext<?> sqlStatementContext,
ShardingConditions shardingConditions,
org.apache.shardingsphere.infra.config.props.ConfigurationProperties props,
org.apache.shardingsphere.infra.context.ConnectionContext connectionContext)
Create new instance of routing engine.
|
public static ShardingRouteEngine newInstance(ShardingRule shardingRule, org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase database, SQLStatementContext<?> sqlStatementContext, ShardingConditions shardingConditions, org.apache.shardingsphere.infra.config.props.ConfigurationProperties props, org.apache.shardingsphere.infra.context.ConnectionContext connectionContext)
shardingRule - sharding ruledatabase - databasesqlStatementContext - SQL statement contextshardingConditions - shardingConditionsprops - ShardingSphere propertiesconnectionContext - connection contextCopyright © 2022 The Apache Software Foundation. All rights reserved.