AsyncBatchCursor (original) (raw)


@Deprecated
public interface AsyncBatchCursor
extends Closeable
MongoDB returns query results as batches, and this interface provides an asynchronous iterator over those batches. The first call to the next method will return the first batch, and subsequent calls will trigger an asynchronous request to get the next batch of results. Clients can control the batch size by setting the batchSize property between calls to next.
Since:
3.0
MongoDB documentation
OP_GET_MORE