public final class CachedShardingSQLRouter extends Object implements org.apache.shardingsphere.infra.route.SQLRouter<ShardingCacheRule>
| Constructor and Description |
|---|
CachedShardingSQLRouter() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.shardingsphere.infra.route.context.RouteContext |
createRouteContext(org.apache.shardingsphere.infra.binder.QueryContext queryContext,
org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase database,
ShardingCacheRule rule,
org.apache.shardingsphere.infra.config.props.ConfigurationProperties props,
org.apache.shardingsphere.infra.context.ConnectionContext connectionContext) |
void |
decorateRouteContext(org.apache.shardingsphere.infra.route.context.RouteContext routeContext,
org.apache.shardingsphere.infra.binder.QueryContext queryContext,
org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase database,
ShardingCacheRule rule,
org.apache.shardingsphere.infra.config.props.ConfigurationProperties props,
org.apache.shardingsphere.infra.context.ConnectionContext connectionContext) |
int |
getOrder() |
Class<ShardingCacheRule> |
getTypeClass() |
public org.apache.shardingsphere.infra.route.context.RouteContext createRouteContext(org.apache.shardingsphere.infra.binder.QueryContext queryContext,
org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase database,
ShardingCacheRule rule,
org.apache.shardingsphere.infra.config.props.ConfigurationProperties props,
org.apache.shardingsphere.infra.context.ConnectionContext connectionContext)
createRouteContext in interface org.apache.shardingsphere.infra.route.SQLRouter<ShardingCacheRule>public void decorateRouteContext(org.apache.shardingsphere.infra.route.context.RouteContext routeContext,
org.apache.shardingsphere.infra.binder.QueryContext queryContext,
org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase database,
ShardingCacheRule rule,
org.apache.shardingsphere.infra.config.props.ConfigurationProperties props,
org.apache.shardingsphere.infra.context.ConnectionContext connectionContext)
decorateRouteContext in interface org.apache.shardingsphere.infra.route.SQLRouter<ShardingCacheRule>public int getOrder()
getOrder in interface org.apache.shardingsphere.infra.util.spi.type.ordered.OrderedSPI<ShardingCacheRule>public Class<ShardingCacheRule> getTypeClass()
getTypeClass in interface org.apache.shardingsphere.infra.util.spi.type.ordered.OrderedSPI<ShardingCacheRule>Copyright © 2023 The Apache Software Foundation. All rights reserved.