类 MybatisCachingExecutor
java.lang.Object
com.baomidou.mybatisplus.core.executor.MybatisCachingExecutor
- 所有已实现的接口:
org.apache.ibatis.executor.Executor
@Deprecated public class MybatisCachingExecutor extends Object implements org.apache.ibatis.executor.Executor
已过时。
3.4.0
copy org.apache.ibatis.executor.CachingExecutor 主要修改了分页缓存逻辑
- 作者:
- nieqiuqiu
-
字段概要
从接口继承的字段 org.apache.ibatis.executor.Executor
NO_RESULT_HANDLER -
构造器概要
构造器 构造器 说明 MybatisCachingExecutor(org.apache.ibatis.executor.Executor delegate)已过时。 -
方法概要
修饰符和类型 方法 说明 voidclearLocalCache()已过时。voidclose(boolean forceRollback)已过时。voidcommit(boolean required)已过时。org.apache.ibatis.cache.CacheKeycreateCacheKey(org.apache.ibatis.mapping.MappedStatement ms, Object parameterObject, org.apache.ibatis.session.RowBounds rowBounds, org.apache.ibatis.mapping.BoundSql boundSql)已过时。voiddeferLoad(org.apache.ibatis.mapping.MappedStatement ms, org.apache.ibatis.reflection.MetaObject resultObject, String property, org.apache.ibatis.cache.CacheKey key, Class<?> targetType)已过时。List<org.apache.ibatis.executor.BatchResult>flushStatements()已过时。protected org.apache.ibatis.cache.CacheKeygetCountCacheKey(org.apache.ibatis.mapping.MappedStatement mappedStatement, org.apache.ibatis.mapping.BoundSql boundSql, Object parameterObject, org.apache.ibatis.session.RowBounds rowBounds)已过时。org.apache.ibatis.transaction.TransactiongetTransaction()已过时。booleanisCached(org.apache.ibatis.mapping.MappedStatement ms, org.apache.ibatis.cache.CacheKey key)已过时。booleanisClosed()已过时。<E> List<E>query(org.apache.ibatis.mapping.MappedStatement ms, Object parameterObject, org.apache.ibatis.session.RowBounds rowBounds, org.apache.ibatis.session.ResultHandler resultHandler)已过时。<E> List<E>query(org.apache.ibatis.mapping.MappedStatement ms, Object parameterObject, org.apache.ibatis.session.RowBounds rowBounds, org.apache.ibatis.session.ResultHandler resultHandler, org.apache.ibatis.cache.CacheKey key, org.apache.ibatis.mapping.BoundSql boundSql)已过时。<E> org.apache.ibatis.cursor.Cursor<E>queryCursor(org.apache.ibatis.mapping.MappedStatement ms, Object parameter, org.apache.ibatis.session.RowBounds rowBounds)已过时。voidrollback(boolean required)已过时。voidsetExecutorWrapper(org.apache.ibatis.executor.Executor executor)已过时。intupdate(org.apache.ibatis.mapping.MappedStatement ms, Object parameterObject)已过时。
-
构造器详细资料
-
MybatisCachingExecutor
public MybatisCachingExecutor(org.apache.ibatis.executor.Executor delegate)已过时。
-
-
方法详细资料
-
getTransaction
public org.apache.ibatis.transaction.Transaction getTransaction()已过时。- 指定者:
getTransaction在接口中org.apache.ibatis.executor.Executor
-
close
public void close(boolean forceRollback)已过时。- 指定者:
close在接口中org.apache.ibatis.executor.Executor
-
isClosed
public boolean isClosed()已过时。- 指定者:
isClosed在接口中org.apache.ibatis.executor.Executor
-
update
public int update(org.apache.ibatis.mapping.MappedStatement ms, Object parameterObject) throws SQLException已过时。- 指定者:
update在接口中org.apache.ibatis.executor.Executor- 抛出:
SQLException
-
query
public <E> List<E> query(org.apache.ibatis.mapping.MappedStatement ms, Object parameterObject, org.apache.ibatis.session.RowBounds rowBounds, org.apache.ibatis.session.ResultHandler resultHandler) throws SQLException已过时。- 指定者:
query在接口中org.apache.ibatis.executor.Executor- 抛出:
SQLException
-
queryCursor
public <E> org.apache.ibatis.cursor.Cursor<E> queryCursor(org.apache.ibatis.mapping.MappedStatement ms, Object parameter, org.apache.ibatis.session.RowBounds rowBounds) throws SQLException已过时。- 指定者:
queryCursor在接口中org.apache.ibatis.executor.Executor- 抛出:
SQLException
-
query
public <E> List<E> query(org.apache.ibatis.mapping.MappedStatement ms, Object parameterObject, org.apache.ibatis.session.RowBounds rowBounds, org.apache.ibatis.session.ResultHandler resultHandler, org.apache.ibatis.cache.CacheKey key, org.apache.ibatis.mapping.BoundSql boundSql) throws SQLException已过时。- 指定者:
query在接口中org.apache.ibatis.executor.Executor- 抛出:
SQLException
-
getCountCacheKey
protected org.apache.ibatis.cache.CacheKey getCountCacheKey(org.apache.ibatis.mapping.MappedStatement mappedStatement, org.apache.ibatis.mapping.BoundSql boundSql, Object parameterObject, org.apache.ibatis.session.RowBounds rowBounds)已过时。 -
flushStatements
已过时。- 指定者:
flushStatements在接口中org.apache.ibatis.executor.Executor- 抛出:
SQLException
-
commit
已过时。- 指定者:
commit在接口中org.apache.ibatis.executor.Executor- 抛出:
SQLException
-
rollback
已过时。- 指定者:
rollback在接口中org.apache.ibatis.executor.Executor- 抛出:
SQLException
-
createCacheKey
public org.apache.ibatis.cache.CacheKey createCacheKey(org.apache.ibatis.mapping.MappedStatement ms, Object parameterObject, org.apache.ibatis.session.RowBounds rowBounds, org.apache.ibatis.mapping.BoundSql boundSql)已过时。- 指定者:
createCacheKey在接口中org.apache.ibatis.executor.Executor
-
isCached
public boolean isCached(org.apache.ibatis.mapping.MappedStatement ms, org.apache.ibatis.cache.CacheKey key)已过时。- 指定者:
isCached在接口中org.apache.ibatis.executor.Executor
-
deferLoad
public void deferLoad(org.apache.ibatis.mapping.MappedStatement ms, org.apache.ibatis.reflection.MetaObject resultObject, String property, org.apache.ibatis.cache.CacheKey key, Class<?> targetType)已过时。- 指定者:
deferLoad在接口中org.apache.ibatis.executor.Executor
-
clearLocalCache
public void clearLocalCache()已过时。- 指定者:
clearLocalCache在接口中org.apache.ibatis.executor.Executor
-
setExecutorWrapper
public void setExecutorWrapper(org.apache.ibatis.executor.Executor executor)已过时。- 指定者:
setExecutorWrapper在接口中org.apache.ibatis.executor.Executor
-