org.ektorp.impl
Class BulkOperationCollectionBulkExecutor

java.lang.Object
  extended by org.ektorp.impl.BulkOperationCollectionBulkExecutor
All Implemented Interfaces:
BulkExecutor<Collection<?>>

public abstract class BulkOperationCollectionBulkExecutor
extends Object
implements BulkExecutor<Collection<?>>


Field Summary
protected  URI dbURI
           
protected  com.fasterxml.jackson.databind.ObjectMapper objectMapper
           
protected  RestTemplate restTemplate
           
 
Constructor Summary
BulkOperationCollectionBulkExecutor()
           
BulkOperationCollectionBulkExecutor(URI dbURI, RestTemplate restTemplate, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
           
 
Method Summary
 List<DocumentOperationResult> executeBulk(Collection<?> objects, boolean allOrNothing)
           
protected abstract  JsonSerializer getJsonSerializer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dbURI

protected URI dbURI

restTemplate

protected RestTemplate restTemplate

objectMapper

protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
Constructor Detail

BulkOperationCollectionBulkExecutor

public BulkOperationCollectionBulkExecutor()

BulkOperationCollectionBulkExecutor

public BulkOperationCollectionBulkExecutor(URI dbURI,
                                           RestTemplate restTemplate,
                                           com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Method Detail

getJsonSerializer

protected abstract JsonSerializer getJsonSerializer()

executeBulk

public List<DocumentOperationResult> executeBulk(Collection<?> objects,
                                                 boolean allOrNothing)
Specified by:
executeBulk in interface BulkExecutor<Collection<?>>


Copyright © 2017. All rights reserved.