Package | Description |
---|---|
com.mongodb.async.client |
This packages contains classes for the new async client
|
Modifier and Type | Method and Description |
---|---|
ListDatabasesIterable<T> |
ListDatabasesIterable.batchSize(int batchSize)
Sets the number of documents to return per batch.
|
ListDatabasesIterable<T> |
ListDatabasesIterable.filter(Bson filter)
Sets the query filter to apply to the returned database names.
|
ListDatabasesIterable<Document> |
MongoClient.listDatabases()
Gets the list of databases
|
<TResult> ListDatabasesIterable<TResult> |
MongoClient.listDatabases(Class<TResult> resultClass)
Gets the list of databases
|
ListDatabasesIterable<Document> |
MongoClient.listDatabases(ClientSession clientSession)
Gets the list of databases
|
<TResult> ListDatabasesIterable<TResult> |
MongoClient.listDatabases(ClientSession clientSession,
Class<TResult> resultClass)
Gets the list of databases
|
ListDatabasesIterable<T> |
ListDatabasesIterable.maxTime(long maxTime,
TimeUnit timeUnit)
Sets the maximum execution time on the server for this operation.
|
ListDatabasesIterable<T> |
ListDatabasesIterable.nameOnly(Boolean nameOnly)
Sets the nameOnly flag that indicates whether the command should return just the database names or return the database names and
size information.
|
Copyright © 2018. All rights reserved.