Package com.mongodb.async.client
Interface ListDatabasesIterable<T>
-
- Type Parameters:
T
- The type of the result.
- All Superinterfaces:
MongoIterable<T>
@Deprecated public interface ListDatabasesIterable<T> extends MongoIterable<T>
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)Iterable for ListDatabases.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ListDatabasesIterable<T>
batchSize(int batchSize)
Deprecated.Sets the number of documents to return per batch.ListDatabasesIterable<T>
filter(Bson filter)
Deprecated.Sets the query filter to apply to the returned database names.ListDatabasesIterable<T>
maxTime(long maxTime, TimeUnit timeUnit)
Deprecated.Sets the maximum execution time on the server for this operation.ListDatabasesIterable<T>
nameOnly(Boolean nameOnly)
Deprecated.Sets the nameOnly flag that indicates whether the command should return just the database names or return the database names and size information.-
Methods inherited from interface com.mongodb.async.client.MongoIterable
batchCursor, first, forEach, getBatchSize, into, map
-
-
-
-
Method Detail
-
maxTime
ListDatabasesIterable<T> maxTime(long maxTime, TimeUnit timeUnit)
Deprecated.Sets the maximum execution time on the server for this operation.- Parameters:
maxTime
- the max timetimeUnit
- the time unit, which may not be null- Returns:
- this
- MongoDB documentation
- Max Time
-
batchSize
ListDatabasesIterable<T> batchSize(int batchSize)
Deprecated.Sets the number of documents to return per batch.- Specified by:
batchSize
in interfaceMongoIterable<T>
- Parameters:
batchSize
- the batch size- Returns:
- this
- MongoDB documentation
- Batch Size
-
filter
ListDatabasesIterable<T> filter(@Nullable Bson filter)
Deprecated.Sets the query filter to apply to the returned database names.- Parameters:
filter
- the filter, which may be null.- Returns:
- this
- Since:
- 3.6
- Since server release
- 3.4.2
-
nameOnly
ListDatabasesIterable<T> nameOnly(@Nullable Boolean nameOnly)
Deprecated.Sets the nameOnly flag that indicates whether the command should return just the database names or return the database names and size information.- Parameters:
nameOnly
- the nameOnly flag, which may be null- Returns:
- this
- Since:
- 3.6
- Since server release
- 3.4.3
-
-