com.mongodb.casbah

Implicits

object Implicits extends Implicits with Implicits with Implicits

Source
Implicits.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Implicits
  2. Implicits
  3. FluidQueryBarewordOps
  4. BitOp
  5. NorOp
  6. ArrayOps
  7. PullAllOp
  8. PullOp
  9. PopOp
  10. AddToSetOp
  11. PushAllOp
  12. PushOp
  13. RenameOp
  14. OrOp
  15. IncOp
  16. UnsetOp
  17. SetOp
  18. BarewordQueryOperator
  19. Logging
  20. Implicits
  21. Implicits
  22. AnyRef
  23. Any
Visibility
  1. Public
  2. All

Type Members

  1. type JSFunction = String

    Definition Classes
    Implicits

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 $addToSet : ((String, Any)*) ⇒ DBObject

    Definition Classes
    AddToSetOp
  5. def $addToSet (field: String): AnyRef { ... /* 2 definitions in type refinement */ }

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

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

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

    Definition Classes
    IncOp
  9. def $nor (inner: ⇒ DBObject): DBObject

    ValueTest enabled version

    ValueTest enabled version

    Definition Classes
    NorOp
  10. def $or (fields: (String, Any)*): DBObject

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

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

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

    ValueTest enabled version

    ValueTest enabled version

    Definition Classes
    PullOp
  14. def $pull : ((String, Any)*) ⇒ DBObject

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

    Definition Classes
    PullAllOp
  16. def $push : ((String, Any)*) ⇒ DBObject

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

    Definition Classes
    PushAllOp
  18. def $rename : ((String, Any)*) ⇒ DBObject

    Definition Classes
    RenameOp
  19. def $set : ((String, Any)*) ⇒ DBObject

    Definition Classes
    SetOp
  20. def $unset (args: String*): DBObject

    Definition Classes
    UnsetOp
  21. def == (arg0: AnyRef): Boolean

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

    Attributes
    final
    Definition Classes
    Any
  23. def apply [A] (oper: String)(fields: (String, A)*): DBObject

    Definition Classes
    BarewordQueryOperator
  24. def asInstanceOf [T0] : T0

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  26. def eq (arg0: AnyRef): Boolean

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  30. def hashCode (): Int

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

    Attributes
    final
    Definition Classes
    Any
  32. var log : Logger

    Attributes
    protected[casbah]
    Definition Classes
    Logging
  33. implicit def map2MongoDBObject (map: Map[String, Any]): DBObject

    Attributes
    implicit
    Definition Classes
    Implicits
  34. implicit def mapAsDBObject (map: Map[String, Any]): AnyRef { def asDBObject: com.mongodb.DBObject }

    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]

    Attributes
    implicit
    Definition Classes
    Implicits
  35. implicit def mongoCollAsScala (coll: DBCollection): AnyRef { ... /* 2 definitions in type refinement */ }

    Implicit extension methods for Mongo's Collection object.

    Implicit extension methods for Mongo's Collection object. Capable of returning a Scala optimized wrapper object.

    coll

    A DBCollection object to wrap

    Attributes
    implicit
    Definition Classes
    Implicits
  36. implicit def mongoConnAsScala (conn: Mongo): AnyRef { def asScala: com.mongodb.casbah.MongoConnection }

    Implicit extension methods for Mongo's connection object.

    Implicit extension methods for Mongo's connection object. Capable of returning a Scala optimized wrapper object.

    conn

    A Mongo object to wrap

    Attributes
    implicit
    Definition Classes
    Implicits
  37. implicit def mongoCursorAsScala (cursor: DBCursor): AnyRef { ... /* 2 definitions in type refinement */ }

    Implicit extension methods for Mongo's DBCursor object.

    Implicit extension methods for Mongo's DBCursor object. Capable of returning a Scala optimized wrapper object.

    cursor

    A DBCursor object to wrap

    Attributes
    implicit
    Definition Classes
    Implicits
  38. implicit def mongoDBAsScala (db: DB): AnyRef { def asScala: com.mongodb.casbah.MongoDB }

    Implicit extension methods for Mongo's DB object.

    Implicit extension methods for Mongo's DB object. Capable of returning a Scala optimized wrapper object.

    db

    A DB object to wrap

    Attributes
    implicit
    Definition Classes
    Implicits
  39. implicit def mongoNestedDBObjectQueryStatements (nested: DBObject with DSLDBObject): 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
  40. 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
  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. implicit def stringAsNamedCollectionMROutput (name: String): MapReduceStandardOutput

    Attributes
    implicit
    Definition Classes
    Implicits
  45. def synchronized [T0] (arg0: ⇒ T0): T0

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

    Definition Classes
    AnyRef → Any
  47. 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
  48. implicit def unwrapDBList (in: MongoDBList): BasicDBList

    Attributes
    implicit
    Definition Classes
    Implicits
  49. implicit def unwrapDBObj (in: MongoDBObject): DBObject

    Attributes
    implicit
    Definition Classes
    Implicits
  50. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  53. implicit def wrapDBList (in: BasicDBList): MongoDBList

    Attributes
    implicit
    Definition Classes
    Implicits
  54. implicit def wrapDBObj (in: DBObject): MongoDBObject

    Attributes
    implicit
    Definition Classes
    Implicits

Inherited from Implicits

Inherited from FluidQueryBarewordOps

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 OrOp

Inherited from IncOp

Inherited from UnsetOp

Inherited from SetOp

Inherited from BarewordQueryOperator

Inherited from Logging

Inherited from Implicits

Inherited from Implicits

Inherited from AnyRef

Inherited from Any