Package | Description |
---|---|
com.mongodb.async.client |
This packages contains classes for the new async client
|
Modifier and Type | Method and Description |
---|---|
AggregateIterable<TDocument> |
MongoCollection.aggregate(List<? extends Bson> pipeline)
Aggregates documents according to the specified aggregation pipeline.
|
<TResult> AggregateIterable<TResult> |
MongoCollection.aggregate(List<? extends Bson> pipeline,
Class<TResult> resultClass)
Aggregates documents according to the specified aggregation pipeline.
|
AggregateIterable<TResult> |
AggregateIterable.allowDiskUse(Boolean allowDiskUse)
Enables writing to temporary files.
|
AggregateIterable<TResult> |
AggregateIterable.batchSize(int batchSize)
Sets the number of documents to return per batch.
|
AggregateIterable<TResult> |
AggregateIterable.bypassDocumentValidation(Boolean bypassDocumentValidation)
Sets the bypass document level validation flag.
|
AggregateIterable<TResult> |
AggregateIterable.maxTime(long maxTime,
TimeUnit timeUnit)
Sets the maximum execution time on the server for this operation.
|
AggregateIterable<TResult> |
AggregateIterable.useCursor(Boolean useCursor)
Sets whether the server should use a cursor to return results.
|
Copyright © 2016. All Rights Reserved.