Package | Description |
---|---|
com.mongodb.operation |
The core of the MongoDB driver works via operations, using the command pattern.
|
Modifier and Type | Method and Description |
---|---|
ListDatabasesOperation<T> |
ListDatabasesOperation.filter(BsonDocument filter)
Sets the query filter to apply to the returned database names.
|
ListDatabasesOperation<T> |
ListDatabasesOperation.maxTime(long maxTime,
java.util.concurrent.TimeUnit timeUnit)
Sets the maximum execution time on the server for this operation.
|
ListDatabasesOperation<T> |
ListDatabasesOperation.nameOnly(java.lang.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.
|