org.apache.ibatis.executor.statement
Class RoutingStatementHandler
java.lang.Object
org.apache.ibatis.executor.statement.RoutingStatementHandler
- All Implemented Interfaces:
- StatementHandler
public class RoutingStatementHandler
- extends Object
- implements StatementHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoutingStatementHandler
public RoutingStatementHandler(Executor executor,
MappedStatement ms,
Object parameter,
RowBounds rowBounds,
ResultHandler resultHandler,
BoundSql boundSql)
prepare
public Statement prepare(Connection connection)
throws SQLException
- Specified by:
prepare
in interface StatementHandler
- Throws:
SQLException
parameterize
public void parameterize(Statement statement)
throws SQLException
- Specified by:
parameterize
in interface StatementHandler
- Throws:
SQLException
batch
public void batch(Statement statement)
throws SQLException
- Specified by:
batch
in interface StatementHandler
- Throws:
SQLException
update
public int update(Statement statement)
throws SQLException
- Specified by:
update
in interface StatementHandler
- Throws:
SQLException
query
public <E> List<E> query(Statement statement,
ResultHandler resultHandler)
throws SQLException
- Specified by:
query
in interface StatementHandler
- Throws:
SQLException
getBoundSql
public BoundSql getBoundSql()
- Specified by:
getBoundSql
in interface StatementHandler
getParameterHandler
public ParameterHandler getParameterHandler()
- Specified by:
getParameterHandler
in interface StatementHandler
Copyright © 2010-2012 MyBatis.org. All Rights Reserved.