Class

reactivemongo.core.protocol

Query

Related Doc: package protocol

Permalink

case class Query(flags: Int, fullCollectionName: String, numberToSkip: Int, numberToReturn: Int) extends CollectionAwareRequestOp with Product with Serializable

Query operation.

flags

the operation flags

fullCollectionName

the full name of the queried collection

numberToSkip

the number of documents to skip in the response.

numberToReturn

The number of documents to return in the response. 0 means the server will choose.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Query
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. CollectionAwareRequestOp
  7. RequestOp
  8. ChannelBufferWritable
  9. Op
  10. AnyRef
  11. 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

Instance Constructors

  1. new Query(flags: Int, fullCollectionName: String, numberToSkip: Int, numberToReturn: Int)

    Permalink

    flags

    the operation flags

    fullCollectionName

    the full name of the queried collection

    numberToSkip

    the number of documents to skip in the response.

    numberToReturn

    The number of documents to return in the response. 0 means the server will choose.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Query to any2stringadd[Query] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Query, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Query to ArrowAssoc[Query] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val code: Int

    Permalink

    operation code

    operation code

    Definition Classes
    QueryOp
  9. lazy val collectionName: String

    Permalink

    Database and collection name

    Database and collection name

    Definition Classes
    CollectionAwareRequestOp
  10. lazy val db: String

    Permalink

    Database and collection name

    Database and collection name

    Definition Classes
    CollectionAwareRequestOp
  11. def ensuring(cond: (Query) ⇒ Boolean, msg: ⇒ Any): Query

    Permalink
    Implicit information
    This member is added by an implicit conversion from Query to Ensuring[Query] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (Query) ⇒ Boolean): Query

    Permalink
    Implicit information
    This member is added by an implicit conversion from Query to Ensuring[Query] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): Query

    Permalink
    Implicit information
    This member is added by an implicit conversion from Query to Ensuring[Query] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): Query

    Permalink
    Implicit information
    This member is added by an implicit conversion from Query to Ensuring[Query] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. val expectsResponse: Boolean

    Permalink

    States if this request expects a response.

    States if this request expects a response.

    Definition Classes
    QueryRequestOp
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. val flags: Int

    Permalink

    the operation flags

  19. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Query to StringFormat[Query] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. val fullCollectionName: String

    Permalink

    the full name of the queried collection

    the full name of the queried collection

    Definition Classes
    QueryCollectionAwareRequestOp
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  26. val numberToReturn: Int

    Permalink

    The number of documents to return in the response.

    The number of documents to return in the response. 0 means the server will choose.

  27. val numberToSkip: Int

    Permalink

    the number of documents to skip in the response.

  28. val requiresPrimary: Boolean

    Permalink

    States if this request has to be run on a primary.

    States if this request has to be run on a primary.

    Definition Classes
    RequestOp
  29. def size: Int

    Permalink

    Size of the content that would be written.

    Size of the content that would be written.

    Definition Classes
    QueryChannelBufferWritable
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. val writeTo: (ChannelBuffer) ⇒ Unit

    Permalink

    Write this instance into the given ChannelBuffer.

    Write this instance into the given ChannelBuffer.

    Definition Classes
    QueryChannelBufferWritable
  35. def [B](y: B): (Query, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Query to ArrowAssoc[Query] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from CollectionAwareRequestOp

Inherited from RequestOp

Inherited from ChannelBufferWritable

Inherited from Op

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Query to any2stringadd[Query]

Inherited by implicit conversion StringFormat from Query to StringFormat[Query]

Inherited by implicit conversion Ensuring from Query to Ensuring[Query]

Inherited by implicit conversion ArrowAssoc from Query to ArrowAssoc[Query]

Ungrouped