public final class PartialSQLRouteExecutor extends Object implements SQLRouteExecutor
| 构造器和说明 |
|---|
PartialSQLRouteExecutor(Collection<org.apache.shardingsphere.infra.rule.ShardingSphereRule> rules,
org.apache.shardingsphere.infra.config.props.ConfigurationProperties props) |
| 限定符和类型 | 方法和说明 |
|---|---|
RouteContext |
route(org.apache.shardingsphere.infra.context.ConnectionContext connectionContext,
QueryContext queryContext,
org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase database)
Route.
|
public PartialSQLRouteExecutor(Collection<org.apache.shardingsphere.infra.rule.ShardingSphereRule> rules, org.apache.shardingsphere.infra.config.props.ConfigurationProperties props)
public RouteContext route(org.apache.shardingsphere.infra.context.ConnectionContext connectionContext, QueryContext queryContext, org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase database)
SQLRouteExecutorroute 在接口中 SQLRouteExecutorconnectionContext - connection contextqueryContext - query contextdatabase - databaseCopyright © 2022 The Apache Software Foundation. All rights reserved.