org.ektorp.impl
Class BulkDocumentWriter

java.lang.Object
  extended by org.ektorp.impl.BulkDocumentWriter

public class BulkDocumentWriter
extends java.lang.Object

Author:
henrik lundgren

Constructor Summary
BulkDocumentWriter(org.codehaus.jackson.map.ObjectMapper om)
           
 
Method Summary
 void write(java.util.Collection<?> objects, boolean allOrNothing, java.io.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
 

Constructor Detail

BulkDocumentWriter

public BulkDocumentWriter(org.codehaus.jackson.map.ObjectMapper om)
Method Detail

write

public void write(java.util.Collection<?> objects,
                  boolean allOrNothing,
                  java.io.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.