public class CollectionListOptions extends Object
ReactiveMongoDatabase#listCollectionNames()
Constructor and Description |
---|
CollectionListOptions() |
Modifier and Type | Method and 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.
|
public CollectionListOptions filter(org.bson.conversions.Bson filter)
filter
- the filter, which may be null.public CollectionListOptions maxTime(long maxTime, TimeUnit timeUnit)
maxTime
- the max timetimeUnit
- the time unit, which may not be nullpublic <T> com.mongodb.reactivestreams.client.ListCollectionsPublisher<T> apply(com.mongodb.reactivestreams.client.ListCollectionsPublisher<T> stream)
Copyright © 2020 JBoss by Red Hat. All rights reserved.