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.
- Alphabetic
- By Inheritance
- Query
- Serializable
- Serializable
- Product
- Equals
- CollectionAwareRequestOp
- RequestOp
- ChannelBufferWritable
- Op
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Query, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
val
code: Int
The operation code
-
lazy val
collectionName: String
Database and collection name
Database and collection name
- Definition Classes
- CollectionAwareRequestOp
-
lazy val
db: String
Database and collection name
Database and collection name
- Definition Classes
- CollectionAwareRequestOp
- def ensuring(cond: (Query) ⇒ Boolean, msg: ⇒ Any): Query
- def ensuring(cond: (Query) ⇒ Boolean): Query
- def ensuring(cond: Boolean, msg: ⇒ Any): Query
- def ensuring(cond: Boolean): Query
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
expectsResponse: Boolean
States if this request expects a response.
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val flags: Int
- def formatted(fmtstr: String): String
-
val
fullCollectionName: String
The full collection name (<dbname.collectionname>)
The full collection name (<dbname.collectionname>)
- Definition Classes
- Query → CollectionAwareRequestOp
-
final
def
getClass(): Class[_]
- 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()
- val numberToReturn: Int
- val numberToSkip: Int
-
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
-
val
size: Int
Size of the content that would be written.
Size of the content that would be written.
- Definition Classes
- Query → ChannelBufferWritable
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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
- @throws( ... ) @native()
-
val
writeTo: (ByteBuf) ⇒ Unit
Write this instance into the given ByteBuf.
Write this instance into the given ByteBuf.
- Definition Classes
- Query → ChannelBufferWritable
- def →[B](y: B): (Query, B)