object Cursor
Cursor companion object
- Alphabetic
- By Inheritance
- Cursor
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
case class
Cont[T](value: T) extends State[T] with Product with Serializable
Continue with given value
-
case class
Done[T](value: T) extends State[T] with Product with Serializable
Successfully stop processing with given value
-
type
ErrorHandler[A] = (A, Throwable) ⇒ State[A]
- See also
-
case class
Fail[T](cause: Throwable) extends State[T] with Product with Serializable
Ends processing due to failure of given
cause
-
sealed
trait
State[T] extends AnyRef
A state of the cursor processing.
- type WithOps[T] = Cursor[T] with CursorOps[T]
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
ContOnError[A](callback: (A, Throwable) ⇒ Unit = (_: A, _: Throwable) => {}): ErrorHandler[A]
Error handler to continue on error (see Cursor.foldWhile and Cont).
Error handler to continue on error (see Cursor.foldWhile and Cont).
- callback
the callback function applied on last (possibily initial) value and the encountered error
-
def
DoneOnError[A](callback: (A, Throwable) ⇒ Unit = (_: A, _: Throwable) => {}): ErrorHandler[A]
Error handler to end on error (see Cursor.foldWhile and Done).
Error handler to end on error (see Cursor.foldWhile and Done).
- callback
the callback function applied on last (possibily initial) value and the encountered error
-
def
FailOnError[A](callback: (A, Throwable) ⇒ Unit = (_: A, _: Throwable) => {}): ErrorHandler[A]
Error handler to fail on error (see Cursor.foldWhile and Fail).
Error handler to fail on error (see Cursor.foldWhile and Fail).
- callback
the callback function applied on last (possibily initial) value and the encountered error
-
def
Ignore[A](callback: (A) ⇒ Unit = (_: A) => {}): (Unit, A) ⇒ State[Unit]
Value handler, ignoring the values (see Cursor.foldWhile and Cont).
Value handler, ignoring the values (see Cursor.foldWhile and Cont).
- callback
the callback function applied on each value.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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
flatten[T, C[_] <: Cursor[_]](future: Future[C[T]])(implicit fs: CursorFlattener[C]): C[T]
Flattens the given future reactivemongo.api.Cursor to a reactivemongo.api.FlattenedCursor.
-
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()
-
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( ... )
-
object
NoSuchResultException extends NoSuchElementException with NoStackTrace with Product with Serializable
Indicates that a required result cannot be found.