| 限定符和类型 | 方法和说明 |
|---|---|
Class<ShadowRule> |
ShadowDataNodeBuilder.getTypeClass() |
| 限定符和类型 | 方法和说明 |
|---|---|
Collection<org.apache.shardingsphere.infra.datanode.DataNode> |
ShadowDataNodeBuilder.build(Collection<org.apache.shardingsphere.infra.datanode.DataNode> dataNodes,
ShadowRule rule) |
| 限定符和类型 | 方法和说明 |
|---|---|
Class<ShadowRule> |
ShadowSQLRouter.getTypeClass() |
| 限定符和类型 | 方法和说明 |
|---|---|
RouteContext |
ShadowSQLRouter.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 |
ShadowSQLRouter.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) |
| 限定符和类型 | 方法和说明 |
|---|---|
default void |
ShadowRouteEngine.decorateRouteContext(RouteContext routeContext,
ShadowRule shadowRule,
Map<String,String> shadowDataSourceMappings)
Decorate route context.
|
void |
ShadowRouteEngine.route(RouteContext routeContext,
ShadowRule shadowRule)
Route.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
HintShadowAlgorithmDeterminer.isShadow(HintShadowAlgorithm<Comparable<?>> shadowAlgorithm,
ShadowDetermineCondition shadowCondition,
ShadowRule shadowRule)
Is shadow in hint shadow algorithm.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AbstractShadowDMLStatementRouteEngine.route(RouteContext routeContext,
ShadowRule shadowRule) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ShadowNonDMLStatementRoutingEngine.route(RouteContext routeContext,
ShadowRule shadowRule) |
| 限定符和类型 | 方法和说明 |
|---|---|
ShadowRule |
AlgorithmProvidedShadowRuleBuilder.build(AlgorithmProvidedShadowRuleConfiguration config,
String databaseName,
Map<String,DataSource> dataSources,
Collection<org.apache.shardingsphere.infra.rule.ShardingSphereRule> builtRules,
org.apache.shardingsphere.infra.instance.InstanceContext instanceContext) |
ShadowRule |
ShadowRuleBuilder.build(ShadowRuleConfiguration config,
String databaseName,
Map<String,DataSource> dataSources,
Collection<org.apache.shardingsphere.infra.rule.ShardingSphereRule> builtRules,
org.apache.shardingsphere.infra.instance.InstanceContext instanceContext) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.