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.

Annotations
@deprecated
Deprecated

(Since version 0.20.3) Internal: will be made private

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Query
  2. Serializable
  3. Product
  4. Equals
  5. CollectionAwareRequestOp
  6. RequestOp
  7. ChannelBufferWritable
  8. Op
  9. AnyRef
  10. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

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

    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. val code: Int

    The operation code

    The operation code

    Definition Classes
    QueryOp
  2. lazy val collectionName: String

    Database and collection name

    Database and collection name

    Definition Classes
    CollectionAwareRequestOp
  3. lazy val db: String

    Database and collection name

    Database and collection name

    Definition Classes
    CollectionAwareRequestOp
  4. val expectsResponse: Boolean

    States if this request expects a response.

    States if this request expects a response.

    Definition Classes
    QueryRequestOp
  5. val flags: Int
  6. val fullCollectionName: String

    The full collection name (<dbname.collectionname>)

    The full collection name (<dbname.collectionname>)

    Definition Classes
    QueryCollectionAwareRequestOp
  7. val numberToReturn: Int
  8. val numberToSkip: Int
  9. def productElementNames: Iterator[String]
    Definition Classes
    Product
  10. val requiresPrimary: Boolean

    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
  11. val size: Int

    Size of the content that would be written.

    Size of the content that would be written.

    Definition Classes
    QueryChannelBufferWritable
  12. val writeTo: (ByteBuf) => Unit

    Write this instance into the given ByteBuf.

    Write this instance into the given ByteBuf.

    Definition Classes
    QueryChannelBufferWritable