Class

reactivemongo.akkastream

AkkaStreamFlattenedCursor

Related Doc: package akkastream

Permalink

class AkkaStreamFlattenedCursor[T] extends FlattenedCursor[T] with AkkaStreamCursor[T]

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

Instance Constructors

  1. new AkkaStreamFlattenedCursor(cursor: Future[AkkaStreamCursor[T]])

    Permalink

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

    Definition Classes
    AkkaStreamCursor
  6. 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

    Definition Classes
    AkkaStreamFlattenedCursorAkkaStreamCursor
  7. def clone(): AnyRef

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

    Permalink
    Definition Classes
    FlattenedCursor → Cursor
  9. def collect[M[_]](maxDocs: Int, stopOnError: Boolean)(implicit cbf: CanBuildFrom[M[_], T, M[T]], ec: ExecutionContext): Future[M[T]]

    Permalink
    Definition Classes
    Cursor
  10. val cursor: Future[AkkaStreamCursor[T]]

    Permalink
  11. val defaultParallelism: Int

    Permalink

    The default parallelism

    The default parallelism

    Definition Classes
    AkkaStreamCursor
  12. 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

    Definition Classes
    AkkaStreamCursor
  13. 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

    Definition Classes
    AkkaStreamFlattenedCursorAkkaStreamCursor
  14. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    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 ctx: ExecutionContext): Future[A]

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

    Permalink
    Definition Classes
    FlattenedCursor → Cursor
  19. 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
    FlattenedCursor → Cursor
  20. def foldResponses[A](z: ⇒ A, maxDocs: Int)(suc: (A, Response) ⇒ State[A], err: ErrorHandler[A])(implicit ctx: ExecutionContext): Future[A]

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

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

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

    Permalink
    Definition Classes
    FlattenedCursor → Cursor
  24. final def getClass(): Class[_]

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  31. 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

    Definition Classes
    AkkaStreamCursor
  32. 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

    Definition Classes
    AkkaStreamFlattenedCursorAkkaStreamCursor
  33. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Deprecated Value Members

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

    Permalink
    Definition Classes
    FlattenedCursor → Cursor
    Annotations
    @deprecated
    Deprecated

    (Since version 0.11.10) Use the Play Iteratee modules

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

    Permalink
    Definition Classes
    FlattenedCursor → Cursor
    Annotations
    @deprecated
    Deprecated

    (Since version 0.11.10) Use the Play Iteratee modules

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

    Permalink
    Definition Classes
    FlattenedCursor → Cursor
    Annotations
    @deprecated
    Deprecated

    (Since version 0.11.10) Use the Play Iteratee modules

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

    Permalink
    Definition Classes
    FlattenedCursor → Cursor
    Annotations
    @deprecated
    Deprecated

    (Since version 0.11.10) Use the Play Iteratee modules

  5. 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 AkkaStreamCursor[T]

Inherited from FlattenedCursor[T]

Inherited from Cursor[T]

Inherited from AnyRef

Inherited from Any

Ungrouped