Aggregate Flow
Flow for aggregate.
Since
3.0
Parameters
Types
Functions
Link copied to clipboard
abstract fun allowDiskUse(allowDiskUse: Boolean?): AggregateFlow<TResult>
Content copied to clipboard
Enables writing to temporary files. A null value indicates that it's unspecified.
Link copied to clipboard
Sets the number of documents to return per batch.
Link copied to clipboard
abstract fun bypassDocumentValidation(bypassDocumentValidation: Boolean?): AggregateFlow<TResult>
Content copied to clipboard
Sets the bypass document level validation flag.
Link copied to clipboard
Sets the collation options
Link copied to clipboard
Sets the comment to the aggregation. A null value means no comment is set.
Link copied to clipboard
Helper to return first result.
Link copied to clipboard
Sets the hint for which index to use. A null value means no hint is set.
Link copied to clipboard
abstract fun maxAwaitTime(maxAwaitTime: Long, timeUnit: TimeUnit): AggregateFlow<TResult>
Content copied to clipboard
The maximum amount of time for the server to wait on new documents to satisfy a $changeStream aggregation.
Link copied to clipboard
Aggregates documents according to the specified aggregation pipeline, which must end with a $out stage.