net.liftweb.mongodb

MongoDB

object MongoDB

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MongoDB
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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. final def ==(arg0: AnyRef): Boolean

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

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

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def closeAll(): Unit

    Calls close on each Mongo instance and clears the HashMap.

  9. def defineDb(name: ConnectionIdentifier, mngo: MongoClient, dbName: String): Unit

    Define a Mongo db using a MongoClient instance.

  10. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef → Any
  14. def getDb(name: ConnectionIdentifier): Option[DB]

  15. def hashCode(): Int

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

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

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

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

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

    Definition Classes
    AnyRef
  21. def toString(): String

    Definition Classes
    AnyRef → Any
  22. def use[T](f: (DB) ⇒ T): T

    Executes function f with the mongo named name.

    Executes function f with the mongo named name. Uses the default ConnectionIdentifier

  23. def use[T](name: ConnectionIdentifier)(f: (DB) ⇒ T): T

    Executes function f with the mongo db named name.

  24. def useCollection[T](collectionName: String)(f: (DBCollection) ⇒ T): T

    Same as above except uses DefaultConnectionIdentifier

  25. def useCollection[T](name: ConnectionIdentifier, collectionName: String)(f: (DBCollection) ⇒ T): T

    Executes function f with the mongo named name and collection names collectionName.

    Executes function f with the mongo named name and collection names collectionName. Gets a collection for you.

  26. def useSession[T](f: (DB) ⇒ T): T

    Same as above except uses DefaultConnectionIdentifier

  27. def useSession[T](name: ConnectionIdentifier)(f: (DB) ⇒ T): T

    Executes function f with the mongo db named name.

    Executes function f with the mongo db named name. Uses the same socket for the entire function block. Allows multiple operations on the same thread/socket connection and the use of getLastError. See: http://docs.mongodb.org/ecosystem/drivers/java-concurrency/

  28. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def close: Unit

    Clears HashMap of mongo instances.

    Clears HashMap of mongo instances.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.6) Use clearAll instead.

  2. def defineDb(name: ConnectionIdentifier, mngo: Mongo, dbName: String): Unit

    Annotations
    @deprecated
    Deprecated

    (Since version 2.6) Use defineDb that takes a MongoClient instance.

  3. def defineDb(name: ConnectionIdentifier, address: MongoAddress): Unit

    Annotations
    @deprecated
    Deprecated

    (Since version 2.6) Use defineDb that takes a MongoClient instance.

  4. def defineDbAuth(name: ConnectionIdentifier, mngo: Mongo, dbName: String, username: String, password: String): Unit

    Annotations
    @deprecated
    Deprecated

    (Since version 2.6) use MongoClient to supply credentials.

  5. def defineDbAuth(name: ConnectionIdentifier, address: MongoAddress, username: String, password: String): Unit

    Annotations
    @deprecated
    Deprecated

    (Since version 2.6) use MongoClient to supply credentials.

Inherited from AnyRef

Inherited from Any

Ungrouped