sealed trait AkkaStreamCursor[T] extends Cursor[T]
- Alphabetic
- By Inheritance
- AkkaStreamCursor
- Cursor
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
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 aFuture
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
abstract
def
head(implicit ec: ExecutionContext): Future[T]
- Definition Classes
- Cursor
-
abstract
def
headOption(implicit ec: ExecutionContext): Future[Option[T]]
- Definition Classes
- Cursor
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
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
-
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()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
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
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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
-
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
-
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
-
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
-
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
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fold[A](z: ⇒ A, maxDocs: Int)(suc: (A, T) ⇒ A)(implicit ec: ExecutionContext): Future[A]
- Definition Classes
- Cursor
-
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()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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