Class

org.mongodb.scala

AggregateObservable

Related Doc: package scala

Permalink

case class AggregateObservable[TResult](wrapped: AggregateIterable[TResult]) extends Observable[TResult] with Product with Serializable

Observable for aggregate

TResult

The type of the result.

wrapped

the underlying java AggregateObservable

Since

1.0

Linear Supertypes
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AggregateObservable
  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 AggregateObservable(wrapped: AggregateIterable[TResult])

    Permalink

    wrapped

    the underlying java AggregateObservable

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def allowDiskUse(allowDiskUse: Boolean): AggregateObservable[TResult]

    Permalink

    Enables writing to temporary files.

    Enables writing to temporary files. A null value indicates that it's unspecified.

    Aggregation

    allowDiskUse

    true if writing to temporary files is enabled

    returns

    this

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def bypassDocumentValidation(bypassDocumentValidation: Boolean): AggregateObservable[TResult]

    Permalink

    Sets the bypass document level validation flag.

    Sets the bypass document level validation flag.

    Note:: This only applies when an $out stage is specified.

    Aggregation

    bypassDocumentValidation

    If true, allows the write to opt-out of document level validation.

    returns

    this

    Since

    1.1

    Note

    Requires MongoDB 3.2 or greater

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. def maxTime(duration: Duration): AggregateObservable[TResult]

    Permalink

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

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

    Max Time

    duration

    the duration

    returns

    this

  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. def subscribe(observer: Observer[_ >: TResult]): Unit

    Permalink

    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 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
    AggregateObservableObservable
  17. def subscribe(observer: com.mongodb.async.client.Observer[_ >: TResult]): Unit

    Permalink

    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.

  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toCollection(): Observable[Completed]

    Permalink

    Aggregates documents according to the specified aggregation pipeline, which must end with a $out stage.

    Aggregates documents according to the specified aggregation pipeline, which must end with a $out stage.

    Aggregation

    returns

    a Observable with a single element indicating when the operation has completed

  20. def useCursor(useCursor: Boolean): AggregateObservable[TResult]

    Permalink

    Sets whether the server should use a cursor to return results.

    Sets whether the server should use a cursor to return results.

    Aggregation

    useCursor

    whether the server should use a cursor to return results

    returns

    this

  21. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Observable[TResult]

Inherited from com.mongodb.async.client.Observable[TResult]

Inherited from AnyRef

Inherited from Any

Ungrouped