T - type of rulepublic interface SQLRouter<T extends org.apache.shardingsphere.infra.rule.ShardingSphereRule>
extends org.apache.shardingsphere.spi.ordered.OrderedSPI<T>
| Modifier and Type | Method and Description |
|---|---|
RouteContext |
createRouteContext(LogicSQL logicSQL,
org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData metaData,
T rule,
org.apache.shardingsphere.infra.config.props.ConfigurationProperties props)
Create route context.
|
void |
decorateRouteContext(RouteContext routeContext,
LogicSQL logicSQL,
org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData metaData,
T rule,
org.apache.shardingsphere.infra.config.props.ConfigurationProperties props)
Decorate route context.
|
RouteContext createRouteContext(LogicSQL logicSQL, org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData metaData, T rule, org.apache.shardingsphere.infra.config.props.ConfigurationProperties props)
logicSQL - logic SQLmetaData - ShardingSphere meta datarule - ruleprops - configuration propertiesvoid decorateRouteContext(RouteContext routeContext, LogicSQL logicSQL, org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData metaData, T rule, org.apache.shardingsphere.infra.config.props.ConfigurationProperties props)
routeContext - route contextlogicSQL - logic SQLmetaData - ShardingSphere meta datarule - ruleprops - configuration propertiesCopyright © 2022 The Apache Software Foundation. All rights reserved.