AggregationOptions |
AggregationOptions.allowDiskUse(boolean allowDiskUse) |
Enables writing to temporary files.
|
AggregationOptions |
AggregationOptions.batchSize(int batchSize) |
Sets the batch size for fetching results.
|
AggregationOptions |
AggregationOptions.bypassDocumentValidation(boolean bypassDocumentValidation) |
Enables the aggregation to bypass document validation during the operation.
|
AggregationOptions |
AggregationOptions.collation(com.mongodb.client.model.Collation collation) |
Specifies the collation to use for the operation.
|
AggregationOptions |
AggregationOptions.collection(String collection) |
Specify an alternate collection to aggregate from rather than the collection mapped to the type used to create the aggregation
initially.
|
AggregationOptions |
AggregationOptions.hint(String hint) |
Sets the hint for which index to use.
|
AggregationOptions |
AggregationOptions.maxTimeMS(long maxTimeMS) |
Specifies a time limit in milliseconds for processing operations on a cursor.
|
AggregationOptions |
AggregationOptions.readConcern(com.mongodb.ReadConcern readConcern) |
Specifies the read concern.
|
AggregationOptions |
AggregationOptions.readPreference(com.mongodb.ReadPreference readPreference) |
Sets the read preference to use
|
AggregationOptions |
AggregationOptions.writeConcern(com.mongodb.WriteConcern writeConcern) |
Sets the write concern to use
|