public class RoutingStatementHandler extends Object implements StatementHandler
Constructor and Description |
---|
RoutingStatementHandler(Executor executor,
MappedStatement ms,
Object parameter,
RowBounds rowBounds,
ResultHandler resultHandler,
BoundSql boundSql) |
Modifier and Type | Method and Description |
---|---|
void |
batch(Statement statement) |
BoundSql |
getBoundSql() |
ParameterHandler |
getParameterHandler() |
void |
parameterize(Statement statement) |
Statement |
prepare(Connection connection,
Integer transactionTimeout) |
<E> List<E> |
query(Statement statement,
ResultHandler resultHandler) |
<E> Cursor<E> |
queryCursor(Statement statement) |
int |
update(Statement statement) |
public RoutingStatementHandler(Executor executor, MappedStatement ms, Object parameter, RowBounds rowBounds, ResultHandler resultHandler, BoundSql boundSql)
public Statement prepare(Connection connection, Integer transactionTimeout) throws SQLException
prepare
in interface StatementHandler
SQLException
public void parameterize(Statement statement) throws SQLException
parameterize
in interface StatementHandler
SQLException
public void batch(Statement statement) throws SQLException
batch
in interface StatementHandler
SQLException
public int update(Statement statement) throws SQLException
update
in interface StatementHandler
SQLException
public <E> List<E> query(Statement statement, ResultHandler resultHandler) throws SQLException
query
in interface StatementHandler
SQLException
public <E> Cursor<E> queryCursor(Statement statement) throws SQLException
queryCursor
in interface StatementHandler
SQLException
public BoundSql getBoundSql()
getBoundSql
in interface StatementHandler
public ParameterHandler getParameterHandler()
getParameterHandler
in interface StatementHandler
Copyright © 2009–2020 MyBatis.org. All rights reserved.