Package | Description |
---|---|
com.mongodb |
This package is the main entry point to the MongoDB Java Driver, and it contains the classes for the existing API from 2.x versions.
|
com.mongodb.client |
This package contains client interfaces
|
Modifier and Type | Method and Description |
---|---|
ListDatabasesIterable<Document> |
MongoClient.listDatabases()
Gets the list of databases
|
<T> ListDatabasesIterable<T> |
MongoClient.listDatabases(Class<T> clazz)
Gets the list of databases
|
Modifier and Type | Method and Description |
---|---|
ListDatabasesIterable<TResult> |
ListDatabasesIterable.batchSize(int batchSize)
Sets the number of documents to return per batch.
|
ListDatabasesIterable<TResult> |
ListDatabasesIterable.maxTime(long maxTime,
TimeUnit timeUnit)
Sets the maximum execution time on the server for this operation.
|
Copyright © 2016. All Rights Reserved.