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. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Query toany2stringadd[Query] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Query, B)
    Implicit
    This member is added by an implicit conversion from Query toArrowAssoc[Query] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. val code: Int

    The operation code

    The operation code

    Definition Classes
    QueryOp
  9. lazy val collectionName: String

    Database and collection name

    Database and collection name

    Definition Classes
    CollectionAwareRequestOp
  10. lazy val db: String

    Database and collection name

    Database and collection name

    Definition Classes
    CollectionAwareRequestOp
  11. def ensuring(cond: (Query) => Boolean, msg: => Any): Query
    Implicit
    This member is added by an implicit conversion from Query toEnsuring[Query] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (Query) => Boolean): Query
    Implicit
    This member is added by an implicit conversion from Query toEnsuring[Query] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: => Any): Query
    Implicit
    This member is added by an implicit conversion from Query toEnsuring[Query] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): Query
    Implicit
    This member is added by an implicit conversion from Query toEnsuring[Query] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. val expectsResponse: Boolean

    States if this request expects a response.

    States if this request expects a response.

    Definition Classes
    QueryRequestOp
  17. val flags: Int
  18. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Query toStringFormat[Query] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. val fullCollectionName: String

    The full collection name (<dbname.collectionname>)

    The full collection name (<dbname.collectionname>)

    Definition Classes
    QueryCollectionAwareRequestOp
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. val numberToReturn: Int
  26. val numberToSkip: Int
  27. def productElementNames: Iterator[String]
    Definition Classes
    Product
  28. 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
  29. val size: Int

    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
    Definition Classes
    AnyRef
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  34. val writeTo: (ByteBuf) => Unit

    Write this instance into the given ByteBuf.

    Write this instance into the given ByteBuf.

    Definition Classes
    QueryChannelBufferWritable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def [B](y: B): (Query, B)
    Implicit
    This member is added by an implicit conversion from Query toArrowAssoc[Query] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from RequestOp

Inherited from ChannelBufferWritable

Inherited from Op

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromQuery to any2stringadd[Query]

Inherited by implicit conversion StringFormat fromQuery to StringFormat[Query]

Inherited by implicit conversion Ensuring fromQuery to Ensuring[Query]

Inherited by implicit conversion ArrowAssoc fromQuery to ArrowAssoc[Query]

Ungrouped