| 程序包 | 说明 |
|---|---|
| org.apache.shardingsphere.infra.route | |
| org.apache.shardingsphere.infra.route.engine | |
| org.apache.shardingsphere.infra.route.engine.impl |
| 限定符和类型 | 方法和说明 |
|---|---|
RouteContext |
SQLRouter.createRouteContext(QueryContext queryContext,
org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase database,
T rule,
org.apache.shardingsphere.infra.config.props.ConfigurationProperties props,
org.apache.shardingsphere.infra.context.ConnectionContext connectionContext)
Create route context.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
SQLRouter.decorateRouteContext(RouteContext routeContext,
QueryContext queryContext,
org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase database,
T rule,
org.apache.shardingsphere.infra.config.props.ConfigurationProperties props,
org.apache.shardingsphere.infra.context.ConnectionContext connectionContext)
Decorate route context.
|
| 限定符和类型 | 方法和说明 |
|---|---|
RouteContext |
SQLRouteEngine.route(org.apache.shardingsphere.infra.context.ConnectionContext connectionContext,
QueryContext queryContext,
org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase database)
Route SQL.
|
RouteContext |
SQLRouteExecutor.route(org.apache.shardingsphere.infra.context.ConnectionContext connectionContext,
QueryContext queryContext,
org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase database)
Route.
|
| 限定符和类型 | 方法和说明 |
|---|---|
RouteContext |
AllSQLRouteExecutor.route(org.apache.shardingsphere.infra.context.ConnectionContext connectionContext,
QueryContext queryContext,
org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase database) |
RouteContext |
PartialSQLRouteExecutor.route(org.apache.shardingsphere.infra.context.ConnectionContext connectionContext,
QueryContext queryContext,
org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase database) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.