vertx / io.vertx.kotlin.ext.mongo / AggregateOptions

# AggregateOptions

`fun AggregateOptions(allowDiskUse: Boolean? = null, batchSize: Int? = null, maxAwaitTime: Long? = null, maxTime: Long? = null): AggregateOptions`

A function providing a DSL for building io.vertx.ext.mongo.AggregateOptions objects.

Options used to configure aggregate operations.

### Parameters

`allowDiskUse` - Set the flag if writing to temporary files is enabled.

`batchSize` - Set the batch size for methods loading found data in batches.

`maxAwaitTime` - The maximum amount of time for the server to wait on new documents to satisfy a $changeStream aggregation.

`maxTime` - Set the time limit in milliseconds for processing operations on a cursor.