public final class ShadowSQLRouter extends Object implements SQLRouter<ShadowRule>
| 构造器和说明 |
|---|
ShadowSQLRouter() |
| 限定符和类型 | 方法和说明 |
|---|---|
RouteContext |
createRouteContext(QueryContext queryContext,
org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase database,
ShadowRule rule,
org.apache.shardingsphere.infra.config.props.ConfigurationProperties props,
org.apache.shardingsphere.infra.context.ConnectionContext connectionContext) |
void |
decorateRouteContext(RouteContext routeContext,
QueryContext queryContext,
org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase database,
ShadowRule rule,
org.apache.shardingsphere.infra.config.props.ConfigurationProperties props,
org.apache.shardingsphere.infra.context.ConnectionContext connectionContext) |
int |
getOrder() |
Class<ShadowRule> |
getTypeClass() |
public RouteContext createRouteContext(QueryContext queryContext, org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase database, ShadowRule rule, org.apache.shardingsphere.infra.config.props.ConfigurationProperties props, org.apache.shardingsphere.infra.context.ConnectionContext connectionContext)
createRouteContext 在接口中 SQLRouter<ShadowRule>public void decorateRouteContext(RouteContext routeContext, QueryContext queryContext, org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase database, ShadowRule rule, org.apache.shardingsphere.infra.config.props.ConfigurationProperties props, org.apache.shardingsphere.infra.context.ConnectionContext connectionContext)
decorateRouteContext 在接口中 SQLRouter<ShadowRule>public int getOrder()
getOrder 在接口中 org.apache.shardingsphere.infra.util.spi.type.ordered.OrderedSPI<ShadowRule>public Class<ShadowRule> getTypeClass()
getTypeClass 在接口中 org.apache.shardingsphere.infra.util.spi.type.ordered.OrderedSPI<ShadowRule>Copyright © 2022 The Apache Software Foundation. All rights reserved.