public class BlobCollector extends BlobList implements OutputCollector<Blob,BlobList>
Blob
objects and return them as a BlobList
object.
You may use this to automatically iterate over iterable inputs in operation methods that return a Blob
object.
modCount
Constructor and Description |
---|
BlobCollector() |
Modifier and Type | Method and Description |
---|---|
void |
collect(OperationContext ctx,
Blob obj)
Collects a new partial result (the result of the last iteration step).
|
BlobList |
getOutput()
Gets the final output.
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public BlobCollector()
public void collect(OperationContext ctx, Blob obj) throws OperationException
OutputCollector
collect
in interface OutputCollector<Blob,BlobList>
OperationException
public BlobList getOutput()
OutputCollector
getOutput
in interface OutputCollector<Blob,BlobList>
Copyright © 2015 Nuxeo SA. All rights reserved.