Trait

reactivemongo.akkastream

AkkaStreamCursor

Related Doc: package akkastream

Permalink

sealed trait AkkaStreamCursor[T] extends Cursor[T]

Linear Supertypes
Cursor[T], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AkkaStreamCursor
  2. Cursor
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def bulkSource(maxDocs: Int = Int.MaxValue, err: ErrorHandler[Option[Iterator[T]]] = FailOnError())(implicit m: Materializer): Source[Iterator[T], NotUsed]

    Permalink

    Returns a source of document bulks (see reactivemongo.api.QueryOpts.batchSizeN).

    Returns a source of document bulks (see reactivemongo.api.QueryOpts.batchSizeN).

    maxDocs

    the maximum number of documents to be retrieved

    err

    The binary operator to be applied when failing to get the next response. Exception or Fail raised within the suc function cannot be recovered by this error handler.

    m

    the stream materializer

  2. abstract def collect[M[_]](maxDocs: Int, err: ErrorHandler[M[T]])(implicit cbf: CanBuildFrom[M[_], T, M[T]], ec: ExecutionContext): Future[M[T]]

    Permalink
    Definition Classes
    Cursor
  3. abstract def documentSource(maxDocs: Int = Int.MaxValue, err: ErrorHandler[Option[T]] = FailOnError())(implicit m: Materializer): Source[T, NotUsed]

    Permalink

    Returns a source of documents.

    Returns a source of documents.

    maxDocs

    the maximum number of documents to be retrieved

    err

    The binary operator to be applied when failing to get the next response. Exception or Fail raised within the suc function cannot be recovered by this error handler.

    m

    the stream materializer

  4. abstract def foldBulks[A](z: ⇒ A, maxDocs: Int)(suc: (A, Iterator[T]) ⇒ State[A], err: ErrorHandler[A])(implicit ctx: ExecutionContext): Future[A]

    Permalink
    Definition Classes
    Cursor
  5. abstract def foldBulksM[A](z: ⇒ A, maxDocs: Int)(suc: (A, Iterator[T]) ⇒ Future[State[A]], err: ErrorHandler[A])(implicit ctx: ExecutionContext): Future[A]

    Permalink
    Definition Classes
    Cursor
  6. abstract def foldResponses[A](z: ⇒ A, maxDocs: Int)(suc: (A, Response) ⇒ State[A], err: ErrorHandler[A])(implicit ctx: ExecutionContext): Future[A]

    Permalink
    Definition Classes
    Cursor
  7. abstract def foldResponsesM[A](z: ⇒ A, maxDocs: Int)(suc: (A, Response) ⇒ Future[State[A]], err: ErrorHandler[A])(implicit ctx: ExecutionContext): Future[A]

    Permalink
    Definition Classes
    Cursor
  8. abstract def foldWhile[A](z: ⇒ A, maxDocs: Int)(suc: (A, T) ⇒ State[A], err: ErrorHandler[A])(implicit ctx: ExecutionContext): Future[A]

    Permalink
    Definition Classes
    Cursor
  9. abstract def foldWhileM[A](z: ⇒ A, maxDocs: Int)(suc: (A, T) ⇒ Future[State[A]], err: ErrorHandler[A])(implicit ctx: ExecutionContext): Future[A]

    Permalink
    Definition Classes
    Cursor
  10. abstract def responseSource(maxDocs: Int = Int.MaxValue, err: ErrorHandler[Option[Response]] = FailOnError())(implicit m: Materializer): Source[Response, NotUsed]

    Permalink

    Returns a source of responses.

    Returns a source of responses.

    maxDocs

    the maximum number of documents to be retrieved

    err

    The binary operator to be applied when failing to get the next response. Exception or Fail raised within the suc function cannot be recovered by this error handler.

    m

    the stream materializer

  11. abstract def enumerate(maxDocs: Int, stopOnError: Boolean)(implicit ctx: ExecutionContext): Enumerator[T]

    Permalink
    Definition Classes
    Cursor
    Annotations
    @deprecated
    Deprecated

    (Since version 0.11.10) Use .enumerator from Play Iteratee modules

  12. abstract def enumerateBulks(maxDocs: Int, stopOnError: Boolean)(implicit ctx: ExecutionContext): Enumerator[Iterator[T]]

    Permalink
    Definition Classes
    Cursor
    Annotations
    @deprecated
    Deprecated

    (Since version 0.11.10) Use .bulkEnumerator from the Play Iteratee modules

  13. abstract def enumerateResponses(maxDocs: Int, stopOnError: Boolean)(implicit ctx: ExecutionContext): Enumerator[Response]

    Permalink
    Definition Classes
    Cursor
    Annotations
    @deprecated
    Deprecated

    (Since version 0.11.10) Use .responseEnumerator from the Play Iteratee modules

  14. abstract def rawEnumerateResponses(maxDocs: Int)(implicit ctx: ExecutionContext): Enumerator[Response]

    Permalink
    Definition Classes
    Cursor
    Annotations
    @deprecated
    Deprecated

    (Since version 0.11.10) Use the Play Iteratee modules

