public class

CachingExecutor

extends Object
implements Executor
java.lang.Object
   ↳ org.apache.ibatis.executor.CachingExecutor

Summary

[Expand]
Inherited Fields
From interface org.apache.ibatis.executor.Executor
Public Constructors
CachingExecutor(Executor delegate)
Public Methods
void clearLocalCache()
void close(boolean forceRollback)
void commit(boolean required)
CacheKey createCacheKey(MappedStatement ms, Object parameterObject, RowBounds rowBounds, BoundSql boundSql)
void deferLoad(MappedStatement ms, MetaObject resultObject, String property, CacheKey key, Class<?> targetType)
List<BatchResult> flushStatements()
Transaction getTransaction()
boolean isCached(MappedStatement ms, CacheKey key)
boolean isClosed()
<E> List<E> query(MappedStatement ms, Object parameterObject, RowBounds rowBounds, ResultHandler resultHandler)
<E> List<E> query(MappedStatement ms, Object parameterObject, RowBounds rowBounds, ResultHandler resultHandler, CacheKey key, BoundSql boundSql)
<E> Cursor<E> queryCursor(MappedStatement ms, Object parameter, RowBounds rowBounds)
void rollback(boolean required)
void setExecutorWrapper(Executor executor)
int update(MappedStatement ms, Object parameterObject)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.ibatis.executor.Executor

Public Constructors

public CachingExecutor (Executor delegate)

Public Methods

public void clearLocalCache ()

public void close (boolean forceRollback)

public void commit (boolean required)

Throws
SQLException

public CacheKey createCacheKey (MappedStatement ms, Object parameterObject, RowBounds rowBounds, BoundSql boundSql)

public void deferLoad (MappedStatement ms, MetaObject resultObject, String property, CacheKey key, Class<?> targetType)

public List<BatchResult> flushStatements ()

Throws
SQLException

public Transaction getTransaction ()

public boolean isCached (MappedStatement ms, CacheKey key)

public boolean isClosed ()

public List<E> query (MappedStatement ms, Object parameterObject, RowBounds rowBounds, ResultHandler resultHandler)

Throws
SQLException

public List<E> query (MappedStatement ms, Object parameterObject, RowBounds rowBounds, ResultHandler resultHandler, CacheKey key, BoundSql boundSql)

Throws
SQLException

public Cursor<E> queryCursor (MappedStatement ms, Object parameter, RowBounds rowBounds)

Throws
SQLException

public void rollback (boolean required)

Throws
SQLException

public void setExecutorWrapper (Executor executor)

public int update (MappedStatement ms, Object parameterObject)

Throws
SQLException