org.ektorp.impl
Class BulkDocumentWriter
java.lang.Object
org.ektorp.impl.BulkDocumentWriter
public class BulkDocumentWriter
- extends Object
- Author:
- henrik lundgren
|
Method Summary |
void |
write(Collection<?> objects,
boolean allOrNothing,
OutputStream out)
Writes the objects collection as a bulk operation document. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BulkDocumentWriter
public BulkDocumentWriter(org.codehaus.jackson.map.ObjectMapper om)
write
public void write(Collection<?> objects,
boolean allOrNothing,
OutputStream out)
- Writes the objects collection as a bulk operation document.
The output stream is flushed and closed by this method.
- Parameters:
objects - allOrNothing - out -
Copyright © 2011. All Rights Reserved.