Package | Description |
---|---|
com.mongodb.operation |
The core of the MongoDB driver works via operations, using the command pattern.
|
Modifier and Type | Method and Description |
---|---|
AggregateOperation<T> |
AggregateOperation.allowDiskUse(Boolean allowDiskUse)
Enables writing to temporary files.
|
AggregateOperation<T> |
AggregateOperation.batchSize(Integer batchSize)
Sets the number of documents to return per batch.
|
AggregateOperation<T> |
AggregateOperation.maxTime(long maxTime,
TimeUnit timeUnit)
Sets the maximum execution time on the server for this operation.
|
AggregateOperation<T> |
AggregateOperation.readConcern(ReadConcern readConcern)
Sets the read concern
|
AggregateOperation<T> |
AggregateOperation.useCursor(Boolean useCursor)
Sets whether the server should use a cursor to return results.
|
Copyright © 2016. All Rights Reserved.