class DatabaseProvider extends Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DatabaseProvider
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new DatabaseProvider(config: MongoConfig)
Type Members
- case class DocumentDao(provider: DatabaseProvider, collectionName: String) extends MongoDAO[Document] with Product with Serializable
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def DefaultDatabaseName: String
- def addChangeObserver(observer: ChangeObserver[Document], databaseName: String = DefaultDatabaseName): ChangeObserver[Document]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bucket(bucketName: String): GridFSBucket
- def cachedCollectionNames(): List[String]
- def cachedDatabaseNames(): List[String]
- def client: MongoClient
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def closeClient(): Unit
- def collection(collectionName: String): MongoCollection[Document]
- def collectionInfos(databaseName: String = DefaultDatabaseName): List[CollectionInfo]
- def collectionNames(databaseName: String = DefaultDatabaseName): List[String]
- def collectionStatus(collectionName: String, databaseName: String = DefaultDatabaseName): Observable[CollectionStatus]
- def collections(databaseName: String = DefaultDatabaseName): ListCollectionsObservable[Document]
- def compact(maxWaitPerCollection: Int = DefaultMaxWait): List[CompactResult]
- def compactDatabase(databaseName: String = DefaultDatabaseName, maxWaitPerCollection: Int = DefaultMaxWait): List[CompactResult]
- val config: MongoConfig
- def connectionString: String
- def dao(collectionName: String): MongoDAO[Document]
- def database(databaseName: String = DefaultDatabaseName): MongoDatabase
- def databaseInfos: List[DatabaseInfo]
- def databaseNames: List[String]
- def databases: ListDatabasesObservable[Document]
- def dropDatabase(databaseName: String = DefaultDatabaseName): SingleObservable[Unit]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def guessDatabaseName(maybeSeparatedName: String): String
- def guessName(maybeSeparatedName: String): String
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def isClosed: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def runCommand(document: Document, databaseName: String = DefaultDatabaseName): SingleObservable[Document]
- def setDefaultDatabaseName(databaseName: String): Unit
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)