Package org.apache.ibatis.executor
Class ReuseExecutor
- java.lang.Object
 - 
- org.apache.ibatis.executor.BaseExecutor
 - 
- org.apache.ibatis.executor.ReuseExecutor
 
 
 
- 
- All Implemented Interfaces:
 Executor
public class ReuseExecutor extends BaseExecutor
- Author:
 - Clinton Begin
 
 
- 
- 
Field Summary
- 
Fields inherited from class org.apache.ibatis.executor.BaseExecutor
configuration, deferredLoads, localCache, localOutputParameterCache, queryStack, transaction, wrapper 
- 
Fields inherited from interface org.apache.ibatis.executor.Executor
NO_RESULT_HANDLER 
 - 
 
- 
Constructor Summary
Constructors Constructor Description ReuseExecutor(Configuration configuration, Transaction transaction) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<BatchResult>doFlushStatements(boolean isRollback)<E> List<E>doQuery(MappedStatement ms, Object parameter, RowBounds rowBounds, ResultHandler resultHandler, BoundSql boundSql)protected <E> Cursor<E>doQueryCursor(MappedStatement ms, Object parameter, RowBounds rowBounds, BoundSql boundSql)intdoUpdate(MappedStatement ms, Object parameter)- 
Methods inherited from class org.apache.ibatis.executor.BaseExecutor
applyTransactionTimeout, clearLocalCache, close, closeStatement, commit, createCacheKey, deferLoad, flushStatements, flushStatements, getConnection, getTransaction, isCached, isClosed, query, query, queryCursor, rollback, setExecutorWrapper, update 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
ReuseExecutor
public ReuseExecutor(Configuration configuration, Transaction transaction)
 
 - 
 
- 
Method Detail
- 
doUpdate
public int doUpdate(MappedStatement ms, Object parameter) throws SQLException
- Specified by:
 doUpdatein classBaseExecutor- Throws:
 SQLException
 
- 
doQuery
public <E> List<E> doQuery(MappedStatement ms, Object parameter, RowBounds rowBounds, ResultHandler resultHandler, BoundSql boundSql) throws SQLException
- Specified by:
 doQueryin classBaseExecutor- Throws:
 SQLException
 
- 
doQueryCursor
protected <E> Cursor<E> doQueryCursor(MappedStatement ms, Object parameter, RowBounds rowBounds, BoundSql boundSql) throws SQLException
- Specified by:
 doQueryCursorin classBaseExecutor- Throws:
 SQLException
 
- 
doFlushStatements
public List<BatchResult> doFlushStatements(boolean isRollback)
- Specified by:
 doFlushStatementsin classBaseExecutor
 
 - 
 
 -