public interface BatchQuery
| Modifier and Type | Method and Description |
|---|---|
BatchQuery |
batchSize(Integer batchSize)
Sets size of a batch
|
BatchQuery |
namedParams(Iterator<Map<String,?>> params) |
BatchQuery |
params(Iterator<List<?>> params) |
List<UpdateResult> |
run()
Runs the batch insert or update and returns the results (eg affected rows)
|
BatchQuery params(Iterator<List<?>> params)
params - Parameters used by the batch updateBatchQuery namedParams(Iterator<Map<String,?>> params)
params - Parameters used by the batch updateBatchQuery batchSize(Integer batchSize)
batchSize - size of a batchList<UpdateResult> run()
Copyright © 2015. All rights reserved.