public class BulkUpdateExecutor extends AbstractExecutor implements BulkExecutor
logger, queryLoggerFactory, statementFactory
Constructor and Description |
---|
BulkUpdateExecutor(StatementFactory statementFactory) |
Modifier and Type | Method and Description |
---|---|
Object |
execute(DbConnection connection,
BulkQuery bulkQuery)
Executes a bulk query
|
Object |
execute(DbConnection connection,
Query query,
List<List<QueryParamValue>> paramValues)
Executes a parameterized query using a bulk of parameter sets
|
doProcessParameters, processInputParam, setQueryLoggerFactory
public BulkUpdateExecutor(StatementFactory statementFactory)
public Object execute(DbConnection connection, BulkQuery bulkQuery) throws SQLException
BulkExecutor
execute
in interface BulkExecutor
connection
- connection to the database where the query will be executed. Non nullbulkQuery
- contains a group of non parameterized queries to executeSQLException
- if a database access error occurs or this method is called on a closed connectionpublic Object execute(DbConnection connection, Query query, List<List<QueryParamValue>> paramValues) throws SQLException
BulkExecutor
execute
in interface BulkExecutor
connection
- connection to the database where the query will be executed. Non nullquery
- parameterized query to executed using the sets of parametersparamValues
- parameters to use to execute the querySQLException
- if a database access error occurs or this method is called on a closed connectionCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.