- close() - Method in interface com.mongodb.reactivestreams.client.MongoClient
-
Close the client, which will close all underlying cached resources, including, for example,
sockets and background monitoring threads.
- collectionName(String) - Method in interface com.mongodb.reactivestreams.client.MapReducePublisher
-
Sets the collectionName for the output of the MapReduce
- com.mongodb.reactivestreams.client - package com.mongodb.reactivestreams.client
-
This packages contains classes for the reactive stream client implementation
- count() - Method in interface com.mongodb.reactivestreams.client.MongoCollection
-
Counts the number of documents in the collection.
- count(Bson) - Method in interface com.mongodb.reactivestreams.client.MongoCollection
-
Counts the number of documents in the collection according to the given options.
- count(Bson, CountOptions) - Method in interface com.mongodb.reactivestreams.client.MongoCollection
-
Counts the number of documents in the collection according to the given options.
- create() - Static method in class com.mongodb.reactivestreams.client.MongoClients
-
Creates a new client with the default connection string "mongodb://localhost".
- create(MongoClientSettings) - Static method in class com.mongodb.reactivestreams.client.MongoClients
-
Create a new client with the given client settings.
- create(String) - Static method in class com.mongodb.reactivestreams.client.MongoClients
-
Create a new client with the given connection string.
- create(ConnectionString) - Static method in class com.mongodb.reactivestreams.client.MongoClients
-
Create a new client with the given connection string.
- createCollection(String) - Method in interface com.mongodb.reactivestreams.client.MongoDatabase
-
Create a new collection with the given name.
- createCollection(String, CreateCollectionOptions) - Method in interface com.mongodb.reactivestreams.client.MongoDatabase
-
Create a new collection with the selected options
- createIndex(Bson) - Method in interface com.mongodb.reactivestreams.client.MongoCollection
-
Creates an index.
- createIndex(Bson, IndexOptions) - Method in interface com.mongodb.reactivestreams.client.MongoCollection
-
Creates an index.
- createIndexes(List<IndexModel>) - Method in interface com.mongodb.reactivestreams.client.MongoCollection
-
Create multiple indexes.
- cursorType(CursorType) - Method in interface com.mongodb.reactivestreams.client.FindPublisher
-
Sets the cursor type.
- filter(Bson) - Method in interface com.mongodb.reactivestreams.client.DistinctPublisher
-
Sets the query filter to apply to the query.
- filter(Bson) - Method in interface com.mongodb.reactivestreams.client.FindPublisher
-
Sets the query filter to apply to the query.
- filter(Bson) - Method in interface com.mongodb.reactivestreams.client.ListCollectionsPublisher
-
Sets the query filter to apply to the query.
- filter(Bson) - Method in interface com.mongodb.reactivestreams.client.MapReducePublisher
-
Sets the query filter to apply to the query.
- finalizeFunction(String) - Method in interface com.mongodb.reactivestreams.client.MapReducePublisher
-
Sets the JavaScript function that follows the reduce method and modifies the output.
- find() - Method in interface com.mongodb.reactivestreams.client.MongoCollection
-
Finds all documents in the collection.
- find(Class<TResult>) - Method in interface com.mongodb.reactivestreams.client.MongoCollection
-
Finds all documents in the collection.
- find(Bson) - Method in interface com.mongodb.reactivestreams.client.MongoCollection
-
Finds all documents in the collection.
- find(Bson, Class<TResult>) - Method in interface com.mongodb.reactivestreams.client.MongoCollection
-
Finds all documents in the collection.
- findOneAndDelete(Bson) - Method in interface com.mongodb.reactivestreams.client.MongoCollection
-
Atomically find a document and remove it.
- findOneAndDelete(Bson, FindOneAndDeleteOptions) - Method in interface com.mongodb.reactivestreams.client.MongoCollection
-
Atomically find a document and remove it.
- findOneAndReplace(Bson, TDocument) - Method in interface com.mongodb.reactivestreams.client.MongoCollection
-
Atomically find a document and replace it.
- findOneAndReplace(Bson, TDocument, FindOneAndReplaceOptions) - Method in interface com.mongodb.reactivestreams.client.MongoCollection
-
Atomically find a document and replace it.
- findOneAndUpdate(Bson, Bson) - Method in interface com.mongodb.reactivestreams.client.MongoCollection
-
Atomically find a document and update it.
- findOneAndUpdate(Bson, Bson, FindOneAndUpdateOptions) - Method in interface com.mongodb.reactivestreams.client.MongoCollection
-
Atomically find a document and update it.
- FindPublisher<TResult> - Interface in com.mongodb.reactivestreams.client
-
Publisher interface for find.
- first() - Method in interface com.mongodb.reactivestreams.client.FindPublisher
-
Helper to return a publisher limited first from the query.
- mapReduce(String, String) - Method in interface com.mongodb.reactivestreams.client.MongoCollection
-
Aggregates documents according to the specified map-reduce function.
- mapReduce(String, String, Class<TResult>) - Method in interface com.mongodb.reactivestreams.client.MongoCollection
-
Aggregates documents according to the specified map-reduce function.
- MapReducePublisher<TResult> - Interface in com.mongodb.reactivestreams.client
-
Publisher for map reduce.
- maxTime(long, TimeUnit) - Method in interface com.mongodb.reactivestreams.client.AggregatePublisher
-
Sets the maximum execution time on the server for this operation.
- maxTime(long, TimeUnit) - Method in interface com.mongodb.reactivestreams.client.DistinctPublisher
-
Sets the maximum execution time on the server for this operation.
- maxTime(long, TimeUnit) - Method in interface com.mongodb.reactivestreams.client.FindPublisher
-
Sets the maximum execution time on the server for this operation.
- maxTime(long, TimeUnit) - Method in interface com.mongodb.reactivestreams.client.ListCollectionsPublisher
-
Sets the maximum execution time on the server for this operation.
- maxTime(long, TimeUnit) - Method in interface com.mongodb.reactivestreams.client.ListDatabasesPublisher
-
Sets the maximum execution time on the server for this operation.
- maxTime(long, TimeUnit) - Method in interface com.mongodb.reactivestreams.client.ListIndexesPublisher
-
Sets the maximum execution time on the server for this operation.
- maxTime(long, TimeUnit) - Method in interface com.mongodb.reactivestreams.client.MapReducePublisher
-
Sets the maximum execution time on the server for this operation.
- modifiers(Bson) - Method in interface com.mongodb.reactivestreams.client.FindPublisher
-
Sets the query modifiers to apply to this operation.
- MongoClient - Interface in com.mongodb.reactivestreams.client
-
A client-side representation of a MongoDB cluster.
- MongoClients - Class in com.mongodb.reactivestreams.client
-
A factory for MongoClient instances.
- MongoCollection<TDocument> - Interface in com.mongodb.reactivestreams.client
-
The MongoCollection interface.
- MongoDatabase - Interface in com.mongodb.reactivestreams.client
-
The MongoDatabase interface.