class DatabaseProvider extends Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DatabaseProvider
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new DatabaseProvider(config: MongoConfig, registry: CodecRegistry)
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
- val 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( ... ) @native() @IntrinsicCandidate()
- def closeClient(): Unit
- def collection[A](collectionName: String)(implicit ct: ClassTag[A]): MongoCollection[A]
- 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 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[Void]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def guessDatabaseName(maybeSeparatedName: String): String
- def guessName(maybeSeparatedName: String): String
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- 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
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- val registry: CodecRegistry
- def runCommand(document: Document, databaseName: String = DefaultDatabaseName): SingleObservable[Document]
-
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( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated