Object/Trait

com.mongodb.casbah.query

Imports

Related Docs: trait Imports | package query

Permalink

object Imports extends Imports with commons.Imports

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Imports
  2. Imports
  3. Implicits
  4. TypeImports
  5. BaseImports
  6. Imports
  7. ValidDateOrNumericTypeHolder
  8. ValidNumericTypeHolder
  9. ValidDateTypeHolder
  10. ValidBarewordExpressionArgTypeHolder
  11. FluidQueryBarewordOps
  12. CurrentDateOp
  13. SearchOp
  14. WhereOp
  15. BitOp
  16. NorOp
  17. ArrayOps
  18. PullAllOp
  19. PullOp
  20. PopOp
  21. AddToSetOp
  22. PushAllOp
  23. PushOp
  24. RenameOp
  25. AndOp
  26. OrOp
  27. MaxOp
  28. IncOp
  29. UnsetOp
  30. SetOnInsertOp
  31. SetOp
  32. BarewordQueryOperator
  33. Implicits
  34. TypeImports
  35. BaseImports
  36. AnyRef
  37. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. type AsQueryParam[T] = query.AsQueryParam[T]

    Permalink
    Definition Classes
    TypeImports
  2. type BSONTimestamp = org.bson.types.BSONTimestamp

    Permalink
    Definition Classes
    TypeImports
  3. type BasicDBList = mongodb.BasicDBList

    Permalink
    Definition Classes
    TypeImports
  4. type BasicDBObject = mongodb.BasicDBObject

    Permalink
    Definition Classes
    TypeImports
  5. type DBObject = mongodb.DBObject

    Permalink
    Definition Classes
    TypeImports
  6. type DBRef = mongodb.DBRef

    Permalink
    Definition Classes
    TypeImports
  7. type GeoCoords = dsl.GeoCoords[_, _]

    Permalink
    Definition Classes
    TypeImports
  8. type JSFunction = String

    Permalink
    Definition Classes
    Implicits
  9. class MapWithAsDBObject extends AnyRef

    Permalink
    Definition Classes
    Implicits
  10. type MongoDBList = commons.MongoDBList

    Permalink
    Definition Classes
    TypeImports
  11. type MongoDBObject = commons.MongoDBObject

    Permalink
    Definition Classes
    TypeImports
  12. type MongoException = mongodb.MongoException

    Permalink
    Definition Classes
    TypeImports
  13. type ObjectId = org.bson.types.ObjectId

    Permalink
    Definition Classes
    TypeImports
  14. sealed class TextOpWrapper extends Imports.BasicDBObject

    Permalink
    Definition Classes
    SearchOp
  15. type ValidBarewordExpressionArgType[T] = query.ValidBarewordExpressionArgType[T]

    Permalink
    Definition Classes
    TypeImports
  16. type ValidDateOrNumericType[T] = query.ValidDateOrNumericType[T]

    Permalink
    Definition Classes
    TypeImports
  17. type ValidDateType[T] = query.ValidDateType[T]

    Permalink
    Definition Classes
    TypeImports
  18. type ValidNumericType[T] = query.ValidNumericType[T]

    Permalink
    Definition Classes
    TypeImports

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def $addToSet(field: String): AnyRef { def $each[A](target: A*)(implicit evidence$7: com.mongodb.casbah.query.Imports.AsQueryParam[A]): com.mongodb.casbah.query.Imports.DBObject }

    Permalink
    Definition Classes
    AddToSetOp
  4. def $addToSet[A](fields: (String, A)*): DBObject

    Permalink
    Definition Classes
    AddToSetOp
  5. def $addToSet[T](arg: T)(implicit arg0: (T) ⇒ DBObject): DBObject

    Permalink
    Definition Classes
    AddToSetOp
  6. def $and: NestedBarewordListOperator

    Permalink
    Definition Classes
    AndOp
  7. def $bit(field: String): AnyRef { ... /* 2 definitions in type refinement */ }

    Permalink
    Definition Classes
    BitOp
  8. def $currentDate(fields: (String, String)*): DBObject

    Permalink
    Definition Classes
    CurrentDateOp
  9. def $inc[T](args: (String, T)*)(implicit arg0: ValidNumericType[T]): DBObject

    Permalink
    Definition Classes
    IncOp
  10. def $max[T](args: (String, T)*)(implicit arg0: ValidNumericType[T]): DBObject

    Permalink
    Definition Classes
    MaxOp
  11. def $nor: NestedBarewordListOperator

    Permalink
    Definition Classes
    NorOp
  12. def $or: NestedBarewordListOperator

    Permalink
    Definition Classes
    OrOp
  13. def $pop[T](args: (String, T)*)(implicit arg0: ValidNumericType[T]): DBObject

    Permalink
    Definition Classes
    PopOp
  14. def $pull(inner: DBObject): DBObject

    Permalink
    Definition Classes
    PullOp
  15. def $pull(inner: ⇒ DBObject): DBObject

    Permalink
    Definition Classes
    PullOp
  16. def $pull[A](fields: (String, A)*): DBObject

    Permalink
    Definition Classes
    PullOp
  17. def $pullAll[A](args: (String, A)*)(implicit arg0: AsQueryParam[A]): DBObject

    Permalink
    Definition Classes
    PullAllOp
  18. def $push(field: String): AnyRef { def $each[A](target: A*)(implicit evidence$4: com.mongodb.casbah.query.Imports.AsQueryParam[A]): com.mongodb.casbah.query.Imports.DBObject }

    Permalink
    Definition Classes
    PushOp
  19. def $push[A](fields: (String, A)*): DBObject

    Permalink
    Definition Classes
    PushOp
  20. def $pushAll[A](args: (String, A)*)(implicit arg0: AsQueryParam[A]): DBObject

    Permalink
    Definition Classes
    PushAllOp
  21. def $rename[A](fields: (String, A)*): DBObject

    Permalink
    Definition Classes
    RenameOp
  22. def $set[A](fields: (String, A)*): DBObject

    Permalink
    Definition Classes
    SetOp
  23. def $setOnInsert[A](fields: (String, A)*): DBObject

    Permalink
    Definition Classes
    SetOnInsertOp
  24. def $text(searchTerm: String): TextOpWrapper

    Permalink
    Definition Classes
    SearchOp
  25. def $unset(args: String*): DBObject

    Permalink
    Definition Classes
    UnsetOp
  26. def $where(target: JSFunction): DBObject

    Permalink
    Definition Classes
    WhereOp
  27. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  28. val AsQueryParam: query.AsQueryParam.type

    Permalink
    Definition Classes
    BaseImports
  29. implicit object ByteDoNOk extends ValidDateOrNumericType[Byte]

    Permalink
    Definition Classes
    ValidDateOrNumericTypeHolder
  30. implicit object ByteOk extends ByteOk

    Permalink
    Definition Classes
    ValidNumericTypeHolder
  31. implicit object ConcreteDBObjectOk extends ConcreteDBObject

    Permalink
  32. implicit object CoreOperatorResultObjOk extends CoreOperatorResultObj

    Permalink
  33. val DBList: commons.MongoDBList.type

    Permalink
    Definition Classes
    BaseImports
  34. val DBObject: commons.MongoDBObject.type

    Permalink
    Definition Classes
    BaseImports
  35. implicit object DoubleDoNOk extends ValidDateOrNumericType[Double]

    Permalink
    Definition Classes
    ValidDateOrNumericTypeHolder
  36. implicit object DoubleOk extends DoubleOk

    Permalink
    Definition Classes
    ValidNumericTypeHolder
  37. implicit object FloatDoNOk extends ValidDateOrNumericType[Float]

    Permalink
    Definition Classes
    ValidDateOrNumericTypeHolder
  38. implicit object FloatOk extends FloatOk

    Permalink
    Definition Classes
    ValidNumericTypeHolder
  39. val GeoCoords: dsl.GeoCoords.type

    Permalink
    Definition Classes
    BaseImports
  40. implicit object IntDoNOk extends ValidDateOrNumericType[Int]

    Permalink
    Definition Classes
    ValidDateOrNumericTypeHolder
  41. implicit object IntOk extends IntOk

    Permalink
    Definition Classes
    ValidNumericTypeHolder
  42. implicit object JDKDateDoNOk extends ValidDateOrNumericType[Date]

    Permalink
    Definition Classes
    ValidDateOrNumericTypeHolder
  43. implicit object JDKDateOk extends JDKDateOk

    Permalink
    Definition Classes
    ValidDateTypeHolder
  44. implicit object JodaDateTimeDoNOk extends ValidDateOrNumericType[DateTime]

    Permalink
    Definition Classes
    ValidDateOrNumericTypeHolder
  45. implicit object JodaDateTimeOk extends JodaDateTimeOk

    Permalink
    Definition Classes
    ValidDateTypeHolder
  46. implicit object LongDoNOk extends ValidDateOrNumericType[Long]

    Permalink
    Definition Classes
    ValidDateOrNumericTypeHolder
  47. implicit object LongOk extends LongOk

    Permalink
    Definition Classes
    ValidNumericTypeHolder
  48. val MongoDBList: commons.MongoDBList.type

    Permalink
    Definition Classes
    BaseImports
  49. val MongoDBObject: commons.MongoDBObject.type

    Permalink
    Definition Classes
    BaseImports
  50. implicit object ShortDoNOk extends ValidDateOrNumericType[Short]

    Permalink
    Definition Classes
    ValidDateOrNumericTypeHolder
  51. implicit object ShortOk extends ShortOk

    Permalink
    Definition Classes
    ValidNumericTypeHolder
  52. def apply[A](oper: String)(fields: Seq[(String, A)]): DBObject

    Permalink
    Definition Classes
    BarewordQueryOperator
  53. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  61. implicit def kvPairOk[A]: KVPair[A]

    Permalink
  62. implicit def map2MongoDBObject(map: Map[String, Any]): mongodb.DBObject

    Permalink
    Definition Classes
    Implicits
  63. implicit def mapAsDBObject(map: Map[String, Any]): MapWithAsDBObject

    Permalink

    Implicit extension methods for Scala Map[String, Any] to convert to Mongo DBObject instances.

    Implicit extension methods for Scala Map[String, Any] to convert to Mongo DBObject instances. Does not currently convert nested values.

    map

    A map of [String, Any]

    Definition Classes
    Implicits
  64. implicit def mongoNestedDBObjectQueryStatements(nested: commons.Imports.DBObject with QueryExpressionObject): ValueTestFluidQueryOperators

    Permalink

    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

    Definition Classes
    Implicits
  65. implicit def mongoQueryStatements(left: String): FluidQueryOperators

    Permalink

    Implicit extension methods for String values (e.g.

    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

    Definition Classes
    Implicits
  66. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  69. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  71. implicit def tupleToGeoCoords[A, B](coords: (A, B))(implicit arg0: query.ValidNumericType[A], arg1: Manifest[A], arg2: query.ValidNumericType[B], arg3: Manifest[B]): dsl.GeoCoords[A, B]

    Permalink
    Definition Classes
    Implicits
  72. implicit def unwrapDBList(in: commons.MongoDBList): mongodb.BasicDBList

    Permalink
    Definition Classes
    Implicits
  73. implicit def unwrapDBObj(in: commons.MongoDBObject): mongodb.DBObject

    Permalink
    Definition Classes
    Implicits
  74. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  77. implicit def wrapDBList(in: mongodb.BasicDBList): commons.MongoDBList

    Permalink
    Definition Classes
    Implicits
  78. implicit def wrapDBObj(in: mongodb.DBObject): commons.MongoDBObject

    Permalink
    Definition Classes
    Implicits

Inherited from commons.Imports

Inherited from commons.Implicits

Inherited from commons.TypeImports

Inherited from commons.BaseImports

Inherited from Imports

Inherited from ValidNumericTypeHolder

Inherited from ValidDateTypeHolder

Inherited from FluidQueryBarewordOps

Inherited from CurrentDateOp

Inherited from SearchOp

Inherited from WhereOp

Inherited from BitOp

Inherited from NorOp

Inherited from ArrayOps

Inherited from PullAllOp

Inherited from PullOp

Inherited from PopOp

Inherited from AddToSetOp

Inherited from PushAllOp

Inherited from PushOp

Inherited from RenameOp

Inherited from AndOp

Inherited from OrOp

Inherited from MaxOp

Inherited from IncOp

Inherited from UnsetOp

Inherited from SetOnInsertOp

Inherited from SetOp

Inherited from BarewordQueryOperator

Inherited from Implicits

Inherited from TypeImports

Inherited from BaseImports

Inherited from AnyRef

Inherited from Any

Ungrouped