com.mongodb.casbah.query.dsl

FluidQueryOperators

trait FluidQueryOperators extends NotEqualsOp with LessThanOp with LessThanEqualOp with GreaterThanOp with GreaterThanEqualOp with InOp with NotInOp with ModuloOp with SizeOp with ExistsOp with AllOp with WhereOp with NotOp with SliceOp with TypeOp with ElemMatchOp with GeospatialOps

Mixed trait which provides all possible operators. See Implicits for examples of usage.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. FluidQueryOperators
  2. GeospatialOps
  3. GeoWithinOps
  4. GeoNearSphereOp
  5. GeoNearOp
  6. ElemMatchOp
  7. TypeOp
  8. SliceOp
  9. NotOp
  10. WhereOp
  11. AllOp
  12. ExistsOp
  13. SizeOp
  14. ModuloOp
  15. NotInOp
  16. InOp
  17. GreaterThanEqualOp
  18. GreaterThanOp
  19. LessThanEqualOp
  20. LessThanOp
  21. NotEqualsOp
  22. QueryOperator
  23. Logging
  24. AnyRef
  25. Any
Visibility
  1. Public
  2. All

Type Members

  1. class NearOpWrapper extends BasicDBObject

    Attributes
    sealed

Abstract Value Members

  1. def 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 $all [A] (a: A)(implicit arg0: AsQueryParam[A]): DBObject with QueryExpressionObject

    Definition Classes
    AllOp
  5. def $elemMatch [A] (target: A)(implicit arg0: (A) ⇒ DBObject): DBObject with QueryExpressionObject

    Definition Classes
    ElemMatchOp
  6. def $exists (target: Boolean): DBObject with QueryExpressionObject

    Definition Classes
    ExistsOp
  7. def $gt [A] (a: A)(implicit arg0: AsQueryParam[A]): DBObject with QueryExpressionObject

    Definition Classes
    GreaterThanOp
  8. def $gte [A] (a: A)(implicit arg0: AsQueryParam[A]): DBObject with QueryExpressionObject

    Definition Classes
    GreaterThanEqualOp
  9. def $in [A] (a: A)(implicit arg0: AsQueryParam[A]): DBObject with QueryExpressionObject

    Definition Classes
    InOp
  10. def $lt [A] (a: A)(implicit arg0: AsQueryParam[A]): DBObject with QueryExpressionObject

    Definition Classes
    LessThanOp
  11. def $lte [A] (a: A)(implicit arg0: AsQueryParam[A]): DBObject with QueryExpressionObject

    Definition Classes
    LessThanEqualOp
  12. def $mod [A, B] (left: A, right: B)(implicit arg0: ValidNumericType[A], arg1: ValidNumericType[B]): DBObject with QueryExpressionObject

    Definition Classes
    ModuloOp
  13. def $ne [A] (a: A)(implicit arg0: AsQueryParam[A]): DBObject with QueryExpressionObject

    Definition Classes
    NotEqualsOp
  14. def $near (coords: com.mongodb.casbah.query.dsl.GeoCoords[_, _]): NearOpWrapper

    Definition Classes
    GeoNearOp
  15. def $nearSphere (coords: com.mongodb.casbah.query.dsl.GeoCoords[_, _]): DBObject with QueryExpressionObject

    Definition Classes
    GeoNearSphereOp
  16. def $nin [A] (a: A)(implicit arg0: AsQueryParam[A]): DBObject with QueryExpressionObject

    Definition Classes
    NotInOp
  17. def $not (re: Pattern): DBObject with QueryExpressionObject

    Definition Classes
    NotOp
  18. def $not (re: Regex): DBObject with QueryExpressionObject

    Definition Classes
    NotOp
  19. def $not (inner: (FluidQueryOperators) ⇒ DBObject): DBObject

    Definition Classes
    NotOp
  20. def $size (target: BigInt): DBObject with QueryExpressionObject

    Definition Classes
    SizeOp
  21. def $size (target: Int): DBObject with QueryExpressionObject

    Definition Classes
    SizeOp
  22. def $slice (slice: Int, limit: Int): DBObject with QueryExpressionObject

    Definition Classes
    SliceOp
  23. def $slice (target: Int): DBObject with QueryExpressionObject

    Definition Classes
    SliceOp
  24. def $type [A] (implicit bsonType: BSONType[A]): DBObject with QueryExpressionObject

    Matches types based on a Context Bound.

    Matches types based on a Context Bound. Requires anchoring to prevent compiler confusion:

    "foo".$type[Double]

    Definition Classes
    TypeOp
  25. def $type (arg: Byte): DBObject with QueryExpressionObject

    For those who want to pass the static byte from org.

    For those who want to pass the static byte from org.bson.BSON explicitly (or with the simple BSON spec indicator) TODO: Test for a valid byte, right now we accept anything you say.

    Definition Classes
    TypeOp
  26. def $where (target: JSFunction): DBObject with QueryExpressionObject

    Definition Classes
    WhereOp
  27. def $within : QueryOperator { ... /* 3 definitions in type refinement */ }

    Definition Classes
    GeoWithinOps
  28. def == (arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  38. def hashCode (): Int

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

    Attributes
    final
    Definition Classes
    Any
  40. var log : Logger

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

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

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

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

    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
  45. 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
  46. def synchronized [T0] (arg0: ⇒ T0): T0

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

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from GeospatialOps

Inherited from GeoWithinOps

Inherited from GeoNearSphereOp

Inherited from GeoNearOp

Inherited from ElemMatchOp

Inherited from TypeOp

Inherited from SliceOp

Inherited from NotOp

Inherited from WhereOp

Inherited from AllOp

Inherited from ExistsOp

Inherited from SizeOp

Inherited from ModuloOp

Inherited from NotInOp

Inherited from InOp

Inherited from GreaterThanEqualOp

Inherited from GreaterThanOp

Inherited from LessThanEqualOp

Inherited from LessThanOp

Inherited from NotEqualsOp

Inherited from QueryOperator

Inherited from Logging

Inherited from AnyRef

Inherited from Any