public interface BatchCollector
| Modifier and Type | Interface and Description |
|---|---|
static interface |
BatchCollector.ResultCheck |
| Modifier and Type | Method and Description |
|---|---|
void |
batchUpdate(JdbcTemplate jdbcTemplate)
Executes batch update using all collected batch groups.
|
void |
collectQuery(java.lang.String sql,
java.lang.Object... params)
Collects query with parameters for further batch execution.
|
void |
collectQuery(java.lang.String sql,
java.lang.Object[] params,
BatchCollector.ResultCheck resultCheck)
Collects query with parameters for further batch execution.
|
void |
collectQuery(java.lang.String sql,
PreparedStatementSetter statementSetter)
Collects query with statement setter for further batch execution.
|
void |
collectQuery(java.lang.String sql,
PreparedStatementSetter statementSetter,
BatchCollector.ResultCheck resultCheck)
Collect query.
|
void collectQuery(java.lang.String sql,
java.lang.Object... params)
sql - defining PreparedStatement that will be reused.params - arguments for the queryvoid collectQuery(java.lang.String sql,
java.lang.Object[] params,
BatchCollector.ResultCheck resultCheck)
sql - defining PreparedStatement that will be reused.params - arguments for the queryresultCheck - the result check objectvoid collectQuery(java.lang.String sql,
PreparedStatementSetter statementSetter)
sql - defining PreparedStatement that will be reused.statementSetter - object to set parameters on the PreparedStatement created by this methodvoid collectQuery(java.lang.String sql,
PreparedStatementSetter statementSetter,
BatchCollector.ResultCheck resultCheck)
sql - defining PreparedStatement that will be reused.statementSetter - object to set parameters on the PreparedStatement created by this methodresultCheck - the result check objectvoid batchUpdate(JdbcTemplate jdbcTemplate)
Copyright © 2018 SAP SE. All Rights Reserved.