com.mongodb.casbah.query

SizeOp

trait SizeOp extends QueryOperator

Trait to provide the $size (Size) method on appropriate callers.

Test value must be an Int or BigInt.

Source
CoreOperators.scala
See also

http://www.mongodb.org/display/DOCS/Advanced+Queries#AdvancedQueries-%24size

Linear Supertypes
QueryOperator, Logging, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. SizeOp
  2. QueryOperator
  3. Logging
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. val field : String

    Attributes
    abstract
    Definition Classes
    QueryOperator

Concrete Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def $size (target: BigInt): DBObject with DSLDBObject

  5. def $size (target: Int): DBObject with DSLDBObject

  6. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  7. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  8. def anyListOp (oper: String, target: Any*): DBObject with DSLDBObject

    Definition Classes
    QueryOperator
  9. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  10. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. var dbObj : Option[DBObject]

    Attributes
    protected
    Definition Classes
    QueryOperator
  12. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  13. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  16. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  17. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  18. var log : Logger

    Attributes
    protected[casbah]
    Definition Classes
    Logging
  19. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  20. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  21. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  22. def op (oper: String, target: Any): DBObject with DSLDBObject

    Base method for children to call to convert an operator call into a Mongo DBObject.

    Base method for children to call to convert an operator call into a Mongo DBObject.

    e.g. "foo" $ne "bar" will convert to {"foo": {"$ne": "bar"}}

    Optionally, if dbObj, being Some(DBObject) is defined, the op(oper, ) method will nest the target value and operator inside the existing dbObj - this is useful for things like mixing $lte and $gte WARNING: This does NOT check that target is a serializable type. That is, for the moment, your own problem.

    Attributes
    protected
    Definition Classes
    QueryOperator
  23. def patchSerialization (target: Any): Unit

    Temporary fix code for making sure certain edge cases w/ the serialization libs Don't happen.

    Temporary fix code for making sure certain edge cases w/ the serialization libs Don't happen. This may impose a slight performance penalty.

    Attributes
    protected
    Definition Classes
    QueryOperator
  24. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  25. def toString (): String

    Definition Classes
    AnyRef → Any
  26. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from QueryOperator

Inherited from Logging

Inherited from AnyRef

Inherited from Any