Package | Description |
---|---|
com.mongodb.async.client |
This packages contains classes for the new async client
|
com.mongodb.client |
This package contains client interfaces
|
Modifier and Type | Method and Description |
---|---|
void |
MongoIterable.forEach(Block<? super TResult> block,
SingleResultCallback<Void> callback)
Iterates over all documents in the view, applying the given block to each, and completing the returned future after all documents
have been iterated, or an exception has occurred.
|
static <TResult> Observable<TResult> |
Observables.observe(Block<SingleResultCallback<TResult>> operation)
Allows the conversion of
SingleResultCallback based operations into an Observable |
static <TResult> Observable<TResult> |
Observables.observeAndFlatten(Block<SingleResultCallback<List<TResult>>> operation)
Allows the conversion of
SingleResultCallback based operations and flattens the results in an Observable . |
Modifier and Type | Method and Description |
---|---|
void |
MongoIterable.forEach(Block<? super TResult> block)
Iterates over all documents in the view, applying the given block to each.
|
Copyright © 2016. All Rights Reserved.