Trait

com.mongodb.casbah.query.dsl

FluidQueryOperators

Related Doc: package dsl

Permalink

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.

Linear Supertypes
Type Hierarchy Learn more about scaladoc diagrams
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
Visibility
  1. Public
  2. All

Type Members

  1. sealed class NearOpWrapper extends Imports.BasicDBObject

    Permalink
    Definition Classes
    GeoNearOp

Abstract Value Members

  1. abstract def field: String

    Permalink
    Definition Classes
    ChainedOperator

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink

    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
  28. def $type(arg: Byte): Imports.DBObject with QueryExpressionObject

    Permalink

    For those who want to pass the static byte from org.bson.BSON explicitly (or with the simple BSON spec indicator)

    For those who want to pass the static byte from org.bson.BSON explicitly (or with the simple BSON spec indicator)

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

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

    Permalink
    Definition Classes
    EqualsOp
  31. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  32. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  33. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  44. def queryEq(target: Any): Imports.DBObject with QueryExpressionObject

    Permalink

    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
  45. def queryOp(oper: String, target: Any): Imports.DBObject with QueryExpressionObject

    Permalink

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

    Permalink
    Definition Classes
    AnyRef
  47. def toString(): String

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

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

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

    Permalink
    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