Package | Description |
---|---|
com.mongodb.async.client |
This packages contains classes for the new async client
|
Modifier and Type | Method and Description |
---|---|
MongoDatabase |
MongoClient.getDatabase(String name)
Gets the database with the given name.
|
MongoDatabase |
MongoDatabase.withCodecRegistry(CodecRegistry codecRegistry)
Create a new MongoDatabase instance with a different codec registry.
|
MongoDatabase |
MongoDatabase.withReadConcern(ReadConcern readConcern)
Create a new MongoDatabase instance with a different read concern.
|
MongoDatabase |
MongoDatabase.withReadPreference(ReadPreference readPreference)
Create a new MongoDatabase instance with a different read preference.
|
MongoDatabase |
MongoDatabase.withWriteConcern(WriteConcern writeConcern)
Create a new MongoDatabase instance with a different write concern.
|
Copyright © 2016. All Rights Reserved.