public class BulkDocumentWriter extends Object
Constructor and Description |
---|
BulkDocumentWriter(com.fasterxml.jackson.databind.ObjectMapper om) |
Modifier and Type | Method and Description |
---|---|
InputStream |
createInputStreamWrapper(boolean allOrNothing,
InputStream in) |
void |
write(Collection<?> objects,
boolean allOrNothing,
OutputStream out)
Writes the objects collection as a bulk operation document.
|
public BulkDocumentWriter(com.fasterxml.jackson.databind.ObjectMapper om)
public void write(Collection<?> objects, boolean allOrNothing, OutputStream out)
objects
- allOrNothing
- out
- public InputStream createInputStreamWrapper(boolean allOrNothing, InputStream in)
Copyright © 2013. All Rights Reserved.