Packages

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
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  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], Future[State]]

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

    Returns a source of document bulks (see reactivemongo.api.QueryOpts.batchSize). It materializes a Future of State (for now with no detail, for future extension).

    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]]
    Definition Classes
    Cursor
  3. abstract def documentSource(maxDocs: Int = Int.MaxValue, err: ErrorHandler[Option[T]] = FailOnError())(implicit m: Materializer): Source[T, Future[State]]

    Returns a source of documents.

    Returns a source of documents. It materializes a Future of State (for now with no detail, for future extension).

    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]) ⇒ api.Cursor.State[A], err: ErrorHandler[A])(implicit ec: ExecutionContext): Future[A]
    Definition Classes
    Cursor
  5. abstract def foldBulksM[A](z: ⇒ A, maxDocs: Int)(suc: (A, Iterator[T]) ⇒ Future[api.Cursor.State[A]], err: ErrorHandler[A])(implicit ec: ExecutionContext): Future[A]
    Definition Classes
    Cursor
  6. abstract def foldResponses[A](z: ⇒ A, maxDocs: Int)(suc: (A, Response) ⇒ api.Cursor.State[A], err: ErrorHandler[A])(implicit ec: ExecutionContext): Future[A]
    Definition Classes
    Cursor
  7. abstract def foldResponsesM[A](z: ⇒ A, maxDocs: Int)(suc: (A, Response) ⇒ Future[api.Cursor.State[A]], err: ErrorHandler[A])(implicit ec: ExecutionContext): Future[A]
    Definition Classes
    Cursor
  8. abstract def foldWhile[A](z: ⇒ A, maxDocs: Int)(suc: (A, T) ⇒ api.Cursor.State[A], err: ErrorHandler[A])(implicit ec: ExecutionContext): Future[A]
    Definition Classes
    Cursor
  9. abstract def foldWhileM[A](z: ⇒ A, maxDocs: Int)(suc: (A, T) ⇒ Future[api.Cursor.State[A]], err: ErrorHandler[A])(implicit ec: ExecutionContext): Future[A]
    Definition Classes
    Cursor
  10. abstract def head(implicit ec: ExecutionContext): Future[T]
    Definition Classes
    Cursor
  11. abstract def headOption(implicit ec: ExecutionContext): Future[Option[T]]
    Definition Classes
    Cursor
  12. abstract def responseSource(maxDocs: Int = Int.MaxValue, err: ErrorHandler[Option[Response]] = FailOnError())(implicit m: Materializer): Source[Response, Future[State]]

    Returns a source of responses.

    Returns a source of responses. It materializes a Future of State (for now with no detail, for future extension).

    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

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from AkkaStreamCursor[T] to any2stringadd[AkkaStreamCursor[T]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (AkkaStreamCursor[T], B)
    Implicit
    This member is added by an implicit conversion from AkkaStreamCursor[T] to ArrowAssoc[AkkaStreamCursor[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def bulkPublisher(fanout: Boolean = false, maxDocs: Int = Int.MaxValue, err: ErrorHandler[Option[Iterator[T]]] = FailOnError())(implicit m: Materializer): Publisher[Iterator[T]]

    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

  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. def documentPublisher(fanout: Boolean = false, maxDocs: Int = Int.MaxValue, err: ErrorHandler[Option[T]] = FailOnError())(implicit m: Materializer): Publisher[T]

    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. def ensuring(cond: (AkkaStreamCursor[T]) ⇒ Boolean, msg: ⇒ Any): AkkaStreamCursor[T]
    Implicit
    This member is added by an implicit conversion from AkkaStreamCursor[T] to Ensuring[AkkaStreamCursor[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (AkkaStreamCursor[T]) ⇒ Boolean): AkkaStreamCursor[T]
    Implicit
    This member is added by an implicit conversion from AkkaStreamCursor[T] to Ensuring[AkkaStreamCursor[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): AkkaStreamCursor[T]
    Implicit
    This member is added by an implicit conversion from AkkaStreamCursor[T] to Ensuring[AkkaStreamCursor[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): AkkaStreamCursor[T]
    Implicit
    This member is added by an implicit conversion from AkkaStreamCursor[T] to Ensuring[AkkaStreamCursor[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def fold[A](z: ⇒ A, maxDocs: Int)(suc: (A, T) ⇒ A)(implicit ec: ExecutionContext): Future[A]
    Definition Classes
    Cursor
  18. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from AkkaStreamCursor[T] to StringFormat[AkkaStreamCursor[T]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def responsePublisher(fanout: Boolean = false, maxDocs: Int = Int.MaxValue, err: ErrorHandler[Option[Response]] = FailOnError())(implicit m: Materializer): Publisher[Response]

    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

  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  31. def [B](y: B): (AkkaStreamCursor[T], B)
    Implicit
    This member is added by an implicit conversion from AkkaStreamCursor[T] to ArrowAssoc[AkkaStreamCursor[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Cursor[T]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from AkkaStreamCursor[T] to any2stringadd[AkkaStreamCursor[T]]

Inherited by implicit conversion StringFormat from AkkaStreamCursor[T] to StringFormat[AkkaStreamCursor[T]]

Inherited by implicit conversion Ensuring from AkkaStreamCursor[T] to Ensuring[AkkaStreamCursor[T]]

Inherited by implicit conversion ArrowAssoc from AkkaStreamCursor[T] to ArrowAssoc[AkkaStreamCursor[T]]

Ungrouped