Package org.apache.ibatis.executor
Interface Executor
- All Known Implementing Classes:
BaseExecutor
,BatchExecutor
,CachingExecutor
,ReuseExecutor
,SimpleExecutor
public interface Executor
- Author:
- Clinton Begin
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
close
(boolean forceRollback) void
commit
(boolean required) createCacheKey
(MappedStatement ms, Object parameterObject, RowBounds rowBounds, BoundSql boundSql) void
deferLoad
(MappedStatement ms, MetaObject resultObject, String property, CacheKey key, Class<?> targetType) boolean
isCached
(MappedStatement ms, CacheKey key) boolean
isClosed()
<E> List<E>
query
(MappedStatement ms, Object parameter, RowBounds rowBounds, ResultHandler resultHandler) <E> List<E>
query
(MappedStatement ms, Object parameter, RowBounds rowBounds, ResultHandler resultHandler, CacheKey cacheKey, 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 parameter)
-
Field Details
-
NO_RESULT_HANDLER
-
-
Method Details
-
update
- Throws:
SQLException
-
query
<E> List<E> query(MappedStatement ms, Object parameter, RowBounds rowBounds, ResultHandler resultHandler, CacheKey cacheKey, BoundSql boundSql) throws SQLException - Throws:
SQLException
-
query
<E> List<E> query(MappedStatement ms, Object parameter, RowBounds rowBounds, ResultHandler resultHandler) throws SQLException - Throws:
SQLException
-
queryCursor
<E> Cursor<E> queryCursor(MappedStatement ms, Object parameter, RowBounds rowBounds) throws SQLException - Throws:
SQLException
-
flushStatements
- Throws:
SQLException
-
commit
- Throws:
SQLException
-
rollback
- Throws:
SQLException
-
createCacheKey
CacheKey createCacheKey(MappedStatement ms, Object parameterObject, RowBounds rowBounds, BoundSql boundSql) -
isCached
-
clearLocalCache
void clearLocalCache() -
deferLoad
void deferLoad(MappedStatement ms, MetaObject resultObject, String property, CacheKey key, Class<?> targetType) -
getTransaction
Transaction getTransaction() -
close
void close(boolean forceRollback) -
isClosed
boolean isClosed() -
setExecutorWrapper
-