com.mongodb.casbah.query.dsl

FluidQueryOperators

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

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

Source
CoreOperators.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FluidQueryOperators
  2. MetaProjectionOp
  3. GeospatialOps
  4. DeprecatedGeoWithinOps
  5. GeoIntersectsOp
  6. GeoWithinOps
  7. GeoNearSphereOp
  8. GeoNearOp
  9. ElemMatchOp
  10. RegexOp
  11. TypeOp
  12. SliceOp
  13. NotOp
  14. AllOp
  15. ExistsOp
  16. SizeOp
  17. ModuloOp
  18. NotInOp
  19. InOp
  20. GreaterThanEqualOp
  21. GreaterThanOp
  22. LessThanEqualOp
  23. LessThanOp
  24. NotEqualsOp
  25. EqualsOp
  26. QueryOperator
  27. ChainedOperator
  28. AnyRef
  29. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. sealed class NearOpWrapper extends Imports.BasicDBObject

    Definition Classes
    GeoNearOp

Abstract Value Members

  1. abstract def field: String

    Definition Classes
    ChainedOperator

Concrete Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. def $all[A](a: A)(implicit arg0: Imports.AsQueryParam[A]): Imports.DBObject with QueryExpressionObject

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

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

    Definition Classes
    ExistsOp
  7. def $geoIntersects(geometry: Imports.DBObject): Imports.DBObject with QueryExpressionObject

    Definition Classes
    GeoIntersectsOp
  8. def $geoWithin: QueryOperator { ... /* 6 definitions in type refinement */ }

    Definition Classes
    GeoWithinOps
  9. def $geoWithin[A](geometry: A)(implicit arg0: (A) ⇒ Imports.DBObject): Imports.DBObject with QueryExpressionObject

    Definition Classes
    GeoWithinOps
  10. def $gt[A](a: A)(implicit arg0: Imports.AsQueryParam[A]): Imports.DBObject with QueryExpressionObject

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

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

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

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

    Definition Classes
    LessThanEqualOp
  15. def $meta(): Imports.DBObject with QueryExpressionObject

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

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

    Definition Classes
    NotEqualsOp
  18. def $near(coords: GeoCoords[_, _]): NearOpWrapper

    Definition Classes
    GeoNearOp
  19. def $nearSphere(coords: GeoCoords[_, _]): Imports.DBObject with QueryExpressionObject

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

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

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

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

    Definition Classes
    NotOp
  24. def $regex(arg: String): Imports.DBObject with QueryExpressionObject

    Definition Classes
    RegexOp
  25. def $size(target: Int): Imports.DBObject with QueryExpressionObject

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

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

    Definition Classes
    SliceOp
  28. def $type[A](implicit bsonType: BSONType[A]): Imports.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
  29. def $type(arg: Byte): Imports.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)

    Definition Classes
    TypeOp
  30. def $within: QueryOperator { ... /* 4 definitions in type refinement */ }

    Definition Classes
    DeprecatedGeoWithinOps
  31. def =[A](a: A)(implicit arg0: Imports.AsQueryParam[A]): Imports.DBObject with QueryExpressionObject

    Definition Classes
    EqualsOp
  32. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  34. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  35. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. var dbObj: Option[commons.Imports.DBObject]

    Attributes
    protected
    Definition Classes
    ChainedOperator
  37. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  38. def equals(arg0: Any): Boolean

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

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

    Definition Classes
    AnyRef → Any
  41. def hashCode(): Int

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

    Definition Classes
    Any
  43. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  44. final def notify(): Unit

    Definition Classes
    AnyRef
  45. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  46. def queryEq(target: Any): Imports.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" $eq "bar" will convert to {"foo": "bar"}

    WARNING: This does NOT check that target is a serializable type. That is, for the moment, your own problem.

    Attributes
    protected
    Definition Classes
    QueryOperator
  47. def queryOp(oper: String, target: Any): Imports.DBObject with QueryExpressionObject

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

    Base method for children to call to convert an operator call into a nested 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
  48. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  49. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MetaProjectionOp

Inherited from GeospatialOps

Inherited from DeprecatedGeoWithinOps

Inherited from GeoIntersectsOp

Inherited from GeoWithinOps

Inherited from GeoNearSphereOp

Inherited from GeoNearOp

Inherited from ElemMatchOp

Inherited from RegexOp

Inherited from TypeOp

Inherited from SliceOp

Inherited from NotOp

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 EqualsOp

Inherited from QueryOperator

Inherited from ChainedOperator

Inherited from AnyRef

Inherited from Any

Ungrouped