org.apache.ibatis.executor
Interface Executor
- All Known Implementing Classes:
- BaseExecutor, BatchExecutor, CachingExecutor, ReuseExecutor, SimpleExecutor
public interface Executor
Method Summary |
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)
|
List<BatchResult> |
flushStatements()
|
Transaction |
getTransaction()
|
boolean |
isCached(MappedStatement ms,
CacheKey key)
|
boolean |
isClosed()
|
|
query(MappedStatement ms,
Object parameter,
RowBounds rowBounds,
ResultHandler resultHandler)
|
|
query(MappedStatement ms,
Object parameter,
RowBounds rowBounds,
ResultHandler resultHandler,
CacheKey cacheKey,
BoundSql boundSql)
|
void |
rollback(boolean required)
|
int |
update(MappedStatement ms,
Object parameter)
|
NO_RESULT_HANDLER
static final ResultHandler NO_RESULT_HANDLER
update
int update(MappedStatement ms,
Object parameter)
throws SQLException
- 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
flushStatements
List<BatchResult> flushStatements()
throws SQLException
- Throws:
SQLException
commit
void commit(boolean required)
throws SQLException
- Throws:
SQLException
rollback
void rollback(boolean required)
throws SQLException
- Throws:
SQLException
createCacheKey
CacheKey createCacheKey(MappedStatement ms,
Object parameterObject,
RowBounds rowBounds,
BoundSql boundSql)
isCached
boolean isCached(MappedStatement ms,
CacheKey key)
clearLocalCache
void clearLocalCache()
deferLoad
void deferLoad(MappedStatement ms,
MetaObject resultObject,
String property,
CacheKey key)
getTransaction
Transaction getTransaction()
close
void close(boolean forceRollback)
isClosed
boolean isClosed()
Copyright © 2010-2012 MyBatis.org. All Rights Reserved.