Interface BoundSqlHandler


public interface BoundSqlHandler
BoundSql 处理器
Since:
Java 17+
Author:
Kimi Liu
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    处理器链,可以控制是否继续执行
    static enum 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.ibatis.mapping.BoundSql
    boundSql(BoundSqlHandler.Type type, org.apache.ibatis.mapping.BoundSql boundSql, org.apache.ibatis.cache.CacheKey cacheKey, BoundSqlHandler.Chain chain)
    boundsql 处理
  • Method Details

    • boundSql

      org.apache.ibatis.mapping.BoundSql boundSql(BoundSqlHandler.Type type, org.apache.ibatis.mapping.BoundSql boundSql, org.apache.ibatis.cache.CacheKey cacheKey, BoundSqlHandler.Chain chain)
      boundsql 处理
      Parameters:
      type - 类型
      boundSql - 当前类型的 boundSql
      cacheKey - 缓存 key
      chain - 处理器链,通过 chain.doBoundSql 方法继续执行后续方法,也可以直接返回 boundSql 终止后续方法的执行
      Returns:
      允许修改 boundSql 并返回修改后的