Package | Description |
---|---|
com.mongodb |
The core mongodb package
|
com.mongodb.async.client |
This packages contains classes for the new async client
|
com.mongodb.async.client.gridfs |
Contains the classes for supporting MongoDB's specification for storing very large files, GridFS.
|
com.mongodb.client |
This package contains classes for the new client api for MongoDatabase and MongoCollection
|
com.mongodb.client.gridfs |
This package contains the new GridFS implementation
|
Modifier and Type | Method and Description |
---|---|
void |
MongoIterableImpl.forEach(Block<? super TResult> block) |
void |
MappingIterable.forEach(Block<? super V> block) |
Modifier and Type | Field and Description |
---|---|
private Block<SingleResultCallback<TResult>> |
SingleResultCallbackSubscription.block |
private Block<SingleResultCallback<java.util.List<TResult>>> |
FlatteningSingleResultCallbackSubscription.block |
Modifier and Type | Method and Description |
---|---|
void |
MongoIterableImpl.forEach(Block<? super TResult> block,
SingleResultCallback<java.lang.Void> callback) |
void |
MongoIterable.forEach(Block<? super TResult> block,
SingleResultCallback<java.lang.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.
|
void |
MappingIterable.forEach(Block<? super V> block,
SingleResultCallback<java.lang.Void> callback) |
private void |
MongoIterableImpl.loopCursor(AsyncBatchCursor<TResult> batchCursor,
Block<? super TResult> block,
SingleResultCallback<java.lang.Void> callback) |
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<java.util.List<TResult>>> operation)
Allows the conversion of
SingleResultCallback based operations and flattens the results in an Observable . |
Constructor and Description |
---|
FlatteningSingleResultCallbackSubscription(Block<SingleResultCallback<java.util.List<TResult>>> block,
Observer<? super TResult> observer) |
SingleResultCallbackSubscription(Block<SingleResultCallback<TResult>> block,
Observer<? super TResult> observer) |
Modifier and Type | Method and Description |
---|---|
void |
GridFSFindIterableImpl.forEach(Block<? super GridFSFile> block,
SingleResultCallback<java.lang.Void> callback) |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
GridFSFindIterableImpl.forEach(Block<? super GridFSFile> block) |