Interface StatementHandler
-
- All Known Implementing Classes:
BaseStatementHandler
,CallableStatementHandler
,PreparedStatementHandler
,RoutingStatementHandler
,SimpleStatementHandler
public interface StatementHandler
- Author:
- Clinton Begin
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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)
-
-
-
Method Detail
-
prepare
Statement prepare(Connection connection, Integer transactionTimeout) throws SQLException
- Throws:
SQLException
-
parameterize
void parameterize(Statement statement) throws SQLException
- Throws:
SQLException
-
batch
void batch(Statement statement) throws SQLException
- Throws:
SQLException
-
update
int update(Statement statement) throws SQLException
- Throws:
SQLException
-
query
<E> List<E> query(Statement statement, ResultHandler resultHandler) throws SQLException
- Throws:
SQLException
-
queryCursor
<E> Cursor<E> queryCursor(Statement statement) throws SQLException
- Throws:
SQLException
-
getBoundSql
BoundSql getBoundSql()
-
getParameterHandler
ParameterHandler getParameterHandler()
-
-