Class RoutingStatementHandler
java.lang.Object
org.apache.ibatis.executor.statement.RoutingStatementHandler
- All Implemented Interfaces:
StatementHandler
public class RoutingStatementHandler extends Object implements StatementHandler
- Author:
- Clinton Begin
-
Constructor Summary
Constructors Constructor Description RoutingStatementHandler(Executor executor, MappedStatement ms, Object parameter, RowBounds rowBounds, ResultHandler resultHandler, BoundSql boundSql)
-
Method Summary
Modifier and Type Method 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)
-
Constructor Details
-
RoutingStatementHandler
public RoutingStatementHandler(Executor executor, MappedStatement ms, Object parameter, RowBounds rowBounds, ResultHandler resultHandler, BoundSql boundSql)
-
-
Method Details
-
prepare
- Specified by:
prepare
in interfaceStatementHandler
- Throws:
SQLException
-
parameterize
- Specified by:
parameterize
in interfaceStatementHandler
- Throws:
SQLException
-
batch
- Specified by:
batch
in interfaceStatementHandler
- Throws:
SQLException
-
update
- Specified by:
update
in interfaceStatementHandler
- Throws:
SQLException
-
query
- Specified by:
query
in interfaceStatementHandler
- Throws:
SQLException
-
queryCursor
- Specified by:
queryCursor
in interfaceStatementHandler
- Throws:
SQLException
-
getBoundSql
- Specified by:
getBoundSql
in interfaceStatementHandler
-
getParameterHandler
- Specified by:
getParameterHandler
in interfaceStatementHandler
-