Package io.quarkus.mongodb
Class DistinctOptions
java.lang.Object
io.quarkus.mongodb.DistinctOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> com.mongodb.reactivestreams.client.DistinctPublisher<T>
apply
(com.mongodb.reactivestreams.client.DistinctPublisher<T> stream) collation
(com.mongodb.client.model.Collation collation) Sets the collation optionsfilter
(org.bson.conversions.Bson filter) Sets the query filter to apply to the query.Sets the maximum execution time on the server for this operation.
-
Constructor Details
-
DistinctOptions
public DistinctOptions()
-
-
Method Details
-
filter
Sets the query filter to apply to the query.- Parameters:
filter
- the filter, which may be null.- Returns:
- this
-
maxTime
Sets the maximum execution time on the server for this operation.- Parameters:
maxTime
- the max timetimeUnit
- the time unit, which may not be null- Returns:
- this
-
collation
Sets the collation optionsA null value represents the server default.
- Parameters:
collation
- the collation options to use- Returns:
- this
-
apply
public <T> com.mongodb.reactivestreams.client.DistinctPublisher<T> apply(com.mongodb.reactivestreams.client.DistinctPublisher<T> stream)
-