T
- The type of the result.public interface ListDatabasesIterable<T> extends MongoIterable<T>
Modifier and Type | Method and 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, into, map
ListDatabasesIterable<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(Bson filter)
filter
- the filter, which may be null.ListDatabasesIterable<T> nameOnly(Boolean nameOnly)
nameOnly
- the nameOnly flag, which may be nullCopyright © 2018. All rights reserved.