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 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:
      decorate in interface SQLRewriteContextDecorator<EncryptRule>
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.apache.shardingsphere.infra.util.spi.type.ordered.OrderedSPI<EncryptRule>
    • getTypeClass

      public Class<EncryptRule> getTypeClass()
      Specified by:
      getTypeClass in interface org.apache.shardingsphere.infra.util.spi.type.ordered.OrderedSPI<EncryptRule>