public interface BoundSqlHandler
| Modifier and Type | Interface and Description |
|---|---|
static interface |
BoundSqlHandler.Chain
处理器链,可以控制是否继续执行
|
static class |
BoundSqlHandler.Type |
| Modifier and Type | Method and 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 处理
|
org.apache.ibatis.mapping.BoundSql boundSql(BoundSqlHandler.Type type, org.apache.ibatis.mapping.BoundSql boundSql, org.apache.ibatis.cache.CacheKey cacheKey, BoundSqlHandler.Chain chain)
type - 类型boundSql - 当前类型的 boundSqlcacheKey - 缓存 keychain - 处理器链,通过 chain.doBoundSql 方法继续执行后续方法,也可以直接返回 boundSql 终止后续方法的执行Copyright © 2021. All rights reserved.