Interface RemoteMongoClient
-
- All Known Implementing Classes:
RemoteMongoClientImpl
public interface RemoteMongoClient
The remote MongoClient used for working with data in MongoDB remotely via Stitch.
-
-
Field Summary
Fields Modifier and Type Field Description static NamedServiceClientFactory<RemoteMongoClient>
factory
-
Method Summary
Modifier and Type Method Description RemoteMongoDatabase
getDatabase(String databaseName)
Gets aRemoteMongoDatabase
instance for the given database name.
-
-
-
Field Detail
-
factory
static final NamedServiceClientFactory<RemoteMongoClient> factory
-
-
Method Detail
-
getDatabase
RemoteMongoDatabase getDatabase(String databaseName)
Gets aRemoteMongoDatabase
instance for the given database name.- Parameters:
databaseName
- the name of the database to retrieve- Returns:
- a
RemoteMongoDatabase
representing the specified database
-
-