Class EncryptSQLRewriteContextDecorator
java.lang.Object
org.apache.shardingsphere.encrypt.rewrite.context.EncryptSQLRewriteContextDecorator
- All Implemented Interfaces:
SQLRewriteContextDecorator<EncryptRule>,org.apache.shardingsphere.infra.util.spi.type.ordered.OrderedSPI<EncryptRule>
public final class EncryptSQLRewriteContextDecorator
extends Object
implements SQLRewriteContextDecorator<EncryptRule>
SQL rewrite context decorator for encrypt.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecorate(EncryptRule encryptRule, org.apache.shardingsphere.infra.config.props.ConfigurationProperties props, SQLRewriteContext sqlRewriteContext, org.apache.shardingsphere.infra.route.context.RouteContext routeContext) intgetOrder()
-
Constructor Details
-
EncryptSQLRewriteContextDecorator
public EncryptSQLRewriteContextDecorator()
-
-
Method Details
-
decorate
public void decorate(EncryptRule encryptRule, org.apache.shardingsphere.infra.config.props.ConfigurationProperties props, SQLRewriteContext sqlRewriteContext, org.apache.shardingsphere.infra.route.context.RouteContext routeContext) - Specified by:
decoratein interfaceSQLRewriteContextDecorator<EncryptRule>
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.apache.shardingsphere.infra.util.spi.type.ordered.OrderedSPI<EncryptRule>
-
getTypeClass
- Specified by:
getTypeClassin interfaceorg.apache.shardingsphere.infra.util.spi.type.ordered.OrderedSPI<EncryptRule>
-