Package io.quarkus.mongodb
Class CollectionListOptions
java.lang.Object
io.quarkus.mongodb.CollectionListOptions
Options to configure the stream of database.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> com.mongodb.reactivestreams.client.ListCollectionsPublisher
<T> apply
(com.mongodb.reactivestreams.client.ListCollectionsPublisher<T> stream) filter
(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
-
CollectionListOptions
public CollectionListOptions()
-
-
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
-
apply
public <T> com.mongodb.reactivestreams.client.ListCollectionsPublisher<T> apply(com.mongodb.reactivestreams.client.ListCollectionsPublisher<T> stream)
-