Concrete 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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def bulkPublisher(fanout: Boolean = false, maxDocs: Int = Int.MaxValue, err: ErrorHandler[Option[Iterator[T]]] = FailOnError())(implicit m: Materializer): Publisher[Iterator[T]]

    Permalink

    Returns a Reactive Streams publisher of bulks from this cursor.

    Returns a Reactive Streams publisher of bulks from this cursor.

    fanout

    see http://doc.akka.io/api/akka/2.4.7/index.html#akka.stream.scaladsl.Sink$@asPublisher[T](fanout:Boolean):akka.stream.scaladsl.Sink[T,org.reactivestreams.Publisher[T Sink.asPublisher]] (default: false)

    maxDocs

    the maximum number of documents to be retrieved

    err

    The binary operator to be applied when failing to get the next response. Exception or Fail raised within the suc function cannot be recovered by this error handler.

    m

    the stream materializer

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def collect[M[_]](maxDocs: Int, stopOnError: Boolean)(implicit cbf: CanBuildFrom[M[_], T, M[T]], ec: ExecutionContext): Future[M[T]]

    Permalink
    Definition Classes
    Cursor
  8. val defaultParallelism: Int

    Permalink

    The default parallelism

  9. def documentPublisher(fanout: Boolean = false, maxDocs: Int = Int.MaxValue, err: ErrorHandler[Option[T]] = FailOnError())(implicit m: Materializer): Publisher[T]

    Permalink

    Returns a Reactive Streams publisher of documents from this cursor.

    Returns a Reactive Streams publisher of documents from this cursor.

    fanout

    see http://doc.akka.io/api/akka/2.4.7/index.html#akka.stream.scaladsl.Sink$@asPublisher[T](fanout:Boolean):akka.stream.scaladsl.Sink[T,org.reactivestreams.Publisher[T Sink.asPublisher]] (default: false)

    maxDocs

    the maximum number of documents to be retrieved

    err

    The binary operator to be applied when failing to get the next response. Exception or Fail raised within the suc function cannot be recovered by this error handler.

    m

    the stream materializer

  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def fold[A](z: ⇒ A, maxDocs: Int)(suc: (A, T) ⇒ A)(implicit ctx: ExecutionContext): Future[A]

    Permalink
    Definition Classes
    Cursor
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. def headOption(implicit ctx: ExecutionContext): Future[Option[T]]

    Permalink
    Definition Classes
    Cursor
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. def responsePublisher(fanout: Boolean = false, maxDocs: Int = Int.MaxValue, err: ErrorHandler[Option[Response]] = FailOnError())(implicit m: Materializer): Publisher[Response]

    Permalink

    Returns a Reactive Streams publisher of responses from this cursor.

    Returns a Reactive Streams publisher of responses from this cursor.

    fanout

    see http://doc.akka.io/api/akka/2.4.7/index.html#akka.stream.scaladsl.Sink$@asPublisher[T](fanout:Boolean):akka.stream.scaladsl.Sink[T,org.reactivestreams.Publisher[T Sink.asPublisher]] (default: false)

    maxDocs

    the maximum number of documents to be retrieved

    err

    The binary operator to be applied when failing to get the next response. Exception or Fail raised within the suc function cannot be recovered by this error handler.

    m

    the stream materializer

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

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

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

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

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

Deprecated Value Members

  1. def toList(maxDocs: Int, stopOnError: Boolean)(implicit ctx: ExecutionContext): Future[List[T]]

    Permalink
    Definition Classes
    Cursor
    Annotations
    @deprecated
    Deprecated

    (Since version 0.10.0) consider using collect[List] instead

Inherited from Cursor[T]

Inherited from AnyRef

Inherited from Any

Ungrouped