Packages

object MongoDb

Object for managing the mongo databases and collections

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MongoDb
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def createCollection(db: MongoDatabase, collectionName: String): Task[Boolean]

    Create a new collection with the given name.

    Create a new collection with the given name.

    db

    the database

    collectionName

    the name for the new collection to create

    returns

    a boolean Task indicating whether the collection successfully created or not,

  7. def dropCollection(db: MongoDatabase, collectionName: String): Task[Boolean]

    Drops a collection from the database.

    Drops a collection from the database.

    db

    the database

    collectionName

    the name of the collection to drop

    returns

    a boolean Task indicating whether the collection was successfully dropped or not

  8. def dropDatabase(db: MongoDatabase): Task[Boolean]

    Drops a database.

    Drops a database.

    db

    the database to be dropped

    returns

    a boolean Task indicating whether the database was successfully dropped or not

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def existsCollection(db: MongoDatabase, collectionName: String): Task[Boolean]

    Check whether a collection exists or not.

    Check whether a collection exists or not.

    db

    the database

    collectionName

    the name of the collection

    returns

    a boolean Task indicating whether the collection exists or not,

  12. def existsDatabase(client: MongoClient, dbName: String): Task[Boolean]

    Checks whether a database exists or not.

    Checks whether a database exists or not.

    client

    the client-side representation of a MongoDB cluster.

    dbName

    the name of the database

    returns

    a boolean Task indicating whether the database exists or not

  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def listCollections(db: MongoDatabase): Observable[String]

    Lists all the collections in the given database.

    Lists all the collections in the given database.

    db

    the database

    returns

    an Observable that emits the names of all the existing collections

  18. def listDatabases(client: MongoClient): Observable[String]

    Get a list of the database names

    Get a list of the database names

    client

    the client-side representation of a MongoDB cluster.

    returns

    an Observable that emits the names of all the existing databases

  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def renameCollection(db: MongoDatabase, oldCollectionName: String, newCollectionName: String): Task[Boolean]

    Rename the collection with oldCollectionName to the newCollectionName.

    Rename the collection with oldCollectionName to the newCollectionName.

    db

    the database

    oldCollectionName

    the current (old) name of the collection

    newCollectionName

    the name (new) which the collection will be renamed to

    returns

    a boolean Task indicating whether the collection was successfully renamed or not

  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped