A B C D E F G H I J L M N O P R S T U V W
A
- abort(SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.gridfs.GridFSUploadStream
-
Deprecated.Aborts the upload and deletes any data.
- abortTransaction(SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.ClientSession
-
Deprecated.Abort a transaction in the context of this session.
- action(MapReduceAction) - Method in interface com.mongodb.async.client.MapReduceIterable
-
Deprecated.Specify the
MapReduceAction
to be used when writing to a collection. - addCommandListener(CommandListener) - Method in class com.mongodb.async.client.MongoClientSettings.Builder
-
Deprecated.Adds the given command listener.
- aggregate(ClientSession, List<? extends Bson>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Aggregates documents according to the specified aggregation pipeline.
- aggregate(ClientSession, List<? extends Bson>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Runs an aggregation framework pipeline on the database for pipeline stages that do not require an underlying collection, such as
$currentOp
and$listLocalSessions
. - aggregate(ClientSession, List<? extends Bson>, Class<TResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Aggregates documents according to the specified aggregation pipeline.
- aggregate(ClientSession, List<? extends Bson>, Class<TResult>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Runs an aggregation framework pipeline on the database for pipeline stages that do not require an underlying collection, such as
$currentOp
and$listLocalSessions
. - aggregate(List<? extends Bson>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Aggregates documents according to the specified aggregation pipeline.
- aggregate(List<? extends Bson>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Runs an aggregation framework pipeline on the database for pipeline stages that do not require an underlying collection, such as
$currentOp
and$listLocalSessions
. - aggregate(List<? extends Bson>, Class<TResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Aggregates documents according to the specified aggregation pipeline.
- aggregate(List<? extends Bson>, Class<TResult>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Runs an aggregation framework pipeline on the database for pipeline stages that do not require an underlying collection, such as
$currentOp
and$listLocalSessions
. - AggregateIterable<TResult> - Interface in com.mongodb.async.client
-
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
- allowDiskUse(Boolean) - Method in interface com.mongodb.async.client.AggregateIterable
-
Deprecated.Enables writing to temporary files.
- applicationName(String) - Method in class com.mongodb.async.client.MongoClientSettings.Builder
-
Deprecated.Sets the logical name of the application using this MongoClient.
- applyConnectionString(ConnectionString) - Method in class com.mongodb.async.client.MongoClientSettings.Builder
-
Deprecated.Takes the settings from the given
ConnectionString
and applies them to the builder - applyToClusterSettings(Block<ClusterSettings.Builder>) - Method in class com.mongodb.async.client.MongoClientSettings.Builder
-
Deprecated.Applies the
ClusterSettings.Builder
block and then sets the clusterSettings. - applyToConnectionPoolSettings(Block<ConnectionPoolSettings.Builder>) - Method in class com.mongodb.async.client.MongoClientSettings.Builder
-
Deprecated.Applies the
ConnectionPoolSettings.Builder
block and then sets the connectionPoolSettings. - applyToServerSettings(Block<ServerSettings.Builder>) - Method in class com.mongodb.async.client.MongoClientSettings.Builder
-
Deprecated.Applies the
ServerSettings.Builder
block and then sets the serverSettings. - applyToSocketSettings(Block<SocketSettings.Builder>) - Method in class com.mongodb.async.client.MongoClientSettings.Builder
-
Deprecated.Applies the
SocketSettings.Builder
block and then sets the socketSettings. - applyToSslSettings(Block<SslSettings.Builder>) - Method in class com.mongodb.async.client.MongoClientSettings.Builder
-
Deprecated.Applies the
SslSettings.Builder
block and then sets the sslSettings. - AsynchronousChannelHelper - Class in com.mongodb.async.client.gridfs.helpers
-
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
- AsyncInputStream - Interface in com.mongodb.async.client.gridfs
-
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
- AsyncOutputStream - Interface in com.mongodb.async.client.gridfs
-
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
- AsyncStreamHelper - Class in com.mongodb.async.client.gridfs.helpers
-
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
B
- batchCursor(SingleResultCallback<AsyncBatchCursor<TResult>>) - Method in interface com.mongodb.async.client.MongoIterable
-
Deprecated.Provide the underlying
AsyncBatchCursor
allowing fine grained control of the cursor. - batchSize(int) - Method in interface com.mongodb.async.client.AggregateIterable
-
Deprecated.Sets the number of documents to return per batch.
- batchSize(int) - Method in interface com.mongodb.async.client.ChangeStreamIterable
-
Deprecated.Sets the number of documents to return per batch.
- batchSize(int) - Method in interface com.mongodb.async.client.DistinctIterable
-
Deprecated.Sets the number of documents to return per batch.
- batchSize(int) - Method in interface com.mongodb.async.client.FindIterable
-
Deprecated.Sets the number of documents to return per batch.
- batchSize(int) - Method in interface com.mongodb.async.client.gridfs.GridFSDownloadStream
-
Deprecated.Sets the number of chunks to return per batch.
- batchSize(int) - Method in interface com.mongodb.async.client.gridfs.GridFSFindIterable
-
Deprecated.Sets the number of documents to return per batch.
- batchSize(int) - Method in interface com.mongodb.async.client.ListCollectionsIterable
-
Deprecated.Sets the number of documents to return per batch.
- batchSize(int) - Method in interface com.mongodb.async.client.ListDatabasesIterable
-
Deprecated.Sets the number of documents to return per batch.
- batchSize(int) - Method in interface com.mongodb.async.client.ListIndexesIterable
-
Deprecated.Sets the number of documents to return per batch.
- batchSize(int) - Method in interface com.mongodb.async.client.MapReduceIterable
-
Deprecated.Sets the number of documents to return per batch.
- batchSize(int) - Method in interface com.mongodb.async.client.MongoIterable
-
Deprecated.Sets the number of documents to return per batch.
- build() - Method in class com.mongodb.async.client.MongoClientSettings.Builder
-
Deprecated.Build an instance of
MongoClientSettings
. - builder() - Static method in class com.mongodb.async.client.MongoClientSettings
-
Deprecated.Convenience method to create a Builder.
- builder(MongoClientSettings) - Static method in class com.mongodb.async.client.MongoClientSettings
-
Deprecated.Convenience method to create a from an existing
MongoClientSettings
. - bulkWrite(ClientSession, List<? extends WriteModel<? extends TDocument>>, SingleResultCallback<BulkWriteResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Executes a mix of inserts, updates, replaces, and deletes.
- bulkWrite(ClientSession, List<? extends WriteModel<? extends TDocument>>, BulkWriteOptions, SingleResultCallback<BulkWriteResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Executes a mix of inserts, updates, replaces, and deletes.
- bulkWrite(List<? extends WriteModel<? extends TDocument>>, SingleResultCallback<BulkWriteResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Executes a mix of inserts, updates, replaces, and deletes.
- bulkWrite(List<? extends WriteModel<? extends TDocument>>, BulkWriteOptions, SingleResultCallback<BulkWriteResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Executes a mix of inserts, updates, replaces, and deletes.
- bypassDocumentValidation(Boolean) - Method in interface com.mongodb.async.client.AggregateIterable
-
Deprecated.Sets the bypass document level validation flag.
- bypassDocumentValidation(Boolean) - Method in interface com.mongodb.async.client.MapReduceIterable
-
Deprecated.Sets the bypass document level validation flag.
C
- ChangeStreamIterable<TResult> - Interface in com.mongodb.async.client
-
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
- channelToInputStream(AsynchronousByteChannel) - Static method in class com.mongodb.async.client.gridfs.helpers.AsynchronousChannelHelper
-
Deprecated.Converts a
AsynchronousByteChannel
into aAsyncInputStream
- channelToInputStream(AsynchronousFileChannel) - Static method in class com.mongodb.async.client.gridfs.helpers.AsynchronousChannelHelper
-
Deprecated.Converts a
AsynchronousFileChannel
into aAsyncInputStream
- channelToOutputStream(AsynchronousByteChannel) - Static method in class com.mongodb.async.client.gridfs.helpers.AsynchronousChannelHelper
-
Deprecated.Converts a
AsynchronousByteChannel
into aAsyncOutputStream
- channelToOutputStream(AsynchronousFileChannel) - Static method in class com.mongodb.async.client.gridfs.helpers.AsynchronousChannelHelper
-
Deprecated.Converts a
AsynchronousFileChannel
into aAsyncOutputStream
- ClientSession - Interface in com.mongodb.async.client
-
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
- close() - Method in interface com.mongodb.async.client.MongoClient
-
Deprecated.Close the client, which will close all underlying cached resources, including, for example, sockets and background monitoring threads.
- close(SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.gridfs.AsyncInputStream
-
Deprecated.Closes the input stream
- close(SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.gridfs.AsyncOutputStream
-
Deprecated.Closes the output stream
- clusterSettings(ClusterSettings) - Method in class com.mongodb.async.client.MongoClientSettings.Builder
-
Deprecated.
- codecRegistry(CodecRegistry) - Method in class com.mongodb.async.client.MongoClientSettings.Builder
-
Deprecated.Sets the codec registry
- collation(Collation) - Method in interface com.mongodb.async.client.AggregateIterable
-
Deprecated.Sets the collation options
- collation(Collation) - Method in interface com.mongodb.async.client.ChangeStreamIterable
-
Deprecated.Sets the collation options
- collation(Collation) - Method in interface com.mongodb.async.client.DistinctIterable
-
Deprecated.Sets the collation options
- collation(Collation) - Method in interface com.mongodb.async.client.FindIterable
-
Deprecated.Sets the collation options
- collation(Collation) - Method in interface com.mongodb.async.client.gridfs.GridFSFindIterable
-
Deprecated.Sets the collation options
- collation(Collation) - Method in interface com.mongodb.async.client.MapReduceIterable
-
Deprecated.Sets the collation options
- collectionName(String) - Method in interface com.mongodb.async.client.MapReduceIterable
-
Deprecated.Sets the collectionName for the output of the MapReduce
- com.mongodb.async.client - package com.mongodb.async.client
-
This packages contains classes for the new async client
- com.mongodb.async.client.gridfs - package com.mongodb.async.client.gridfs
-
Contains the classes for supporting MongoDB's specification for storing very large files, GridFS.
- com.mongodb.async.client.gridfs.helpers - package com.mongodb.async.client.gridfs.helpers
-
Contains helper classes to create
AsyncInputStream
andAsyncOutputStream
's from external sources. - comment(String) - Method in interface com.mongodb.async.client.AggregateIterable
-
Deprecated.Sets the comment to the aggregation.
- comment(String) - Method in interface com.mongodb.async.client.FindIterable
-
Deprecated.Sets the comment to the query.
- commitTransaction(SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.ClientSession
-
Deprecated.Commit a transaction in the context of this session.
- compressorList(List<MongoCompressor>) - Method in class com.mongodb.async.client.MongoClientSettings.Builder
-
Deprecated.Sets the compressors to use for compressing messages to the server.
- connectionPoolSettings(ConnectionPoolSettings) - Method in class com.mongodb.async.client.MongoClientSettings.Builder
-
Deprecated.
- count(ClientSession, SingleResultCallback<Long>) - Method in interface com.mongodb.async.client.MongoCollection
- count(ClientSession, Bson, SingleResultCallback<Long>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.
- count(ClientSession, Bson, CountOptions, SingleResultCallback<Long>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.
- count(SingleResultCallback<Long>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.
- count(Bson, SingleResultCallback<Long>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.
- count(Bson, CountOptions, SingleResultCallback<Long>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.
- countDocuments(ClientSession, SingleResultCallback<Long>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Counts the number of documents in the collection.
- countDocuments(ClientSession, Bson, SingleResultCallback<Long>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Counts the number of documents in the collection according to the given options.
- countDocuments(ClientSession, Bson, CountOptions, SingleResultCallback<Long>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Counts the number of documents in the collection according to the given options.
- countDocuments(SingleResultCallback<Long>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Counts the number of documents in the collection.
- countDocuments(Bson, SingleResultCallback<Long>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Counts the number of documents in the collection according to the given options.
- countDocuments(Bson, CountOptions, SingleResultCallback<Long>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Counts the number of documents in the collection according to the given options.
- create() - Static method in class com.mongodb.async.client.MongoClients
-
Deprecated.Creates a new client with the default connection string "mongodb://localhost".
- create(MongoClientSettings) - Static method in class com.mongodb.async.client.MongoClients
-
Deprecated.
- create(MongoClientSettings, MongoDriverInformation) - Static method in class com.mongodb.async.client.MongoClients
-
Deprecated.
- create(MongoDatabase) - Static method in class com.mongodb.async.client.gridfs.GridFSBuckets
-
Deprecated.Create a new GridFS bucket with the default
'fs'
bucket name - create(MongoDatabase, String) - Static method in class com.mongodb.async.client.gridfs.GridFSBuckets
-
Deprecated.Create a new GridFS bucket with a custom bucket name
- create(ConnectionString) - Static method in class com.mongodb.async.client.MongoClients
-
Deprecated.Create a new client with the given connection string.
- create(ConnectionString, MongoDriverInformation) - Static method in class com.mongodb.async.client.MongoClients
-
Deprecated.Create a new client with the given connection string.
- create(MongoClientSettings) - Static method in class com.mongodb.async.client.MongoClients
-
Deprecated.Create a new client with the given client settings.
- create(MongoClientSettings, MongoDriverInformation) - Static method in class com.mongodb.async.client.MongoClients
-
Deprecated.Creates a new client with the given client settings.
- create(String) - Static method in class com.mongodb.async.client.MongoClients
-
Deprecated.Create a new client with the given connection string as if by a call to
MongoClients.create(ConnectionString)
. - createCollection(ClientSession, String, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Create a new collection with the given name.
- createCollection(ClientSession, String, CreateCollectionOptions, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Create a new collection with the selected options
- createCollection(String, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Create a new collection with the given name.
- createCollection(String, CreateCollectionOptions, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Create a new collection with the selected options
- createIndex(ClientSession, Bson, SingleResultCallback<String>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Creates an index.
- createIndex(ClientSession, Bson, IndexOptions, SingleResultCallback<String>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Creates an index.
- createIndex(Bson, SingleResultCallback<String>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Creates an index.
- createIndex(Bson, IndexOptions, SingleResultCallback<String>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Creates an index.
- createIndexes(ClientSession, List<IndexModel>, SingleResultCallback<List<String>>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Create multiple indexes.
- createIndexes(ClientSession, List<IndexModel>, CreateIndexOptions, SingleResultCallback<List<String>>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Create multiple indexes.
- createIndexes(List<IndexModel>, SingleResultCallback<List<String>>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Create multiple indexes.
- createIndexes(List<IndexModel>, CreateIndexOptions, SingleResultCallback<List<String>>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Create multiple indexes.
- createView(ClientSession, String, String, List<? extends Bson>, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Creates a view with the given name, backing collection/view name, and aggregation pipeline that defines the view.
- createView(ClientSession, String, String, List<? extends Bson>, CreateViewOptions, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Creates a view with the given name, backing collection/view name, aggregation pipeline, and options that defines the view.
- createView(String, String, List<? extends Bson>, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Creates a view with the given name, backing collection/view name, and aggregation pipeline that defines the view.
- createView(String, String, List<? extends Bson>, CreateViewOptions, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Creates a view with the given name, backing collection/view name, aggregation pipeline, and options that defines the view.
- credential(MongoCredential) - Method in class com.mongodb.async.client.MongoClientSettings.Builder
-
Deprecated.Sets the credential.
- credentialList(List<MongoCredential>) - Method in class com.mongodb.async.client.MongoClientSettings.Builder
-
Deprecated.
- cursorType(CursorType) - Method in interface com.mongodb.async.client.FindIterable
-
Deprecated.Sets the cursor type.
D
- databaseName(String) - Method in interface com.mongodb.async.client.MapReduceIterable
-
Deprecated.Sets the name of the database to output into.
- delete(ClientSession, BsonValue, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Given a
id
, delete this stored file's files collection document and associated chunks from a GridFS bucket. - delete(ClientSession, ObjectId, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Given a
id
, delete this stored file's files collection document and associated chunks from a GridFS bucket. - delete(BsonValue, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Given a
id
, delete this stored file's files collection document and associated chunks from a GridFS bucket. - delete(ObjectId, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Given a
id
, delete this stored file's files collection document and associated chunks from a GridFS bucket. - deleteMany(ClientSession, Bson, SingleResultCallback<DeleteResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Removes all documents from the collection that match the given query filter.
- deleteMany(ClientSession, Bson, DeleteOptions, SingleResultCallback<DeleteResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Removes all documents from the collection that match the given query filter.
- deleteMany(Bson, SingleResultCallback<DeleteResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Removes all documents from the collection that match the given query filter.
- deleteMany(Bson, DeleteOptions, SingleResultCallback<DeleteResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Removes all documents from the collection that match the given query filter.
- deleteOne(ClientSession, Bson, SingleResultCallback<DeleteResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Removes at most one document from the collection that matches the given filter.
- deleteOne(ClientSession, Bson, DeleteOptions, SingleResultCallback<DeleteResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Removes at most one document from the collection that matches the given filter.
- deleteOne(Bson, SingleResultCallback<DeleteResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Removes at most one document from the collection that matches the given filter.
- deleteOne(Bson, DeleteOptions, SingleResultCallback<DeleteResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Removes at most one document from the collection that matches the given filter.
- distinct(ClientSession, String, Class<TResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Gets the distinct values of the specified field name.
- distinct(ClientSession, String, Bson, Class<TResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Gets the distinct values of the specified field name.
- distinct(String, Class<TResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Gets the distinct values of the specified field name.
- distinct(String, Bson, Class<TResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Gets the distinct values of the specified field name.
- DistinctIterable<TResult> - Interface in com.mongodb.async.client
-
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
- downloadToStream(ClientSession, String, AsyncOutputStream, SingleResultCallback<Long>) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Downloads the contents of the latest version of the stored file specified by
filename
and writes the contents to thedestination
Stream. - downloadToStream(ClientSession, String, AsyncOutputStream, GridFSDownloadOptions, SingleResultCallback<Long>) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Downloads the contents of the stored file specified by
filename
and by the revision inoptions
and writes the contents to thedestination
Stream. - downloadToStream(ClientSession, BsonValue, AsyncOutputStream, SingleResultCallback<Long>) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Downloads the contents of the stored file specified by
id
and writes the contents to thedestination
AsyncOutputStream. - downloadToStream(ClientSession, ObjectId, AsyncOutputStream, SingleResultCallback<Long>) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Downloads the contents of the stored file specified by
id
and writes the contents to thedestination
AsyncOutputStream. - downloadToStream(String, AsyncOutputStream, SingleResultCallback<Long>) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Downloads the contents of the latest version of the stored file specified by
filename
and writes the contents to thedestination
Stream. - downloadToStream(String, AsyncOutputStream, GridFSDownloadOptions, SingleResultCallback<Long>) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Downloads the contents of the stored file specified by
filename
and by the revision inoptions
and writes the contents to thedestination
Stream. - downloadToStream(BsonValue, AsyncOutputStream, SingleResultCallback<Long>) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Downloads the contents of the stored file specified by
id
and writes the contents to thedestination
AsyncOutputStream. - downloadToStream(ObjectId, AsyncOutputStream, SingleResultCallback<Long>) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Downloads the contents of the stored file specified by
id
and writes the contents to thedestination
AsyncOutputStream. - drop(ClientSession, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Drops the data associated with this bucket from the database.
- drop(ClientSession, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Drops this collection from the Database.
- drop(ClientSession, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Drops this database.
- drop(SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Drops the data associated with this bucket from the database.
- drop(SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Drops this collection from the Database.
- drop(SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Drops this database.
- dropIndex(ClientSession, String, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Drops the index given its name.
- dropIndex(ClientSession, String, DropIndexOptions, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Drops the index given its name.
- dropIndex(ClientSession, Bson, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Drops the index given the keys used to create it.
- dropIndex(ClientSession, Bson, DropIndexOptions, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Drops the index given the keys used to create it.
- dropIndex(String, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Drops the index given its name.
- dropIndex(String, DropIndexOptions, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Drops the index given its name.
- dropIndex(Bson, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Drops the index given the keys used to create it.
- dropIndex(Bson, DropIndexOptions, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Drops the index given the keys used to create it.
- dropIndexes(ClientSession, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Drop all the indexes on this collection, except for the default on _id.
- dropIndexes(ClientSession, DropIndexOptions, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Drop all the indexes on this collection, except for the default on _id.
- dropIndexes(SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Drop all the indexes on this collection, except for the default on _id.
- dropIndexes(DropIndexOptions, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Drop all the indexes on this collection, except for the default on _id.
E
- estimatedDocumentCount(SingleResultCallback<Long>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Gets an estimate of the count of documents in a collection using collection metadata.
- estimatedDocumentCount(EstimatedDocumentCountOptions, SingleResultCallback<Long>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Gets an estimate of the count of documents in a collection using collection metadata.
F
- filter(Bson) - Method in interface com.mongodb.async.client.DistinctIterable
-
Deprecated.Sets the query filter to apply to the query.
- filter(Bson) - Method in interface com.mongodb.async.client.FindIterable
-
Deprecated.Sets the query filter to apply to the query.
- filter(Bson) - Method in interface com.mongodb.async.client.gridfs.GridFSFindIterable
-
Deprecated.Sets the query filter to apply to the query.
- filter(Bson) - Method in interface com.mongodb.async.client.ListCollectionsIterable
-
Deprecated.Sets the query filter to apply to the query.
- filter(Bson) - Method in interface com.mongodb.async.client.ListDatabasesIterable
-
Deprecated.Sets the query filter to apply to the returned database names.
- filter(Bson) - Method in interface com.mongodb.async.client.MapReduceIterable
-
Deprecated.Sets the query filter to apply to the query.
- finalizeFunction(String) - Method in interface com.mongodb.async.client.MapReduceIterable
-
Deprecated.Sets the JavaScript function that follows the reduce method and modifies the output.
- find() - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Finds all documents in the files collection.
- find() - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Finds all documents in the collection.
- find(ClientSession) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Finds all documents in the files collection.
- find(ClientSession) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Finds all documents in the collection.
- find(ClientSession, Class<TResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Finds all documents in the collection.
- find(ClientSession, Bson) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Finds all documents in the collection that match the filter.
- find(ClientSession, Bson) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Finds all documents in the collection.
- find(ClientSession, Bson, Class<TResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Finds all documents in the collection.
- find(Class<TResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Finds all documents in the collection.
- find(Bson) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Finds all documents in the collection that match the filter.
- find(Bson) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Finds all documents in the collection.
- find(Bson, Class<TResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Finds all documents in the collection.
- FindIterable<T> - Interface in com.mongodb.async.client
-
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
- findOneAndDelete(ClientSession, Bson, SingleResultCallback<TDocument>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Atomically find a document and remove it.
- findOneAndDelete(ClientSession, Bson, FindOneAndDeleteOptions, SingleResultCallback<TDocument>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Atomically find a document and remove it.
- findOneAndDelete(Bson, SingleResultCallback<TDocument>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Atomically find a document and remove it.
- findOneAndDelete(Bson, FindOneAndDeleteOptions, SingleResultCallback<TDocument>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Atomically find a document and remove it.
- findOneAndReplace(ClientSession, Bson, TDocument, SingleResultCallback<TDocument>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Atomically find a document and replace it.
- findOneAndReplace(ClientSession, Bson, TDocument, FindOneAndReplaceOptions, SingleResultCallback<TDocument>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Atomically find a document and replace it.
- findOneAndReplace(Bson, TDocument, SingleResultCallback<TDocument>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Atomically find a document and replace it.
- findOneAndReplace(Bson, TDocument, FindOneAndReplaceOptions, SingleResultCallback<TDocument>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Atomically find a document and replace it.
- findOneAndUpdate(ClientSession, Bson, Bson, SingleResultCallback<TDocument>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Atomically find a document and update it.
- findOneAndUpdate(ClientSession, Bson, Bson, FindOneAndUpdateOptions, SingleResultCallback<TDocument>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Atomically find a document and update it.
- findOneAndUpdate(Bson, Bson, SingleResultCallback<TDocument>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Atomically find a document and update it.
- findOneAndUpdate(Bson, Bson, FindOneAndUpdateOptions, SingleResultCallback<TDocument>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Atomically find a document and update it.
- first(SingleResultCallback<TResult>) - Method in interface com.mongodb.async.client.MongoIterable
-
Deprecated.Helper to return the first item in the iterator or null.
- forEach(Block<? super TResult>, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoIterable
-
Deprecated.Iterates over all documents in the view, applying the given block to each, and completing the returned future after all documents have been iterated, or an exception has occurred.
- fullDocument(FullDocument) - Method in interface com.mongodb.async.client.ChangeStreamIterable
-
Deprecated.Sets the fullDocument value.
G
- getApplicationName() - Method in class com.mongodb.async.client.MongoClientSettings
-
Deprecated.Gets the logical name of the application using this MongoClient.
- getBatchSize() - Method in interface com.mongodb.async.client.MongoIterable
-
Deprecated.Gets the number of documents to return per batch or null if not set.
- getBucketName() - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.The bucket name.
- getChunkSizeBytes() - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Sets the chunk size in bytes.
- getClusterSettings() - Method in class com.mongodb.async.client.MongoClientSettings
-
Deprecated.Gets the cluster settings.
- getCodecRegistry() - Method in class com.mongodb.async.client.MongoClientSettings
-
Deprecated.The codec registry to use.
- getCodecRegistry() - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Get the codec registry for the MongoCollection.
- getCodecRegistry() - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Get the codec registry for the MongoDatabase.
- getCollection(String) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Gets a collection.
- getCollection(String, Class<TDocument>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Gets a collection, with a specific default document class.
- getCommandListeners() - Method in class com.mongodb.async.client.MongoClientSettings
-
Deprecated.Gets the list of added
CommandListener
. - getCompressorList() - Method in class com.mongodb.async.client.MongoClientSettings
-
Deprecated.Gets the compressors to use for compressing messages to the server.
- getConnectionPoolSettings() - Method in class com.mongodb.async.client.MongoClientSettings
-
Deprecated.Gets the settings for the connection provider in a settings object.
- getCredential() - Method in class com.mongodb.async.client.MongoClientSettings
-
Deprecated.Gets the credential.
- getCredentialList() - Method in class com.mongodb.async.client.MongoClientSettings
-
Deprecated.
- getDatabase(String) - Method in interface com.mongodb.async.client.MongoClient
-
Deprecated.Gets the database with the given name.
- getDefaultCodecRegistry() - Static method in class com.mongodb.async.client.MongoClients
-
Deprecated.Gets the default codec registry.
- getDisableMD5() - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Returns true if computing MD5 checksums when uploading files is disabled.
- getDocumentClass() - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Get the class of documents stored in this collection.
- getGridFSFile(SingleResultCallback<GridFSFile>) - Method in interface com.mongodb.async.client.gridfs.GridFSDownloadStream
-
Deprecated.Gets the corresponding
GridFSFile
for the file being downloaded - getHeartbeatSocketSettings() - Method in class com.mongodb.async.client.MongoClientSettings
-
Deprecated.Gets the connection settings for the heartbeat thread (the background task that checks the state of the cluster) wrapped in a settings object.
- getId() - Method in interface com.mongodb.async.client.gridfs.GridFSUploadStream
-
Deprecated.The
BsonValue
id for this file. - getName() - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Gets the name of the database.
- getNamespace() - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Gets the namespace of this collection.
- getObjectId() - Method in interface com.mongodb.async.client.gridfs.GridFSUploadStream
-
Deprecated.Gets the
ObjectId
for the file to be uploaded Throws aMongoGridFSException
if the file id is not an ObjectId. - getReadConcern() - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Get the read concern for the GridFSBucket.
- getReadConcern() - Method in class com.mongodb.async.client.MongoClientSettings
-
Deprecated.The read concern to use.
- getReadConcern() - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Get the read concern for the MongoCollection.
- getReadConcern() - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Get the read concern for the MongoDatabase.
- getReadPreference() - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Get the read preference for the GridFSBucket.
- getReadPreference() - Method in class com.mongodb.async.client.MongoClientSettings
-
Deprecated.The read preference to use for queries, map-reduce, aggregation, and count.
- getReadPreference() - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Get the read preference for the MongoCollection.
- getReadPreference() - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Get the read preference for the MongoDatabase.
- getRetryWrites() - Method in class com.mongodb.async.client.MongoClientSettings
-
Deprecated.Returns true if writes should be retried if they fail due to a network error.
- getServerSettings() - Method in class com.mongodb.async.client.MongoClientSettings
-
Deprecated.Gets the server-specific settings wrapped in a settings object.
- getSettings() - Method in interface com.mongodb.async.client.MongoClient
-
Deprecated.this method is being removed
- getSocketSettings() - Method in class com.mongodb.async.client.MongoClientSettings
-
Deprecated.Gets the connection-specific settings wrapped in a settings object.
- getSslSettings() - Method in class com.mongodb.async.client.MongoClientSettings
-
Deprecated.Gets the SSL settings.
- getStreamFactoryFactory() - Method in class com.mongodb.async.client.MongoClientSettings
-
Deprecated.Gets the factory to use to create a
StreamFactory
. - getTransactionOptions() - Method in interface com.mongodb.async.client.ClientSession
-
Deprecated.Gets the transaction options.
- getWriteConcern() - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Get the write concern for the GridFSBucket.
- getWriteConcern() - Method in class com.mongodb.async.client.MongoClientSettings
-
Deprecated.The write concern to use.
- getWriteConcern() - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Get the write concern for the MongoCollection.
- getWriteConcern() - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Get the write concern for the MongoDatabase.
- GridFSBucket - Interface in com.mongodb.async.client.gridfs
-
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
- GridFSBuckets - Class in com.mongodb.async.client.gridfs
-
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
- GridFSDownloadStream - Interface in com.mongodb.async.client.gridfs
-
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
- GridFSFindIterable - Interface in com.mongodb.async.client.gridfs
-
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
- GridFSUploadStream - Interface in com.mongodb.async.client.gridfs
-
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
H
- hasActiveTransaction() - Method in interface com.mongodb.async.client.ClientSession
-
Deprecated.Returns true if there is an active transaction on this session, and false otherwise
- heartbeatSocketSettings(SocketSettings) - Method in class com.mongodb.async.client.MongoClientSettings.Builder
-
Deprecated.configuring heartbeatSocketSettings will be removed in the future.
- hint(Bson) - Method in interface com.mongodb.async.client.AggregateIterable
-
Deprecated.Sets the hint for which index to use.
- hint(Bson) - Method in interface com.mongodb.async.client.FindIterable
-
Deprecated.Sets the hint for which index to use.
I
- insertMany(ClientSession, List<? extends TDocument>, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Inserts one or more documents.
- insertMany(ClientSession, List<? extends TDocument>, InsertManyOptions, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Inserts one or more documents.
- insertMany(List<? extends TDocument>, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Inserts one or more documents.
- insertMany(List<? extends TDocument>, InsertManyOptions, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Inserts one or more documents.
- insertOne(ClientSession, TDocument, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Inserts the provided document.
- insertOne(ClientSession, TDocument, InsertOneOptions, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Inserts the provided document.
- insertOne(TDocument, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Inserts the provided document.
- insertOne(TDocument, InsertOneOptions, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Inserts the provided document.
- into(A, SingleResultCallback<A>) - Method in interface com.mongodb.async.client.MongoIterable
-
Deprecated.Iterates over all the documents, adding each to the given target.
- isUnsubscribed() - Method in interface com.mongodb.async.client.Subscription
-
Deprecated.Indicates whether this
Subscription
is currently unsubscribed.
J
- jsMode(boolean) - Method in interface com.mongodb.async.client.MapReduceIterable
-
Deprecated.Sets the flag that specifies whether to convert intermediate data into BSON format between the execution of the map and reduce functions.
L
- limit(int) - Method in interface com.mongodb.async.client.FindIterable
-
Deprecated.Sets the limit to apply.
- limit(int) - Method in interface com.mongodb.async.client.gridfs.GridFSFindIterable
-
Deprecated.Sets the limit to apply.
- limit(int) - Method in interface com.mongodb.async.client.MapReduceIterable
-
Deprecated.Sets the limit to apply.
- listCollectionNames() - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Gets the names of all the collections in this database.
- listCollectionNames(ClientSession) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Gets the names of all the collections in this database.
- listCollections() - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Finds all the collections in this database.
- listCollections(ClientSession) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Finds all the collections in this database.
- listCollections(ClientSession, Class<TResult>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Finds all the collections in this database.
- listCollections(Class<TResult>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Finds all the collections in this database.
- ListCollectionsIterable<TResult> - Interface in com.mongodb.async.client
-
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
- listDatabaseNames() - Method in interface com.mongodb.async.client.MongoClient
-
Deprecated.Get a list of the database names
- listDatabaseNames(ClientSession) - Method in interface com.mongodb.async.client.MongoClient
-
Deprecated.Get a list of the database names
- listDatabases() - Method in interface com.mongodb.async.client.MongoClient
-
Deprecated.Gets the list of databases
- listDatabases(ClientSession) - Method in interface com.mongodb.async.client.MongoClient
-
Deprecated.Gets the list of databases
- listDatabases(ClientSession, Class<TResult>) - Method in interface com.mongodb.async.client.MongoClient
-
Deprecated.Gets the list of databases
- listDatabases(Class<TResult>) - Method in interface com.mongodb.async.client.MongoClient
-
Deprecated.Gets the list of databases
- ListDatabasesIterable<T> - Interface in com.mongodb.async.client
-
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
- listIndexes() - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Get all the indexes in this collection.
- listIndexes(ClientSession) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Get all the indexes in this collection.
- listIndexes(ClientSession, Class<TResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Get all the indexes in this collection.
- listIndexes(Class<TResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Get all the indexes in this collection.
- ListIndexesIterable<TResult> - Interface in com.mongodb.async.client
-
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
M
- map(Function<TResult, U>) - Method in interface com.mongodb.async.client.MongoIterable
-
Deprecated.Maps this iterable from the source document type to the target document type.
- mapReduce(ClientSession, String, String) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Aggregates documents according to the specified map-reduce function.
- mapReduce(ClientSession, String, String, Class<TResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Aggregates documents according to the specified map-reduce function.
- mapReduce(String, String) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Aggregates documents according to the specified map-reduce function.
- mapReduce(String, String, Class<TResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Aggregates documents according to the specified map-reduce function.
- MapReduceIterable<TResult> - Interface in com.mongodb.async.client
-
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
- max(Bson) - Method in interface com.mongodb.async.client.FindIterable
-
Deprecated.Sets the exclusive upper bound for a specific index.
- maxAwaitTime(long, TimeUnit) - Method in interface com.mongodb.async.client.AggregateIterable
-
Deprecated.The maximum amount of time for the server to wait on new documents to satisfy a
$changeStream
aggregation. - maxAwaitTime(long, TimeUnit) - Method in interface com.mongodb.async.client.ChangeStreamIterable
-
Deprecated.Sets the maximum await execution time on the server for this operation.
- maxAwaitTime(long, TimeUnit) - Method in interface com.mongodb.async.client.FindIterable
-
Deprecated.The maximum amount of time for the server to wait on new documents to satisfy a tailable cursor query.
- maxScan(long) - Method in interface com.mongodb.async.client.FindIterable
-
Deprecated.Deprecated as of MongoDB 4.0 release
- maxTime(long, TimeUnit) - Method in interface com.mongodb.async.client.AggregateIterable
-
Deprecated.Sets the maximum execution time on the server for this operation.
- maxTime(long, TimeUnit) - Method in interface com.mongodb.async.client.DistinctIterable
-
Deprecated.Sets the maximum execution time on the server for this operation.
- maxTime(long, TimeUnit) - Method in interface com.mongodb.async.client.FindIterable
-
Deprecated.Sets the maximum execution time on the server for this operation.
- maxTime(long, TimeUnit) - Method in interface com.mongodb.async.client.gridfs.GridFSFindIterable
-
Deprecated.Sets the maximum execution time on the server for this operation.
- maxTime(long, TimeUnit) - Method in interface com.mongodb.async.client.ListCollectionsIterable
-
Deprecated.Sets the maximum execution time on the server for this operation.
- maxTime(long, TimeUnit) - Method in interface com.mongodb.async.client.ListDatabasesIterable
-
Deprecated.Sets the maximum execution time on the server for this operation.
- maxTime(long, TimeUnit) - Method in interface com.mongodb.async.client.ListIndexesIterable
-
Deprecated.Sets the maximum execution time on the server for this operation.
- maxTime(long, TimeUnit) - Method in interface com.mongodb.async.client.MapReduceIterable
-
Deprecated.Sets the maximum execution time on the server for this operation.
- min(Bson) - Method in interface com.mongodb.async.client.FindIterable
-
Deprecated.Sets the minimum inclusive lower bound for a specific index.
- modifiers(Bson) - Method in interface com.mongodb.async.client.FindIterable
-
Deprecated.use the individual setters instead
- MongoClient - Interface in com.mongodb.async.client
-
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
- MongoClients - Class in com.mongodb.async.client
-
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
- MongoClientSettings - Class in com.mongodb.async.client
-
Deprecated.use
MongoClientSettings
instead - MongoClientSettings.Builder - Class in com.mongodb.async.client
-
Deprecated.A builder for
MongoClientSettings
so thatMongoClientSettings
can be immutable, and to support easier construction through chaining. - MongoCollection<TDocument> - Interface in com.mongodb.async.client
-
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
- MongoDatabase - Interface in com.mongodb.async.client
-
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
- MongoIterable<TResult> - Interface in com.mongodb.async.client
-
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
N
- nameOnly(Boolean) - Method in interface com.mongodb.async.client.ListDatabasesIterable
-
Deprecated.Sets the nameOnly flag that indicates whether the command should return just the database names or return the database names and size information.
- noCursorTimeout(boolean) - Method in interface com.mongodb.async.client.FindIterable
-
Deprecated.The server normally times out idle cursors after an inactivity period (10 minutes) to prevent excess memory use.
- noCursorTimeout(boolean) - Method in interface com.mongodb.async.client.gridfs.GridFSFindIterable
-
Deprecated.The server normally times out idle cursors after an inactivity period (10 minutes) to prevent excess memory use.
- nonAtomic(boolean) - Method in interface com.mongodb.async.client.MapReduceIterable
-
Deprecated.Sets if the post-processing step will prevent MongoDB from locking the database.
- notifyMessageSent() - Method in interface com.mongodb.async.client.ClientSession
-
Deprecated.Notify the client session that a message has been sent.
O
- Observable<TResult> - Interface in com.mongodb.async.client
-
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
- Observables - Class in com.mongodb.async.client
-
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
- observe(MongoIterable<TResult>) - Static method in class com.mongodb.async.client.Observables
-
Deprecated.Convert a
MongoIterable
into anObservable
. - observe(Block<SingleResultCallback<TResult>>) - Static method in class com.mongodb.async.client.Observables
-
Deprecated.Allows the conversion of
SingleResultCallback
based operations into anObservable
- observeAndFlatten(Block<SingleResultCallback<List<TResult>>>) - Static method in class com.mongodb.async.client.Observables
-
Deprecated.Allows the conversion of
SingleResultCallback
based operations and flattens the results in anObservable
. - Observer<TResult> - Interface in com.mongodb.async.client
-
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
- onComplete() - Method in interface com.mongodb.async.client.Observer
-
Deprecated.Notifies the Subscriber that the
Observable
has finished sending push-based notifications. - onError(Throwable) - Method in interface com.mongodb.async.client.Observer
-
Deprecated.Notifies the Observer that the
Observable
has experienced an error condition. - onNext(TResult) - Method in interface com.mongodb.async.client.Observer
-
Deprecated.Provides the Observer with a new item to observe.
- onSubscribe(Subscription) - Method in interface com.mongodb.async.client.Observer
-
Deprecated.Invoked on subscription to an
Observable
. - openDownloadStream(ClientSession, String) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Opens a Stream from which the application can read the contents of the latest version of the stored file specified by the
filename
. - openDownloadStream(ClientSession, String, GridFSDownloadOptions) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Opens a Stream from which the application can read the contents of the stored file specified by
filename
and the revision inoptions
. - openDownloadStream(ClientSession, BsonValue) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Opens a AsyncInputStream from which the application can read the contents of the stored file specified by
id
. - openDownloadStream(ClientSession, ObjectId) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Opens a AsyncInputStream from which the application can read the contents of the stored file specified by
id
. - openDownloadStream(String) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Opens a Stream from which the application can read the contents of the latest version of the stored file specified by the
filename
. - openDownloadStream(String, GridFSDownloadOptions) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Opens a Stream from which the application can read the contents of the stored file specified by
filename
and the revision inoptions
. - openDownloadStream(BsonValue) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Opens a AsyncInputStream from which the application can read the contents of the stored file specified by
id
. - openDownloadStream(ObjectId) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Opens a AsyncInputStream from which the application can read the contents of the stored file specified by
id
. - openUploadStream(ClientSession, String) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Opens a AsyncOutputStream that the application can write the contents of the file to.
- openUploadStream(ClientSession, String, GridFSUploadOptions) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Opens a AsyncOutputStream that the application can write the contents of the file to.
- openUploadStream(ClientSession, BsonValue, String) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Opens a AsyncOutputStream that the application can write the contents of the file to.
- openUploadStream(ClientSession, BsonValue, String, GridFSUploadOptions) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Opens a AsyncOutputStream that the application can write the contents of the file to.
- openUploadStream(String) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Opens a AsyncOutputStream that the application can write the contents of the file to.
- openUploadStream(String, GridFSUploadOptions) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Opens a AsyncOutputStream that the application can write the contents of the file to.
- openUploadStream(BsonValue, String) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Opens a AsyncOutputStream that the application can write the contents of the file to.
- openUploadStream(BsonValue, String, GridFSUploadOptions) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Opens a AsyncOutputStream that the application can write the contents of the file to.
- oplogReplay(boolean) - Method in interface com.mongodb.async.client.FindIterable
-
Deprecated.Users should not set this under normal circumstances.
P
- partial(boolean) - Method in interface com.mongodb.async.client.FindIterable
-
Deprecated.Get partial results from a sharded cluster if one or more shards are unreachable (instead of throwing an error).
- projection(Bson) - Method in interface com.mongodb.async.client.FindIterable
-
Deprecated.Sets a document describing the fields to return for all matching documents.
R
- read(ByteBuffer, SingleResultCallback<Integer>) - Method in interface com.mongodb.async.client.gridfs.AsyncInputStream
-
Deprecated.Reads a sequence of bytes from this stream into the given buffer.
- readConcern(ReadConcern) - Method in class com.mongodb.async.client.MongoClientSettings.Builder
-
Deprecated.Sets the read concern.
- readPreference(ReadPreference) - Method in class com.mongodb.async.client.MongoClientSettings.Builder
-
Deprecated.Sets the read preference.
- rename(ClientSession, BsonValue, String, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Renames the stored file with the specified
id
. - rename(ClientSession, ObjectId, String, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Renames the stored file with the specified
id
. - rename(BsonValue, String, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Renames the stored file with the specified
id
. - rename(ObjectId, String, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Renames the stored file with the specified
id
. - renameCollection(ClientSession, MongoNamespace, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Rename the collection with oldCollectionName to the newCollectionName.
- renameCollection(ClientSession, MongoNamespace, RenameCollectionOptions, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Rename the collection with oldCollectionName to the newCollectionName.
- renameCollection(MongoNamespace, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Rename the collection with oldCollectionName to the newCollectionName.
- renameCollection(MongoNamespace, RenameCollectionOptions, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Rename the collection with oldCollectionName to the newCollectionName.
- replaceOne(ClientSession, Bson, TDocument, SingleResultCallback<UpdateResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Replace a document in the collection according to the specified arguments.
- replaceOne(ClientSession, Bson, TDocument, ReplaceOptions, SingleResultCallback<UpdateResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Replace a document in the collection according to the specified arguments.
- replaceOne(ClientSession, Bson, TDocument, UpdateOptions, SingleResultCallback<UpdateResult>) - Method in interface com.mongodb.async.client.MongoCollection
- replaceOne(Bson, TDocument, SingleResultCallback<UpdateResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Replace a document in the collection according to the specified arguments.
- replaceOne(Bson, TDocument, ReplaceOptions, SingleResultCallback<UpdateResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Replace a document in the collection according to the specified arguments.
- replaceOne(Bson, TDocument, UpdateOptions, SingleResultCallback<UpdateResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.
- request(long) - Method in interface com.mongodb.async.client.Subscription
-
Deprecated.No operation will be sent to MongoDB from the
Observable
until demand is signaled via this method. - resumeAfter(BsonDocument) - Method in interface com.mongodb.async.client.ChangeStreamIterable
-
Deprecated.Sets the logical starting point for the new change stream.
- retryWrites(boolean) - Method in class com.mongodb.async.client.MongoClientSettings.Builder
-
Deprecated.Sets whether writes should be retried if they fail due to a network error.
- returnKey(boolean) - Method in interface com.mongodb.async.client.FindIterable
-
Deprecated.Sets the returnKey.
- runCommand(ClientSession, Bson, SingleResultCallback<Document>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Executes the given command in the context of the current database with a read preference of
ReadPreference.primary()
. - runCommand(ClientSession, Bson, ReadPreference, SingleResultCallback<Document>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Executes the given command in the context of the current database with the given read preference.
- runCommand(ClientSession, Bson, ReadPreference, Class<TResult>, SingleResultCallback<TResult>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Executes the given command in the context of the current database with the given read preference.
- runCommand(ClientSession, Bson, Class<TResult>, SingleResultCallback<TResult>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Executes the given command in the context of the current database with a read preference of
ReadPreference.primary()
. - runCommand(Bson, SingleResultCallback<Document>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Executes the given command in the context of the current database with a read preference of
ReadPreference.primary()
. - runCommand(Bson, ReadPreference, SingleResultCallback<Document>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Executes the given command in the context of the current database with the given read preference.
- runCommand(Bson, ReadPreference, Class<TResult>, SingleResultCallback<TResult>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Executes the given command in the context of the current database with the given read preference.
- runCommand(Bson, Class<TResult>, SingleResultCallback<TResult>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Executes the given command in the context of the current database with a read preference of
ReadPreference.primary()
.
S
- scope(Bson) - Method in interface com.mongodb.async.client.MapReduceIterable
-
Deprecated.Sets the global variables that are accessible in the map, reduce and finalize functions.
- serverSettings(ServerSettings) - Method in class com.mongodb.async.client.MongoClientSettings.Builder
-
Deprecated.
- sharded(boolean) - Method in interface com.mongodb.async.client.MapReduceIterable
-
Deprecated.Sets if the output database is sharded
- showRecordId(boolean) - Method in interface com.mongodb.async.client.FindIterable
-
Deprecated.Sets the showRecordId.
- skip(int) - Method in interface com.mongodb.async.client.FindIterable
-
Deprecated.Sets the number of documents to skip.
- skip(int) - Method in interface com.mongodb.async.client.gridfs.GridFSFindIterable
-
Deprecated.Sets the number of documents to skip.
- skip(long, SingleResultCallback<Long>) - Method in interface com.mongodb.async.client.gridfs.AsyncInputStream
-
Deprecated.Skips over and discards n bytes of data from this input stream.
- snapshot(boolean) - Method in interface com.mongodb.async.client.FindIterable
-
Deprecated.Deprecated in MongoDB 3.6 release and removed in MongoDB 4.0 release
- socketSettings(SocketSettings) - Method in class com.mongodb.async.client.MongoClientSettings.Builder
-
Deprecated.
- sort(Bson) - Method in interface com.mongodb.async.client.FindIterable
-
Deprecated.Sets the sort criteria to apply to the query.
- sort(Bson) - Method in interface com.mongodb.async.client.gridfs.GridFSFindIterable
-
Deprecated.Sets the sort criteria to apply to the query.
- sort(Bson) - Method in interface com.mongodb.async.client.MapReduceIterable
-
Deprecated.Sets the sort criteria to apply to the query.
- sslSettings(SslSettings) - Method in class com.mongodb.async.client.MongoClientSettings.Builder
-
Deprecated.
- startAtOperationTime(BsonTimestamp) - Method in interface com.mongodb.async.client.ChangeStreamIterable
-
Deprecated.The change stream will only provide changes that occurred at or after the specified timestamp.
- startSession(SingleResultCallback<ClientSession>) - Method in interface com.mongodb.async.client.MongoClient
-
Deprecated.Creates a client session with default options.
- startSession(ClientSessionOptions, SingleResultCallback<ClientSession>) - Method in interface com.mongodb.async.client.MongoClient
-
Deprecated.Creates a client session.
- startTransaction() - Method in interface com.mongodb.async.client.ClientSession
-
Deprecated.Start a transaction in the context of this session with default transaction options.
- startTransaction(TransactionOptions) - Method in interface com.mongodb.async.client.ClientSession
-
Deprecated.Start a transaction in the context of this session with the given transaction options.
- streamFactoryFactory(StreamFactoryFactory) - Method in class com.mongodb.async.client.MongoClientSettings.Builder
-
Deprecated.Sets the factory to use to create a
StreamFactory
. - subscribe(Observer<? super TResult>) - Method in interface com.mongodb.async.client.Observable
-
Deprecated.Request
Observable
to start streaming data. - Subscription - Interface in com.mongodb.async.client
-
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
T
- toAsyncInputStream(byte[]) - Static method in class com.mongodb.async.client.gridfs.helpers.AsyncStreamHelper
-
Deprecated.Converts a
byte[]
into aAsyncInputStream
- toAsyncInputStream(InputStream) - Static method in class com.mongodb.async.client.gridfs.helpers.AsyncStreamHelper
-
Deprecated.Converts a
InputStream
into aAsyncInputStream
- toAsyncInputStream(ByteBuffer) - Static method in class com.mongodb.async.client.gridfs.helpers.AsyncStreamHelper
-
Deprecated.Converts a
ByteBuffer
into aAsyncInputStream
- toAsyncOutputStream(byte[]) - Static method in class com.mongodb.async.client.gridfs.helpers.AsyncStreamHelper
-
Deprecated.Converts a
byte[]
into aAsyncOutputStream
- toAsyncOutputStream(OutputStream) - Static method in class com.mongodb.async.client.gridfs.helpers.AsyncStreamHelper
-
Deprecated.Converts a
OutputStream
into aAsyncOutputStream
- toAsyncOutputStream(ByteBuffer) - Static method in class com.mongodb.async.client.gridfs.helpers.AsyncStreamHelper
-
Deprecated.Converts a
ByteBuffer
into aAsyncOutputStream
- toCollection(SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.AggregateIterable
-
Deprecated.Aggregates documents according to the specified aggregation pipeline, which must end with a $out stage.
- toCollection(SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.MapReduceIterable
-
Deprecated.Aggregates documents to a collection according to the specified map-reduce function with the given options, which must specify a non-inline result.
U
- unsubscribe() - Method in interface com.mongodb.async.client.Subscription
-
Deprecated.Request the
Observable
to stop sending data and clean up resources. - updateMany(ClientSession, Bson, Bson, SingleResultCallback<UpdateResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Update all documents in the collection according to the specified arguments.
- updateMany(ClientSession, Bson, Bson, UpdateOptions, SingleResultCallback<UpdateResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Update all documents in the collection according to the specified arguments.
- updateMany(Bson, Bson, SingleResultCallback<UpdateResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Update all documents in the collection according to the specified arguments.
- updateMany(Bson, Bson, UpdateOptions, SingleResultCallback<UpdateResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Update all documents in the collection according to the specified arguments.
- updateOne(ClientSession, Bson, Bson, SingleResultCallback<UpdateResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Update a single document in the collection according to the specified arguments.
- updateOne(ClientSession, Bson, Bson, UpdateOptions, SingleResultCallback<UpdateResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Update a single document in the collection according to the specified arguments.
- updateOne(Bson, Bson, SingleResultCallback<UpdateResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Update a single document in the collection according to the specified arguments.
- updateOne(Bson, Bson, UpdateOptions, SingleResultCallback<UpdateResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Update a single document in the collection according to the specified arguments.
- uploadFromStream(ClientSession, String, AsyncInputStream, SingleResultCallback<ObjectId>) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Uploads the contents of the given
AsyncInputStream
to a GridFS bucket. - uploadFromStream(ClientSession, String, AsyncInputStream, GridFSUploadOptions, SingleResultCallback<ObjectId>) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Uploads the contents of the given
AsyncInputStream
to a GridFS bucket. - uploadFromStream(ClientSession, BsonValue, String, AsyncInputStream, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Uploads the contents of the given
AsyncInputStream
to a GridFS bucket. - uploadFromStream(ClientSession, BsonValue, String, AsyncInputStream, GridFSUploadOptions, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Uploads the contents of the given
AsyncInputStream
to a GridFS bucket. - uploadFromStream(String, AsyncInputStream, SingleResultCallback<ObjectId>) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Uploads the contents of the given
AsyncInputStream
to a GridFS bucket. - uploadFromStream(String, AsyncInputStream, GridFSUploadOptions, SingleResultCallback<ObjectId>) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Uploads the contents of the given
AsyncInputStream
to a GridFS bucket. - uploadFromStream(BsonValue, String, AsyncInputStream, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Uploads the contents of the given
AsyncInputStream
to a GridFS bucket. - uploadFromStream(BsonValue, String, AsyncInputStream, GridFSUploadOptions, SingleResultCallback<Void>) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Uploads the contents of the given
AsyncInputStream
to a GridFS bucket. - useCursor(Boolean) - Method in interface com.mongodb.async.client.AggregateIterable
-
Deprecated.There is no replacement for this. Applications can assume that the driver will use a cursor for server versions that support it (>= 2.6). The driver will ignore this as of MongoDB 3.6, which does not support inline results for the aggregate command.
V
- verbose(boolean) - Method in interface com.mongodb.async.client.MapReduceIterable
-
Deprecated.Sets whether to include the timing information in the result information.
W
- watch() - Method in interface com.mongodb.async.client.MongoClient
-
Deprecated.Creates a change stream for this client.
- watch() - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Creates a change stream for this collection.
- watch() - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Creates a change stream for this database.
- watch(ClientSession) - Method in interface com.mongodb.async.client.MongoClient
-
Deprecated.Creates a change stream for this client.
- watch(ClientSession) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Creates a change stream for this collection.
- watch(ClientSession) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Creates a change stream for this database.
- watch(ClientSession, Class<TResult>) - Method in interface com.mongodb.async.client.MongoClient
-
Deprecated.Creates a change stream for this client.
- watch(ClientSession, Class<TResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Creates a change stream for this collection.
- watch(ClientSession, Class<TResult>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Creates a change stream for this database.
- watch(ClientSession, List<? extends Bson>) - Method in interface com.mongodb.async.client.MongoClient
-
Deprecated.Creates a change stream for this client.
- watch(ClientSession, List<? extends Bson>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Creates a change stream for this collection.
- watch(ClientSession, List<? extends Bson>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Creates a change stream for this database.
- watch(ClientSession, List<? extends Bson>, Class<TResult>) - Method in interface com.mongodb.async.client.MongoClient
-
Deprecated.Creates a change stream for this client.
- watch(ClientSession, List<? extends Bson>, Class<TResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Creates a change stream for this collection.
- watch(ClientSession, List<? extends Bson>, Class<TResult>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Creates a change stream for this database.
- watch(Class<TResult>) - Method in interface com.mongodb.async.client.MongoClient
-
Deprecated.Creates a change stream for this client.
- watch(Class<TResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Creates a change stream for this collection.
- watch(Class<TResult>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Creates a change stream for this database.
- watch(List<? extends Bson>) - Method in interface com.mongodb.async.client.MongoClient
-
Deprecated.Creates a change stream for this client.
- watch(List<? extends Bson>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Creates a change stream for this collection.
- watch(List<? extends Bson>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Creates a change stream for this database.
- watch(List<? extends Bson>, Class<TResult>) - Method in interface com.mongodb.async.client.MongoClient
-
Deprecated.Creates a change stream for this client.
- watch(List<? extends Bson>, Class<TResult>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Creates a change stream for this collection.
- watch(List<? extends Bson>, Class<TResult>) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Creates a change stream for this database.
- withChunkSizeBytes(int) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Create a new GridFSBucket instance with a new chunk size in bytes.
- withCodecRegistry(CodecRegistry) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Create a new MongoCollection instance with a different codec registry.
- withCodecRegistry(CodecRegistry) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Create a new MongoDatabase instance with a different codec registry.
- withDisableMD5(boolean) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Create a new GridFSBucket instance with the set disable MD5 value.
- withDocumentClass(Class<NewTDocument>) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Create a new MongoCollection instance with a different default class to cast any documents returned from the database into..
- withDocumentClass(Class<TDocument>) - Method in interface com.mongodb.async.client.ChangeStreamIterable
-
Deprecated.Returns a
MongoIterable
containing the results of the change stream based on the document class provided. - withReadConcern(ReadConcern) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Create a new MongoDatabase instance with a different read concern.
- withReadConcern(ReadConcern) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Create a new MongoCollection instance with a different read concern.
- withReadConcern(ReadConcern) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Create a new MongoDatabase instance with a different read concern.
- withReadPreference(ReadPreference) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Create a new GridFSBucket instance with a different read preference.
- withReadPreference(ReadPreference) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Create a new MongoCollection instance with a different read preference.
- withReadPreference(ReadPreference) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Create a new MongoDatabase instance with a different read preference.
- withWriteConcern(WriteConcern) - Method in interface com.mongodb.async.client.gridfs.GridFSBucket
-
Deprecated.Create a new GridFSBucket instance with a different write concern.
- withWriteConcern(WriteConcern) - Method in interface com.mongodb.async.client.MongoCollection
-
Deprecated.Create a new MongoCollection instance with a different write concern.
- withWriteConcern(WriteConcern) - Method in interface com.mongodb.async.client.MongoDatabase
-
Deprecated.Create a new MongoDatabase instance with a different write concern.
- write(ByteBuffer, SingleResultCallback<Integer>) - Method in interface com.mongodb.async.client.gridfs.AsyncOutputStream
-
Deprecated.Writes a sequence of bytes from the given buffer into this stream.
- writeConcern(WriteConcern) - Method in class com.mongodb.async.client.MongoClientSettings.Builder
-
Deprecated.Sets the write concern.