Package | Description |
---|---|
com.mongodb.client |
Modifier and Type | Method and Description |
---|---|
AggregateIterable<TDocument> |
MongoCollection.aggregate(List<? extends org.bson.conversions.Bson> pipeline)
Aggregates documents according to the specified aggregation pipeline.
|
<TResult> AggregateIterable<TResult> |
MongoCollection.aggregate(List<? extends org.bson.conversions.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.collation(com.mongodb.client.model.Collation collation)
Sets the collation options
|
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 © 2017. All rights reserved.