T - type of rulepublic interface SQLRewriteContextDecorator<T extends org.apache.shardingsphere.infra.rule.ShardingSphereRule>
extends org.apache.shardingsphere.spi.ordered.OrderedSPI<T>
| 限定符和类型 | 方法和说明 |
|---|---|
void |
decorate(T rule,
org.apache.shardingsphere.infra.config.properties.ConfigurationProperties props,
SQLRewriteContext sqlRewriteContext,
RouteContext routeContext)
Decorate SQL rewrite context.
|
void decorate(T rule, org.apache.shardingsphere.infra.config.properties.ConfigurationProperties props, SQLRewriteContext sqlRewriteContext, RouteContext routeContext)
rule - ruleprops - ShardingSphere propertiessqlRewriteContext - SQL rewrite context to be decoratedrouteContext - route contextCopyright © 2021 The Apache Software Foundation. All rights reserved.