Packages

c

org.mongodb.scala.gridfs

GridFSFindObservable

case class GridFSFindObservable(wrapped: GridFSFindIterable) extends Observable[GridFSFile] with Product with Serializable

Observable representing the GridFS Files Collection.

Since

1.2

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GridFSFindObservable
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Observable
  7. Observable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GridFSFindObservable(wrapped: GridFSFindIterable)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def batchSize(batchSize: Int): GridFSFindObservable

    Sets the number of documents to return per batch.

    Sets the number of documents to return per batch.

    batchSize

    the batch size

    returns

    this

    See also

    Batch Size

  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def filter(filter: Bson): GridFSFindObservable

    Sets the query filter to apply to the query.

    Sets the query filter to apply to the query.

    Below is an example of filtering against the filename and some nested metadata that can also be stored along with the file data:

    Filters.and(Filters.eq("filename", "mongodb.png"), Filters.eq("metadata.contentType", "image/png"));
    filter

    the filter, which may be null.

    returns

    this

    See also

    org.mongodb.scala.model.Filters

    Filter

  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def limit(limit: Int): GridFSFindObservable

    Sets the limit to apply.

    Sets the limit to apply.

    limit

    the limit, which may be null

    returns

    this

    See also

    Limit

  13. def maxTime(duration: Duration): GridFSFindObservable

    Sets the maximum execution time on the server for this operation.

    Sets the maximum execution time on the server for this operation.

    duration

    the duration

    returns

    this

    See also

    Max Time

  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def noCursorTimeout(noCursorTimeout: Boolean): GridFSFindObservable

    The server normally times out idle cursors after an inactivity period (10 minutes) to prevent excess memory use.

    The server normally times out idle cursors after an inactivity period (10 minutes) to prevent excess memory use. Set this option to prevent that.

    noCursorTimeout

    true if cursor timeout is disabled

    returns

    this

  16. final def notify(): Unit
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  18. def skip(skip: Int): GridFSFindObservable

    Sets the number of documents to skip.

    Sets the number of documents to skip.

    skip

    the number of documents to skip

    returns

    this

    See also

    Skip

  19. def sort(sort: Bson): GridFSFindObservable

    Sets the sort criteria to apply to the query.

    Sets the sort criteria to apply to the query.

    sort

    the sort criteria, which may be null.

    returns

    this

    See also

    Sort

  20. def subscribe(observer: Observer[_ >: GridFSFile]): Unit

    Request Observable to start streaming data.

    Request Observable to start streaming data.

    This is a "factory method" and can be called multiple times, each time starting a new org.mongodb.scala.Subscription. Each Subscription will work for only a single Observer.

    If the Observable rejects the subscription attempt or otherwise fails it will signal the error via Observer.onError.

    observer

    the Observer that will consume signals from this Observable

    Definition Classes
    GridFSFindObservableObservable
  21. def subscribe(observer: com.mongodb.async.client.Observer[_ >: GridFSFile]): Unit

    Handles the automatic boxing of a Java Observable so it conforms to the interface.

    Handles the automatic boxing of a Java Observable so it conforms to the interface.

    observer

    the Observer that will consume signals from this Observable

    Definition Classes
    Observable → Observable
    Note

    Users should not have to implement this method but rather use the Scala Observable.

  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Observable[GridFSFile]

Inherited from AnyRef

Inherited from Any

Ungrouped