Package io.quarkus.mongodb
Class CollectionListOptions
- java.lang.Object
-
- io.quarkus.mongodb.CollectionListOptions
-
public class CollectionListOptions extends Object
Options to configure the stream of database.- See Also:
ReactiveMongoDatabase#listCollectionNames()
-
-
Constructor Summary
Constructors Constructor Description CollectionListOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> com.mongodb.reactivestreams.client.ListCollectionsPublisher<T>
apply(com.mongodb.reactivestreams.client.ListCollectionsPublisher<T> stream)
CollectionListOptions
filter(org.bson.conversions.Bson filter)
Sets the query filter to apply to the query.CollectionListOptions
maxTime(long maxTime, TimeUnit timeUnit)
Sets the maximum execution time on the server for this operation.
-
-
-
Method Detail
-
filter
public CollectionListOptions filter(org.bson.conversions.Bson filter)
Sets the query filter to apply to the query.- Parameters:
filter
- the filter, which may be null.- Returns:
- this
-
maxTime
public CollectionListOptions maxTime(long maxTime, TimeUnit timeUnit)
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)
-
-