object QueryResponse

Query response factory.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QueryResponse
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply[T](body: => T)(implicit mkResponse: QueryResponseMaker[T]): PreparedResponse

    Creates a response for given body.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def count(result: Int = 0): PreparedResponse

    Prepares a response to a successful count command.

    Prepares a response to a successful count command.

    result

    Count result

  8. lazy val empty: PreparedResponse

    Successful empty response (list of zero document).

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def failed(message: String, code: Int): PreparedResponse

    Named factory for error response.

    Named factory for error response.

    message

    Error message

    code

    Error code

  12. def failed(message: String): PreparedResponse

    Named factory for error response.

  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. def findAndModify[T](result: T)(implicit arg0: BSONWriter[T]): PreparedResponse

    Prepares a response to a successful findAndModify command.

    Prepares a response to a successful findAndModify command.

    result

    FindAndModify result

  15. def firstBatch(cursorId: Long, ns: String, firstBatch: Seq[BSONDocument]): PreparedResponse

    Prepares a response for a successful firstBatch.

  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def startSession(uuid: UUID = UUID.randomUUID(), timeoutMinutes: Int = 1): PreparedResponse

    Prepares a response to a successful startSession command.

  23. def successful(result: BSONDocument*): PreparedResponse

    Factory for successful response.

  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. lazy val undefined: PreparedResponse

    Undefined response, returned by handler no supporting a specific query that may be handled by others.

  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped