com.mongodb.casbah.query

Imports

trait Imports extends FluidQueryBarewordOps with BaseImports with TypeImports with Implicits with Imports with Exports with ValidBarewordExpressionArgTypeHolder with ValidDateTypeHolder with ValidNumericTypeHolder with ValidDateOrNumericTypeHolder

linear super types: ValidDateOrNumericTypeHolder, ValidNumericTypeHolder, ValidDateTypeHolder, ValidBarewordExpressionArgTypeHolder, Exports, Imports, Implicits, TypeImports, BaseImports, Implicits, TypeImports, BaseImports, FluidQueryBarewordOps, BitOp, BitOpBase, NorOp, NorOpBase, ArrayOps, PullAllOp, PullAllOpBase, PullOp, PullOpBase, PopOp, PopOpBase, AddToSetOp, AddToSetOpBase, PushAllOp, PushAllOpBase, PushOp, PushOpBase, RenameOp, RenameOpBase, AndOp, AndOpBase, OrOp, OrOpBase, IncOp, IncOpBase, UnsetOp, UnsetOpBase, SetOp, SetOpBase, BarewordQueryOperator, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Imports
  2. ValidDateOrNumericTypeHolder
  3. ValidNumericTypeHolder
  4. ValidDateTypeHolder
  5. ValidBarewordExpressionArgTypeHolder
  6. Exports
  7. Imports
  8. Implicits
  9. TypeImports
  10. BaseImports
  11. Implicits
  12. TypeImports
  13. BaseImports
  14. FluidQueryBarewordOps
  15. BitOp
  16. BitOpBase
  17. NorOp
  18. NorOpBase
  19. ArrayOps
  20. PullAllOp
  21. PullAllOpBase
  22. PullOp
  23. PullOpBase
  24. PopOp
  25. PopOpBase
  26. AddToSetOp
  27. AddToSetOpBase
  28. PushAllOp
  29. PushAllOpBase
  30. PushOp
  31. PushOpBase
  32. RenameOp
  33. RenameOpBase
  34. AndOp
  35. AndOpBase
  36. OrOp
  37. OrOpBase
  38. IncOp
  39. IncOpBase
  40. UnsetOp
  41. UnsetOpBase
  42. SetOp
  43. SetOpBase
  44. BarewordQueryOperator
  45. AnyRef
  46. Any
Visibility
  1. Public
  2. All
Impl.
  1. Concrete
  2. Abstract

Type Members

  1. type BasicDBList = BasicDBList

    definition classes: TypeImports
  2. type BasicDBObject = BasicDBObject

    definition classes: TypeImports
  3. type DBObject = DBObject

    definition classes: TypeImports
  4. type DBRef = DBRef

    definition classes: TypeImports
  5. type GeoCoords = com.mongodb.casbah.query.dsl.GeoCoords[_, _]

    definition classes: TypeImports
  6. type JSFunction = String

    definition classes: Implicits
  7. type MongoDBList = MongoDBList

    definition classes: Exports
  8. type MongoDBObject = MongoDBObject

    definition classes: Exports
  9. type MongoException = MongoException

    definition classes: TypeImports
  10. type ObjectId = ObjectId

    definition classes: TypeImports

Value Members

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

    attributes: final
    definition classes: AnyRef
  2. def != (arg0: Any) : Boolean

    o != arg0 is the same as !(o == (arg0)).

    o != arg0 is the same as !(o == (arg0)).

    arg0

    the object to compare against this object for dis-equality.

    returns

    false if the receiver object is equivalent to the argument; true otherwise.

    attributes: final
    definition classes: Any
  3. def ## () : Int

    attributes: final
    definition classes: AnyRef → Any
  4. def $addToSet : ((String, Any)*) ⇒ DBObject

    definition classes: AddToSetOp
  5. def $addToSet (field: String) : AnyRef {...}

    definition classes: AddToSetOp
  6. def $addToSet [T] (arg: T)(implicit arg0: (T) ⇒ DBObject) : DBObject

    definition classes: AddToSetOp
  7. def $and : NestedBarewordListOperator

    definition classes: AndOp
  8. def $asInstanceOf [T0] () : T0

    attributes: final
    definition classes: AnyRef
  9. def $bit (field: String) : AnyRef {...}

    definition classes: BitOp
  10. def $inc [T] (args: (String, T)*)(implicit arg0: ValidNumericType[T]) : DBObject

    definition classes: IncOp
  11. def $isInstanceOf [T0] () : Boolean

    attributes: final
    definition classes: AnyRef
  12. def $nor : NestedBarewordListOperator

    definition classes: NorOp
  13. def $or : NestedBarewordListOperator

    definition classes: OrOp
  14. def $pop [T] (args: (String, T)*)(implicit arg0: ValidNumericType[T]) : DBObject

    definition classes: PopOp
  15. def $pull (inner: DBObject) : DBObject

    definition classes: PullOp
  16. def $pull (inner: ⇒ DBObject) : DBObject

    definition classes: PullOp
  17. def $pull : ((String, Any)*) ⇒ DBObject

    definition classes: PullOp
  18. def $pullAll [A] (args: (String, A)*)(implicit arg0: AsIterable[A]) : DBObject

    definition classes: PullAllOp
  19. def $push : ((String, Any)*) ⇒ DBObject

    definition classes: PushOp
  20. def $pushAll [A] (args: (String, A)*)(implicit arg0: AsIterable[A]) : DBObject

    definition classes: PushAllOp
  21. def $rename : ((String, Any)*) ⇒ DBObject

    definition classes: RenameOp
  22. def $set : ((String, Any)*) ⇒ DBObject

    definition classes: SetOp
  23. def $unset : (String*) ⇒ DBObject

    definition classes: UnsetOp
  24. def == (arg0: AnyRef) : Boolean

    o == arg0 is the same as if (o eq null) arg0 eq null else o.equals(arg0).

    o == arg0 is the same as if (o eq null) arg0 eq null else o.equals(arg0).

    arg0

    the object to compare against this object for equality.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    attributes: final
    definition classes: AnyRef
  25. def == (arg0: Any) : Boolean

    o == arg0 is the same as o.equals(arg0).

    o == arg0 is the same as o.equals(arg0).

    arg0

    the object to compare against this object for equality.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    attributes: final
    definition classes: Any
  26. object BigDecimalDoNOk extends ValidDateOrNumericType[BigDecimal]

    attributes: implicit
  27. object BigDecimalOk extends BigDecimalOk

    attributes: implicit
  28. object BigIntDoNOk extends ValidDateOrNumericType[BigInt]

    attributes: implicit
  29. object BigIntOk extends BigIntOk

    attributes: implicit
  30. object ByteDoNOk extends ValidDateOrNumericType[Byte]

    attributes: implicit
  31. object ByteOk extends ByteOk

    attributes: implicit
  32. object ConcreteDBObjectOk extends ConcreteDBObject

    attributes: implicit
  33. object CoreOperatorResultObjOk extends CoreOperatorResultObj

    attributes: implicit
  34. val DBList : com.mongodb.casbah.commons.MongoDBList.type

    definition classes: BaseImports
  35. val DBObject : com.mongodb.casbah.commons.MongoDBObject.type

    definition classes: BaseImports
  36. object DoubleDoNOk extends ValidDateOrNumericType[Double]

    attributes: implicit
  37. object DoubleOk extends DoubleOk

    attributes: implicit
  38. object FloatDoNOk extends ValidDateOrNumericType[Float]

    attributes: implicit
  39. object FloatOk extends FloatOk

    attributes: implicit
  40. val GeoCoords : com.mongodb.casbah.query.dsl.GeoCoords.type

    definition classes: BaseImports
  41. object IntDoNOk extends ValidDateOrNumericType[Int]

    attributes: implicit
  42. object IntOk extends IntOk

    attributes: implicit
  43. object JDKDateDoNOk extends ValidDateOrNumericType[Date]

    attributes: implicit
  44. object JDKDateOk extends JDKDateOk

    attributes: implicit
  45. object JodaDateTimeDoNOk extends ValidDateOrNumericType[DateTime]

    attributes: implicit
  46. object JodaDateTimeOk extends JodaDateTimeOk

    attributes: implicit
  47. object LongDoNOk extends ValidDateOrNumericType[Long]

    attributes: implicit
  48. object LongOk extends LongOk

    attributes: implicit
  49. val MongoDBList : com.mongodb.casbah.commons.MongoDBList.type

    definition classes: Exports
  50. val MongoDBObject : com.mongodb.casbah.commons.MongoDBObject.type

    definition classes: Exports
  51. object ShortDoNOk extends ValidDateOrNumericType[Short]

    attributes: implicit
  52. object ShortOk extends ShortOk

    attributes: implicit
  53. def _addToSet : ((String, Any)*) ⇒ DBObject

    attributes: protected
    definition classes: AddToSetOpBase
  54. def _addToSet (field: String) : AnyRef {...}

    attributes: protected
    definition classes: AddToSetOpBase
  55. def _addToSet [T] (arg: T)(implicit arg0: (T) ⇒ DBObject) : DBObject

    attributes: protected
    definition classes: AddToSetOpBase
  56. def _and : NestedBarewordListOperator

    attributes: protected
    definition classes: AndOpBase
  57. def _bit (field: String) : AnyRef {...}

    attributes: protected
    definition classes: BitOpBase
  58. def _inc [T] (args: (String, T)*)(implicit arg0: ValidNumericType[T]) : DBObject

    attributes: protected
    definition classes: IncOpBase
  59. def _nor : NestedBarewordListOperator

    attributes: protected
    definition classes: NorOpBase
  60. def _or : NestedBarewordListOperator

    attributes: protected
    definition classes: OrOpBase
  61. def _pop [T] (args: (String, T)*)(implicit arg0: ValidNumericType[T]) : DBObject

    attributes: protected
    definition classes: PopOpBase
  62. def _pull (inner: DBObject) : DBObject

    attributes: protected
    definition classes: PullOpBase
  63. def _pull (inner: ⇒ DBObject) : DBObject

    ValueTest enabled version

    ValueTest enabled version

    attributes: protected
    definition classes: PullOpBase
  64. def _pull : ((String, Any)*) ⇒ DBObject

    attributes: protected
    definition classes: PullOpBase
  65. def _pullAll [A] (args: (String, A)*)(implicit arg0: AsIterable[A]) : DBObject

    attributes: protected
    definition classes: PullAllOpBase
  66. def _push : ((String, Any)*) ⇒ DBObject

    attributes: protected
    definition classes: PushOpBase
  67. def _pushAll [A] (args: (String, A)*)(implicit arg0: AsIterable[A]) : DBObject

    attributes: protected
    definition classes: PushAllOpBase
  68. def _rename : ((String, Any)*) ⇒ DBObject

    attributes: protected
    definition classes: RenameOpBase
  69. def _set : ((String, Any)*) ⇒ DBObject

    attributes: protected
    definition classes: SetOpBase
  70. def _unset (args: String*) : DBObject

    attributes: protected
    definition classes: UnsetOpBase
  71. def apply [A] (oper: String)(fields: (String, A)*) : DBObject

    definition classes: BarewordQueryOperator
  72. def asInstanceOf [T0] : T0

    This method is used to cast the receiver object to be of type T0.

    This method is used to cast the receiver object to be of type T0.

    Note that the success of a cast at runtime is modulo Scala's erasure semantics. Therefore the expression1.asInstanceOf[String] will throw a ClassCastException at runtime, while the expressionList(1).asInstanceOf[List[String]] will not. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested typed.

    returns

    the receiver object.

    attributes: final
    definition classes: Any
  73. def clone () : AnyRef

    This method creates and returns a copy of the receiver object.

    This method creates and returns a copy of the receiver object.

    The default implementation of the clone method is platform dependent.

    returns

    a copy of the receiver object.

    attributes: protected
    definition classes: AnyRef
  74. def eq (arg0: AnyRef) : Boolean

    This method is used to test whether the argument (arg0) is a reference to the receiver object (this).

    This method is used to test whether the argument (arg0) is a reference to the receiver object (this).

    The eq method implements an [http://en.wikipedia.org/wiki/Equivalence_relation equivalence relation] on non-null instances of AnyRef: * It is reflexive: for any non-null instance x of type AnyRef, x.eq(x) returns true. * It is symmetric: for any non-null instances x and y of type AnyRef, x.eq(y) returns true if and only if y.eq(x) returns true. * It is transitive: for any non-null instances x, y, and z of type AnyRef if x.eq(y) returns true and y.eq(z) returns true, then x.eq(z) returns true.

    Additionally, the eq method has three other properties. * It is consistent: for any non-null instances x and y of type AnyRef, multiple invocations of x.eq(y) consistently returns true or consistently returns false. * For any non-null instance x of type AnyRef, x.eq(null) and null.eq(x) returns false. * null.eq(null) returns true.

    When overriding the equals or hashCode methods, it is important to ensure that their behavior is consistent with reference equality. Therefore, if two objects are references to each other (o1 eq o2), they should be equal to each other (o1 == o2) and they should hash to the same value (o1.hashCode == o2.hashCode).

    arg0

    the object to compare against this object for reference equality.

    returns

    true if the argument is a reference to the receiver object; false otherwise.

    attributes: final
    definition classes: AnyRef
  75. def equals (arg0: Any) : Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence.

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence.

    The default implementations of this method is an [http://en.wikipedia.org/wiki/Equivalence_relation equivalence relation]: * It is reflexive: for any instance x of type Any, x.equals(x) should return true. * It is symmetric: for any instances x and y of type Any, x.equals(y) should return true if and only if y.equals(x) returns true. * It is transitive: for any instances x, y, and z of type AnyRef if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.

    If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is often necessary to override hashCode to ensure that objects that are "equal" (o1.equals(o2) returns true) hash to the same scala.Int (o1.hashCode.equals(o2.hashCode)).

    arg0

    the object to compare against this object for equality.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    definition classes: AnyRef → Any
  76. def finalize () : Unit

    This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object.

    This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object.

    The details of when and if the finalize method are invoked, as well as the interaction between finalizeand non-local returns and exceptions, are all platform dependent.

    attributes: protected
    definition classes: AnyRef
  77. def getClass () : java.lang.Class[_]

    Returns a representation that corresponds to the dynamic class of the receiver object.

    Returns a representation that corresponds to the dynamic class of the receiver object.

    The nature of the representation is platform dependent.

    returns

    a representation that corresponds to the dynamic class of the receiver object.

    attributes: final
    definition classes: AnyRef
  78. def hashCode () : Int

    Returns a hash code value for the object.

    Returns a hash code value for the object.

    The default hashing algorithm is platform dependent.

    Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.

    returns

    the hash code value for the object.

    definition classes: AnyRef → Any
  79. def isInstanceOf [T0] : Boolean

    This method is used to test whether the dynamic type of the receiver object is T0.

    This method is used to test whether the dynamic type of the receiver object is T0.

    Note that the test result of the test is modulo Scala's erasure semantics. Therefore the expression1.isInstanceOf[String] will return false, while the expression List(1).isInstanceOf[List[String]] will return true. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested typed.

    returns

    true if the receiver object is an instance of erasure of type T0; false otherwise.

    attributes: final
    definition classes: Any
  80. implicit def kvPairOk [A] : KVPair[A]

    attributes: implicit
  81. implicit def map2MongoDBObject (map: Map[String, Any]) : DBObject

    attributes: implicit
    definition classes: Implicits
  82. implicit def mapAsDBObject (map: Map[String, Any]) : AnyRef {...}

    attributes: implicit
    definition classes: Implicits
  83. implicit def mongoNestedDBObjectQueryStatements (nested: DBObject with QueryExpressionObject) : ValueTestFluidQueryOperators

    Implicit extension methods for Tuple2[String, DBObject] values to add Mongo's query operators, minimizing the need to write long series' of nested maps.

    Implicit extension methods for Tuple2[String, DBObject] values to add Mongo's query operators, minimizing the need to write long series' of nested maps.

    Mixes in the QueryOperators defined in the QueryOperators mixin. The NestedQuery implicits allows you to call chained operators on the return value of the base String method method. Chained operators will place the subsequent operators within the same DBObject, e.g. "fooDate" $lte yesterday $gte tomorrow maps to a Mongo query of:{"fooDate": {"$lte": , "$gte": }}

    returns

    Tuple2[String, DBObject] A tuple containing the field name and the mapped operator value, suitable for instantiating a Map

    attributes: implicit
    definition classes: Implicits
  84. implicit def mongoQueryStatements (left: String) : FluidQueryOperators

    Implicit extension methods for String values (e.

    Implicit extension methods for String values (e.g. a field name) to add Mongo's query operators, minimizing the need to write long series' of nested maps.

    Mixes in the QueryOperators defined in the QueryOperators mixin. The NestedQuery implicit [Defined below] allows you to call chained operators on the return value of this method. Chained operators will place the subsequent operators within the same DBObject, e.g. "fooDate" $lte yesterday $gte tomorrow maps to a Mongo query of:{"fooDate": {"$lte": , "$gte": }}

    left

    A string which should be the field name, the left hand of the query

    returns

    Tuple2[String, DBObject] A tuple containing the field name and the mapped operator value, suitable for instantiating a Map

    attributes: implicit
    definition classes: Implicits
  85. def ne (arg0: AnyRef) : Boolean

    o.ne(arg0) is the same as !(o.eq(arg0)).

    o.ne(arg0) is the same as !(o.eq(arg0)).

    arg0

    the object to compare against this object for reference dis-equality.

    returns

    false if the argument is not a reference to the receiver object; true otherwise.

    attributes: final
    definition classes: AnyRef
  86. def notify () : Unit

    Wakes up a single thread that is waiting on the receiver object's monitor.

    Wakes up a single thread that is waiting on the receiver object's monitor.

    attributes: final
    definition classes: AnyRef
  87. def notifyAll () : Unit

    Wakes up all threads that are waiting on the receiver object's monitor.

    Wakes up all threads that are waiting on the receiver object's monitor.

    attributes: final
    definition classes: AnyRef
  88. def synchronized [T0] (arg0: T0) : T0

    attributes: final
    definition classes: AnyRef
  89. def toString () : String

    Returns a string representation of the object.

    Returns a string representation of the object.

    The default representation is platform dependent.

    returns

    a string representation of the object.

    definition classes: AnyRef → Any
  90. implicit def tupleToGeoCoords [A, B] (coords: (A, B))(implicit arg0: ValidNumericType[A], arg1: Manifest[A], arg2: ValidNumericType[B], arg3: Manifest[B]) : GeoCoords[A, B]

    attributes: implicit
    definition classes: Implicits
  91. implicit def unwrapDBList (in: MongoDBList) : BasicDBList

    attributes: implicit
    definition classes: Implicits
  92. implicit def unwrapDBObj (in: MongoDBObject) : DBObject

    attributes: implicit
    definition classes: Implicits
  93. def wait () : Unit

    attributes: final
    definition classes: AnyRef
  94. def wait (arg0: Long, arg1: Int) : Unit

    attributes: final
    definition classes: AnyRef
  95. def wait (arg0: Long) : Unit

    attributes: final
    definition classes: AnyRef
  96. implicit def wrapDBList (in: BasicDBList) : MongoDBList

    attributes: implicit
    definition classes: Implicits
  97. implicit def wrapDBObj (in: DBObject) : MongoDBObject

    attributes: implicit
    definition classes: Implicits

Inherited from ValidDateOrNumericTypeHolder

Inherited from ValidNumericTypeHolder

Inherited from ValidDateTypeHolder

Inherited from ValidBarewordExpressionArgTypeHolder

Inherited from Exports

Inherited from Imports

Inherited from Implicits

Inherited from TypeImports

Inherited from BaseImports

Inherited from Implicits

Inherited from TypeImports

Inherited from BaseImports

Inherited from FluidQueryBarewordOps

Inherited from BitOp

Inherited from BitOpBase

Inherited from NorOp

Inherited from NorOpBase

Inherited from ArrayOps

Inherited from PullAllOp

Inherited from PullAllOpBase

Inherited from PullOp

Inherited from PullOpBase

Inherited from PopOp

Inherited from PopOpBase

Inherited from AddToSetOp

Inherited from AddToSetOpBase

Inherited from PushAllOp

Inherited from PushAllOpBase

Inherited from PushOp

Inherited from PushOpBase

Inherited from RenameOp

Inherited from RenameOpBase

Inherited from AndOp

Inherited from AndOpBase

Inherited from OrOp

Inherited from OrOpBase

Inherited from IncOp

Inherited from IncOpBase

Inherited from UnsetOp

Inherited from UnsetOpBase

Inherited from SetOp

Inherited from SetOpBase

Inherited from BarewordQueryOperator

Inherited from AnyRef

Inherited from Any