the underlying java AggregateObservable
Enables writing to temporary files.
Enables writing to temporary files. A null value indicates that it's unspecified.
true if writing to temporary files is enabled
this
Sets the bypass document level validation flag.
Sets the bypass document level validation flag.
Note:: This only applies when an $out
stage is specified.
If true, allows the write to opt-out of document level validation.
this
1.1
Requires MongoDB 3.2 or greater
Sets the collation options
Sets the collation options
the collation options to use
this
1.2
Requires MongoDB 3.4 or greater
,A null value represents the server default.
Sets the comment to the aggregation.
Sets the comment to the aggregation. A null value means no comment is set.
the comment
this
2.2
Requires MongoDB 3.6 or greater
Sets the hint for which index to use.
Sets the hint for which index to use. A null value means no hint is set.
the hint
this
2.2
Requires MongoDB 3.6 or greater
Sets the maximum await execution time on the server for this operation.
Sets the maximum await execution time on the server for this operation.
the duration
this
2.2
Requires MongoDB 3.6 or greater
Sets the maximum execution time on the server for this operation.
Sets the maximum execution time on the server for this operation.
the duration
this
Request Observable
to start streaming data.
Request Observable
to start streaming data.
This is a "factory method" and can be called multiple times, each time starting a new Subscription.
Each Subscription
will work for only a single Observer.
If the Observable
rejects the subscription attempt or otherwise fails it will signal the error via Observer.onError.
the Observer
that will consume signals from this Observable
Handles the automatic boxing of a Java Observable
so it conforms to the interface.
Handles the automatic boxing of a Java Observable
so it conforms to the interface.
the Observer
that will consume signals from this Observable
Users should not have to implement this method but rather use the Scala Observable
.
Aggregates documents according to the specified aggregation pipeline, which must end with a $out
stage.
Aggregates documents according to the specified aggregation pipeline, which must end with a $out
stage.
a Observable with a single element indicating when the operation has completed
Sets whether the server should use a cursor to return results.
Sets whether the server should use a cursor to return results.
whether the server should use a cursor to return results
this
There is no replacement for this. Applications can assume that the driver will use a cursor for server versions that support it (>= 2.6). The driver will ignore this as of MongoDB 3.6, which does not support inline results for the aggregate command.
Observable for aggregate
The type of the result.
the underlying java AggregateObservable
1.0