Package org.aoju.bus.pager.plugins
Interface BoundSqlHandler
public interface BoundSqlHandler
BoundSql 处理器
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface处理器链,可以控制是否继续执行static enum -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.ibatis.mapping.BoundSqlboundSql(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- 当前类型的 boundSqlcacheKey- 缓存 keychain- 处理器链,通过 chain.doBoundSql 方法继续执行后续方法,也可以直接返回 boundSql 终止后续方法的执行- Returns:
- 允许修改 boundSql 并返回修改后的
-