org.ektorp.impl
Class EntityCollectionBulkExecutor
java.lang.Object
org.ektorp.impl.EntityCollectionBulkExecutor
- All Implemented Interfaces:
- BulkExecutor<Collection<?>>
public class EntityCollectionBulkExecutor
- extends Object
- implements BulkExecutor<Collection<?>>
This is designed to replace the BulkOperationCollectionBulkExecutor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dbURI
protected URI dbURI
restTemplate
protected RestTemplate restTemplate
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
EntityCollectionBulkExecutor
public EntityCollectionBulkExecutor()
EntityCollectionBulkExecutor
public EntityCollectionBulkExecutor(URI dbURI,
RestTemplate restTemplate,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
executeBulk
public List<DocumentOperationResult> executeBulk(Collection<?> objects,
boolean allOrNothing)
- Specified by:
executeBulk in interface BulkExecutor<Collection<?>>
createHttpEntity
protected org.apache.http.HttpEntity createHttpEntity(Object o)
Copyright © 2017. All rights reserved.