public class SqlMapExecutorWrapper extends Object implements com.ibatis.sqlmap.client.SqlMapExecutor
Constructor and Description |
---|
SqlMapExecutorWrapper(com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient client,
com.ibatis.sqlmap.client.SqlMapExecutor executor) |
Modifier and Type | Method and Description |
---|---|
int |
delete(String id) |
int |
delete(String id,
Object parameterObject) |
int |
executeBatch() |
List |
executeBatchDetailed() |
Object |
insert(String id) |
Object |
insert(String id,
Object parameterObject) |
List |
queryForList(String id) |
List |
queryForList(String id,
int skip,
int max) |
List |
queryForList(String id,
Object parameterObject) |
List |
queryForList(String id,
Object parameterObject,
int skip,
int max) |
Map |
queryForMap(String id,
Object parameterObject,
String keyProp) |
Map |
queryForMap(String id,
Object parameterObject,
String keyProp,
String valueProp) |
Object |
queryForObject(String id) |
Object |
queryForObject(String id,
Object parameterObject) |
Object |
queryForObject(String id,
Object parameterObject,
Object resultObject) |
com.ibatis.common.util.PaginatedList |
queryForPaginatedList(String id,
int pageSize) |
com.ibatis.common.util.PaginatedList |
queryForPaginatedList(String id,
Object parameterObject,
int pageSize) |
void |
queryWithRowHandler(String id,
Object parameterObject,
com.ibatis.sqlmap.client.event.RowHandler rowHandler) |
void |
queryWithRowHandler(String id,
com.ibatis.sqlmap.client.event.RowHandler rowHandler) |
void |
startBatch() |
int |
update(String id) |
int |
update(String id,
Object parameterObject) |
public SqlMapExecutorWrapper(com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient client, com.ibatis.sqlmap.client.SqlMapExecutor executor)
public Object insert(String id, Object parameterObject) throws SQLException
insert
in interface com.ibatis.sqlmap.client.SqlMapExecutor
SQLException
public Object insert(String id) throws SQLException
insert
in interface com.ibatis.sqlmap.client.SqlMapExecutor
SQLException
public int update(String id, Object parameterObject) throws SQLException
update
in interface com.ibatis.sqlmap.client.SqlMapExecutor
SQLException
public int update(String id) throws SQLException
update
in interface com.ibatis.sqlmap.client.SqlMapExecutor
SQLException
public int delete(String id, Object parameterObject) throws SQLException
delete
in interface com.ibatis.sqlmap.client.SqlMapExecutor
SQLException
public int delete(String id) throws SQLException
delete
in interface com.ibatis.sqlmap.client.SqlMapExecutor
SQLException
public Object queryForObject(String id, Object parameterObject) throws SQLException
queryForObject
in interface com.ibatis.sqlmap.client.SqlMapExecutor
SQLException
public Object queryForObject(String id) throws SQLException
queryForObject
in interface com.ibatis.sqlmap.client.SqlMapExecutor
SQLException
public Object queryForObject(String id, Object parameterObject, Object resultObject) throws SQLException
queryForObject
in interface com.ibatis.sqlmap.client.SqlMapExecutor
SQLException
public List queryForList(String id, Object parameterObject) throws SQLException
queryForList
in interface com.ibatis.sqlmap.client.SqlMapExecutor
SQLException
public List queryForList(String id) throws SQLException
queryForList
in interface com.ibatis.sqlmap.client.SqlMapExecutor
SQLException
public List queryForList(String id, Object parameterObject, int skip, int max) throws SQLException
queryForList
in interface com.ibatis.sqlmap.client.SqlMapExecutor
SQLException
public List queryForList(String id, int skip, int max) throws SQLException
queryForList
in interface com.ibatis.sqlmap.client.SqlMapExecutor
SQLException
public void queryWithRowHandler(String id, Object parameterObject, com.ibatis.sqlmap.client.event.RowHandler rowHandler) throws SQLException
queryWithRowHandler
in interface com.ibatis.sqlmap.client.SqlMapExecutor
SQLException
public void queryWithRowHandler(String id, com.ibatis.sqlmap.client.event.RowHandler rowHandler) throws SQLException
queryWithRowHandler
in interface com.ibatis.sqlmap.client.SqlMapExecutor
SQLException
public com.ibatis.common.util.PaginatedList queryForPaginatedList(String id, Object parameterObject, int pageSize) throws SQLException
queryForPaginatedList
in interface com.ibatis.sqlmap.client.SqlMapExecutor
SQLException
public com.ibatis.common.util.PaginatedList queryForPaginatedList(String id, int pageSize) throws SQLException
queryForPaginatedList
in interface com.ibatis.sqlmap.client.SqlMapExecutor
SQLException
public Map queryForMap(String id, Object parameterObject, String keyProp) throws SQLException
queryForMap
in interface com.ibatis.sqlmap.client.SqlMapExecutor
SQLException
public Map queryForMap(String id, Object parameterObject, String keyProp, String valueProp) throws SQLException
queryForMap
in interface com.ibatis.sqlmap.client.SqlMapExecutor
SQLException
public void startBatch() throws SQLException
startBatch
in interface com.ibatis.sqlmap.client.SqlMapExecutor
SQLException
public int executeBatch() throws SQLException
executeBatch
in interface com.ibatis.sqlmap.client.SqlMapExecutor
SQLException
public List executeBatchDetailed() throws SQLException, com.ibatis.sqlmap.engine.execution.BatchException
executeBatchDetailed
in interface com.ibatis.sqlmap.client.SqlMapExecutor
SQLException
com.ibatis.sqlmap.engine.execution.BatchException
Copyright © 2013–2017 Alibaba Group. All rights reserved.