public final class DatabaseDiscoverySQLRouter extends Object implements SQLRouter<DatabaseDiscoveryRule>
| Constructor and Description |
|---|
DatabaseDiscoverySQLRouter() |
| Modifier and Type | Method and Description |
|---|---|
RouteContext |
createRouteContext(org.apache.shardingsphere.infra.binder.LogicSQL logicSQL,
org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData metaData,
DatabaseDiscoveryRule rule,
org.apache.shardingsphere.infra.config.properties.ConfigurationProperties props) |
void |
decorateRouteContext(RouteContext routeContext,
org.apache.shardingsphere.infra.binder.LogicSQL logicSQL,
org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData metaData,
DatabaseDiscoveryRule rule,
org.apache.shardingsphere.infra.config.properties.ConfigurationProperties props) |
int |
getOrder() |
Class<DatabaseDiscoveryRule> |
getTypeClass() |
public RouteContext createRouteContext(org.apache.shardingsphere.infra.binder.LogicSQL logicSQL, org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData metaData, DatabaseDiscoveryRule rule, org.apache.shardingsphere.infra.config.properties.ConfigurationProperties props)
createRouteContext in interface SQLRouter<DatabaseDiscoveryRule>public void decorateRouteContext(RouteContext routeContext, org.apache.shardingsphere.infra.binder.LogicSQL logicSQL, org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData metaData, DatabaseDiscoveryRule rule, org.apache.shardingsphere.infra.config.properties.ConfigurationProperties props)
decorateRouteContext in interface SQLRouter<DatabaseDiscoveryRule>public int getOrder()
getOrder in interface org.apache.shardingsphere.infra.spi.ordered.OrderedSPI<DatabaseDiscoveryRule>public Class<DatabaseDiscoveryRule> getTypeClass()
getTypeClass in interface org.apache.shardingsphere.infra.spi.ordered.OrderedSPI<DatabaseDiscoveryRule>Copyright © 2021 The Apache Software Foundation. All rights reserved.