Packages

abstract class MongoDatabase[F[_]] extends AnyRef

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

Instance Constructors

  1. new MongoDatabase()

Abstract Value Members

  1. abstract def codecs: CodecRegistry
  2. abstract def createCollection(name: String, options: CreateCollectionOptions): F[Unit]
  3. abstract def drop(clientSession: ClientSession[F]): F[Unit]

    Drops this database.

    Drops this database.

    clientSession

    the client session with which to associate this operation https://docs.mongodb.com/manual/reference/method/db.dropDatabase/

    Since

    1.7

  4. abstract def drop: F[Unit]

    Drops this database.

  5. abstract def getCollection[T](name: String, codecRegistry: CodecRegistry)(implicit arg0: ClassTag[T]): F[MongoCollection[F, T]]
  6. abstract def listCollectionNames(session: ClientSession[F]): F[Iterable[String]]
  7. abstract def listCollectionNames: F[Iterable[String]]
  8. abstract def listCollections[T](session: ClientSession[F])(implicit arg0: ClassTag[T]): F[Iterable[T]]
  9. abstract def listCollections[T](implicit arg0: ClassTag[T]): F[Iterable[T]]
  10. abstract def name: String
  11. abstract def readConcern: ReadConcern
  12. abstract def readPreference: ReadPreference
  13. abstract def runCommandWithCodec[T](command: Bson, readPreference: ReadPreference)(implicit arg0: ClassTag[T], arg1: MongoCodecProvider[T]): F[T]
  14. abstract def runCommandWithCodec[T](session: ClientSession[F], command: Bson, readPreference: ReadPreference)(implicit arg0: ClassTag[T], arg1: MongoCodecProvider[T]): F[T]

    Executes command in the context of the current database.

    Executes command in the context of the current database.

    session

    the client session with which to associate this operation

    command

    the command to be run

    readPreference

    the ReadPreference to be used when executing the command

    Since

    1.7

  15. abstract def witReadConcern(readConcern: ReadConcern): MongoDatabase[F]
  16. abstract def withAddedCodec(codecRegistry: CodecRegistry): MongoDatabase[F]
  17. abstract def withReadPreference(readPreference: ReadPreference): MongoDatabase[F]
  18. abstract def withWriteConcern(writeConcert: WriteConcern): MongoDatabase[F]
  19. abstract def writeConcern: WriteConcern

Concrete 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])
  6. def createCollection(name: String): F[Unit]
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def getCollection(name: String): F[MongoCollection[F, Document]]
  11. def getCollectionWithCodec[T](name: String)(implicit arg0: ClassTag[T], cp: MongoCodecProvider[T]): F[MongoCollection[F, T]]
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def listCollections(session: ClientSession[F]): F[Iterable[Document]]
  15. def listCollections: F[Iterable[Document]]
  16. def listCollectionsWithCodec[T](session: ClientSession[F])(implicit arg0: ClassTag[T], arg1: MongoCodecProvider[T]): F[Iterable[T]]
  17. def listCollectionsWithCodec[T](implicit arg0: ClassTag[T], arg1: MongoCodecProvider[T]): F[Iterable[T]]
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def runCommand(session: ClientSession[F], command: Bson, readPreference: ReadPreference): F[Document]
  22. def runCommand(session: ClientSession[F], command: Bson): F[Document]
  23. def runCommand(command: Bson): F[Document]
  24. def runCommand(command: Bson, readPreference: ReadPreference): F[Document]
  25. def runCommandWithCodec[T](command: Bson)(implicit arg0: ClassTag[T], arg1: MongoCodecProvider[T]): F[T]
  26. def runCommandWithCodec[T](session: ClientSession[F], command: Bson)(implicit arg0: ClassTag[T], arg1: MongoCodecProvider[T]): F[T]
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. def withAddedCodec[T](implicit arg0: ClassTag[T], cp: MongoCodecProvider[T]): MongoDatabase[F]

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped