- All Superinterfaces:
- java.lang.AutoCloseable, java.io.Closeable, java.lang.Iterable<AnyMap>, java.util.Iterator<AnyMap>
- All Known Implementing Classes:
- BulkResponseImpl
public interface BulkResponse
extends java.lang.Iterable<AnyMap>, java.util.Iterator<AnyMap>, java.io.Closeable
Interface for return type of RestClient#getBulk(String, org.apache.http.params.HttpParams) method. Usage is
simple: use the Iterator.hasNext() and Iterator.next() methods just like in collection iterators. You can also use
the complete object as an Iterable in a for loop. If you do not read the complete content in your code, make
sure to Closeable.close() the object when you do not need it anymore.