T - The type of the result.MongoIterable<T>public interface ListDatabasesIterable<T> extends MongoIterable<T>
| Modifier and Type | Method | Description |
|---|---|---|
ListDatabasesIterable<T> |
batchSize(int batchSize) |
Sets the number of documents to return per batch.
|
ListDatabasesIterable<T> |
filter(Bson filter) |
Sets the query filter to apply to the returned database names.
|
ListDatabasesIterable<T> |
maxTime(long maxTime,
TimeUnit timeUnit) |
Sets the maximum execution time on the server for this operation.
|
ListDatabasesIterable<T> |
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.
|
batchCursor, first, forEach, getBatchSize, into, mapListDatabasesIterable<T> maxTime(long maxTime, TimeUnit timeUnit)
maxTime - the max timetimeUnit - the time unit, which may not be nullListDatabasesIterable<T> batchSize(int batchSize)
batchSize in interface MongoIterable<T>batchSize - the batch sizeListDatabasesIterable<T> filter(@Nullable Bson filter)
filter - the filter, which may be null.ListDatabasesIterable<T> nameOnly(@Nullable Boolean nameOnly)
nameOnly - the nameOnly flag, which may be null