Uses of Interface
com.mongodb.async.client.MongoDatabase
-
Packages that use MongoDatabase Package Description com.mongodb.async.client This packages contains classes for the new async clientcom.mongodb.async.client.gridfs Contains the classes for supporting MongoDB's specification for storing very large files, GridFS. -
-
Uses of MongoDatabase in com.mongodb.async.client
Methods in com.mongodb.async.client that return MongoDatabase Modifier and Type Method Description MongoDatabase
MongoClient. getDatabase(String name)
Deprecated.Gets the database with the given name.MongoDatabase
MongoDatabase. withCodecRegistry(CodecRegistry codecRegistry)
Deprecated.Create a new MongoDatabase instance with a different codec registry.MongoDatabase
MongoDatabase. withReadConcern(ReadConcern readConcern)
Deprecated.Create a new MongoDatabase instance with a different read concern.MongoDatabase
MongoDatabase. withReadPreference(ReadPreference readPreference)
Deprecated.Create a new MongoDatabase instance with a different read preference.MongoDatabase
MongoDatabase. withWriteConcern(WriteConcern writeConcern)
Deprecated.Create a new MongoDatabase instance with a different write concern. -
Uses of MongoDatabase in com.mongodb.async.client.gridfs
Methods in com.mongodb.async.client.gridfs with parameters of type MongoDatabase Modifier and Type Method Description static GridFSBucket
GridFSBuckets. create(MongoDatabase database)
Deprecated.Create a new GridFS bucket with the default'fs'
bucket namestatic GridFSBucket
GridFSBuckets. create(MongoDatabase database, String bucketName)
Deprecated.Create a new GridFS bucket with a custom bucket name
-