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 Details

    • CollectionListOptions

      public CollectionListOptions()
  • Method Details

    • 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 time
      timeUnit - 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)