- close() - Method in interface com.mongodb.rx.client.gridfs.AsyncInputStream
-
Closes the input stream
- close() - Method in interface com.mongodb.rx.client.gridfs.AsyncOutputStream
-
Closes the output stream
- close() - Method in interface com.mongodb.rx.client.MongoClient
-
Close the client, which will close all underlying cached resources, including, for example,
sockets and background monitoring threads.
- collation(Collation) - Method in interface com.mongodb.rx.client.AggregateObservable
-
Sets the collation options
- collation(Collation) - Method in interface com.mongodb.rx.client.DistinctObservable
-
Sets the collation options
- collation(Collation) - Method in interface com.mongodb.rx.client.FindObservable
-
Sets the collation options
- collation(Collation) - Method in interface com.mongodb.rx.client.gridfs.GridFSFindObservable
-
Sets the collation options
- collation(Collation) - Method in interface com.mongodb.rx.client.MapReduceObservable
-
Sets the collation options
- collectionName(String) - Method in interface com.mongodb.rx.client.MapReduceObservable
-
Sets the collectionName for the output of the MapReduce
- com.mongodb.rx.client - package com.mongodb.rx.client
-
This packages contains classes for the rx client implementation
- com.mongodb.rx.client.gridfs - package com.mongodb.rx.client.gridfs
-
Contains the classes for supporting MongoDB's specification for storing very large files, GridFS.
- com.mongodb.rx.client.gridfs.helpers - package com.mongodb.rx.client.gridfs.helpers
-
Contains helper classes to create AsyncInputStream
and
AsyncOutputStream
's from external sources.
- comment(String) - Method in interface com.mongodb.rx.client.FindObservable
-
Sets the comment to the query.
- count() - Method in interface com.mongodb.rx.client.MongoCollection
-
Counts the number of documents in the collection.
- count(Bson) - Method in interface com.mongodb.rx.client.MongoCollection
-
Counts the number of documents in the collection according to the given options.
- count(Bson, CountOptions) - Method in interface com.mongodb.rx.client.MongoCollection
-
Counts the number of documents in the collection according to the given options.
- create(MongoDatabase) - Static method in class com.mongodb.rx.client.gridfs.GridFSBuckets
-
Create a new GridFS bucket with the default 'fs'
bucket name
- create(MongoDatabase, String) - Static method in class com.mongodb.rx.client.gridfs.GridFSBuckets
-
Create a new GridFS bucket with a custom bucket name
- create() - Static method in class com.mongodb.rx.client.MongoClients
-
Creates a new client with the default connection string "mongodb://localhost".
- create(MongoClientSettings) - Static method in class com.mongodb.rx.client.MongoClients
-
Create a new client with the given client settings.
- create(MongoClientSettings, ObservableAdapter) - Static method in class com.mongodb.rx.client.MongoClients
-
Create a new client with the given client settings.
- create(String) - Static method in class com.mongodb.rx.client.MongoClients
-
Create a new client with the given connection string.
- create(String, ObservableAdapter) - Static method in class com.mongodb.rx.client.MongoClients
-
Create a new client with the given connection string.
- create(ConnectionString) - Static method in class com.mongodb.rx.client.MongoClients
-
Create a new client with the given connection string.
- create(ConnectionString, ObservableAdapter) - Static method in class com.mongodb.rx.client.MongoClients
-
Create a new client with the given connection string.
- create(ConnectionString, ObservableAdapter, MongoDriverInformation) - Static method in class com.mongodb.rx.client.MongoClients
-
Create a new client with the given connection string.
- create(MongoClientSettings, ObservableAdapter, MongoDriverInformation) - Static method in class com.mongodb.rx.client.MongoClients
-
Creates a new client with the given client settings.
- create(MongoClient) - Static method in class com.mongodb.rx.client.MongoClients
-
Creates a new client with the given async MongoClient.
- create(MongoClient, ObservableAdapter) - Static method in class com.mongodb.rx.client.MongoClients
-
Creates a new client with the given async MongoClient.
- createCollection(String) - Method in interface com.mongodb.rx.client.MongoDatabase
-
Create a new collection with the given name.
- createCollection(String, CreateCollectionOptions) - Method in interface com.mongodb.rx.client.MongoDatabase
-
Create a new collection with the selected options
- createIndex(Bson) - Method in interface com.mongodb.rx.client.MongoCollection
-
Creates an index.
- createIndex(Bson, IndexOptions) - Method in interface com.mongodb.rx.client.MongoCollection
-
Creates an index.
- createIndexes(List<IndexModel>) - Method in interface com.mongodb.rx.client.MongoCollection
-
Create multiple indexes.
- createView(String, String, List<? extends Bson>) - Method in interface com.mongodb.rx.client.MongoDatabase
-
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) - Method in interface com.mongodb.rx.client.MongoDatabase
-
Creates a view with the given name, backing collection/view name, aggregation pipeline, and options that defines the view.
- cursorType(CursorType) - Method in interface com.mongodb.rx.client.FindObservable
-
Sets the cursor type.
- databaseName(String) - Method in interface com.mongodb.rx.client.MapReduceObservable
-
Sets the name of the database to output into.
- delete(ObjectId) - Method in interface com.mongodb.rx.client.gridfs.GridFSBucket
-
Given a id
, delete this stored file's files collection document and associated chunks from a GridFS bucket.
- delete(BsonValue) - Method in interface com.mongodb.rx.client.gridfs.GridFSBucket
-
Given a id
, delete this stored file's files collection document and associated chunks from a GridFS bucket.
- deleteMany(Bson) - Method in interface com.mongodb.rx.client.MongoCollection
-
Removes all documents from the collection that match the given query filter.
- deleteMany(Bson, DeleteOptions) - Method in interface com.mongodb.rx.client.MongoCollection
-
Removes all documents from the collection that match the given query filter.
- deleteOne(Bson) - Method in interface com.mongodb.rx.client.MongoCollection
-
Removes at most one document from the collection that matches the given filter.
- deleteOne(Bson, DeleteOptions) - Method in interface com.mongodb.rx.client.MongoCollection
-
Removes at most one document from the collection that matches the given filter.
- distinct(String, Class<TResult>) - Method in interface com.mongodb.rx.client.MongoCollection
-
Gets the distinct values of the specified field name.
- distinct(String, Bson, Class<TResult>) - Method in interface com.mongodb.rx.client.MongoCollection
-
Gets the distinct values of the specified field name.
- DistinctObservable<TResult> - Interface in com.mongodb.rx.client
-
Iterable for distinct.
- downloadToStream(ObjectId, AsyncOutputStream) - Method in interface com.mongodb.rx.client.gridfs.GridFSBucket
-
Downloads the contents of the stored file specified by id
and writes the contents to the destination
AsyncOutputStream.
- downloadToStream(BsonValue, AsyncOutputStream) - Method in interface com.mongodb.rx.client.gridfs.GridFSBucket
-
Downloads the contents of the stored file specified by id
and writes the contents to the destination
AsyncOutputStream.
- downloadToStream(String, AsyncOutputStream) - Method in interface com.mongodb.rx.client.gridfs.GridFSBucket
-
Downloads the contents of the latest version of the stored file specified by filename
and writes the contents to
the destination
Stream.
- downloadToStream(String, AsyncOutputStream, GridFSDownloadOptions) - Method in interface com.mongodb.rx.client.gridfs.GridFSBucket
-
Downloads the contents of the stored file specified by filename
and by the revision in options
and writes the
contents to the destination
Stream.
- drop() - Method in interface com.mongodb.rx.client.gridfs.GridFSBucket
-
Drops the data associated with this bucket from the database.
- drop() - Method in interface com.mongodb.rx.client.MongoCollection
-
Drops this collection from the Database.
- drop() - Method in interface com.mongodb.rx.client.MongoDatabase
-
Drops this database.
- dropIndex(String) - Method in interface com.mongodb.rx.client.MongoCollection
-
Drops the given index.
- dropIndex(Bson) - Method in interface com.mongodb.rx.client.MongoCollection
-
Drops the index given the keys used to create it.
- dropIndexes() - Method in interface com.mongodb.rx.client.MongoCollection
-
Drop all the indexes on this collection, except for the default on _id.
- filter(Bson) - Method in interface com.mongodb.rx.client.DistinctObservable
-
Sets the query filter to apply to the query.
- filter(Bson) - Method in interface com.mongodb.rx.client.FindObservable
-
Sets the query filter to apply to the query.
- filter(Bson) - Method in interface com.mongodb.rx.client.gridfs.GridFSFindObservable
-
Sets the query filter to apply to the query.
- filter(Bson) - Method in interface com.mongodb.rx.client.ListCollectionsObservable
-
Sets the query filter to apply to the query.
- filter(Bson) - Method in interface com.mongodb.rx.client.MapReduceObservable
-
Sets the query filter to apply to the query.
- finalizeFunction(String) - Method in interface com.mongodb.rx.client.MapReduceObservable
-
Sets the JavaScript function that follows the reduce method and modifies the output.
- find() - Method in interface com.mongodb.rx.client.gridfs.GridFSBucket
-
Finds all documents in the files collection.
- find(Bson) - Method in interface com.mongodb.rx.client.gridfs.GridFSBucket
-
Finds all documents in the collection that match the filter.
- find() - Method in interface com.mongodb.rx.client.MongoCollection
-
Finds all documents in the collection.
- find(Class<TResult>) - Method in interface com.mongodb.rx.client.MongoCollection
-
Finds all documents in the collection.
- find(Bson) - Method in interface com.mongodb.rx.client.MongoCollection
-
Finds all documents in the collection.
- find(Bson, Class<TResult>) - Method in interface com.mongodb.rx.client.MongoCollection
-
Finds all documents in the collection.
- FindObservable<TResult> - Interface in com.mongodb.rx.client
-
MongoObservable interface for find.
- findOneAndDelete(Bson) - Method in interface com.mongodb.rx.client.MongoCollection
-
Atomically find a document and remove it.
- findOneAndDelete(Bson, FindOneAndDeleteOptions) - Method in interface com.mongodb.rx.client.MongoCollection
-
Atomically find a document and remove it.
- findOneAndReplace(Bson, TDocument) - Method in interface com.mongodb.rx.client.MongoCollection
-
Atomically find a document and replace it.
- findOneAndReplace(Bson, TDocument, FindOneAndReplaceOptions) - Method in interface com.mongodb.rx.client.MongoCollection
-
Atomically find a document and replace it.
- findOneAndUpdate(Bson, Bson) - Method in interface com.mongodb.rx.client.MongoCollection
-
Atomically find a document and update it.
- findOneAndUpdate(Bson, Bson, FindOneAndUpdateOptions) - Method in interface com.mongodb.rx.client.MongoCollection
-
Atomically find a document and update it.
- first() - Method in interface com.mongodb.rx.client.FindObservable
-
Helper to return an Observable limited first from the query.
- first() - Method in interface com.mongodb.rx.client.gridfs.GridFSFindObservable
-
Helper to return an observable limited first from the query.
- getBucketName() - Method in interface com.mongodb.rx.client.gridfs.GridFSBucket
-
The bucket name.
- getChunkSizeBytes() - Method in interface com.mongodb.rx.client.gridfs.GridFSBucket
-
Sets the chunk size in bytes.
- getCodecRegistry() - Method in interface com.mongodb.rx.client.MongoCollection
-
Get the codec registry for the MongoCollection.
- getCodecRegistry() - Method in interface com.mongodb.rx.client.MongoDatabase
-
Get the codec registry for the MongoDatabase.
- getCollection(String) - Method in interface com.mongodb.rx.client.MongoDatabase
-
Gets a collection.
- getCollection(String, Class<TDocument>) - Method in interface com.mongodb.rx.client.MongoDatabase
-
Gets a collection, with a specific default document class.
- getDatabase(String) - Method in interface com.mongodb.rx.client.MongoClient
-
Gets the database with the given name.
- getDefaultCodecRegistry() - Static method in class com.mongodb.rx.client.MongoClients
-
Gets the default codec registry.
- getDocumentClass() - Method in interface com.mongodb.rx.client.MongoCollection
-
Get the class of documents stored in this collection.
- getGridFSFile() - Method in interface com.mongodb.rx.client.gridfs.GridFSDownloadStream
-
Gets the corresponding GridFSFile
for the file being downloaded
- getId() - Method in interface com.mongodb.rx.client.gridfs.GridFSUploadStream
-
The BsonValue
id for this file.
- getName() - Method in interface com.mongodb.rx.client.MongoDatabase
-
Gets the name of the database.
- getNamespace() - Method in interface com.mongodb.rx.client.MongoCollection
-
Gets the namespace of this collection.
- getObjectId() - Method in interface com.mongodb.rx.client.gridfs.GridFSUploadStream
-
Gets the ObjectId
for the file to be uploaded
Throws a MongoGridFSException
if the file id is not an ObjectId.
- getObservableAdapter() - Method in interface com.mongodb.rx.client.gridfs.GridFSBucket
-
Get the ObservableAdapter for the GridFSBucket.
- getObservableAdapter() - Method in interface com.mongodb.rx.client.MongoCollection
-
Get the ObservableAdapter for this collection.
- getObservableAdapter() - Method in interface com.mongodb.rx.client.MongoDatabase
-
Get the ObservableAdapter for the MongoDatabase.
- getReadConcern() - Method in interface com.mongodb.rx.client.gridfs.GridFSBucket
-
Get the read concern for the GridFSBucket.
- getReadConcern() - Method in interface com.mongodb.rx.client.MongoCollection
-
Get the read concern for the MongoCollection.
- getReadConcern() - Method in interface com.mongodb.rx.client.MongoDatabase
-
Get the read concern for the MongoDatabase.
- getReadPreference() - Method in interface com.mongodb.rx.client.gridfs.GridFSBucket
-
Get the read preference for the GridFSBucket.
- getReadPreference() - Method in interface com.mongodb.rx.client.MongoCollection
-
Get the read preference for the MongoCollection.
- getReadPreference() - Method in interface com.mongodb.rx.client.MongoDatabase
-
Get the read preference for the MongoDatabase.
- getSettings() - Method in interface com.mongodb.rx.client.MongoClient
-
Gets the settings that this client uses to connect to server.
- getWriteConcern() - Method in interface com.mongodb.rx.client.gridfs.GridFSBucket
-
Get the write concern for the GridFSBucket.
- getWriteConcern() - Method in interface com.mongodb.rx.client.MongoCollection
-
Get the write concern for the MongoCollection.
- getWriteConcern() - Method in interface com.mongodb.rx.client.MongoDatabase
-
Get the write concern for the MongoDatabase.
- GridFSBucket - Interface in com.mongodb.rx.client.gridfs
-
Represents a GridFS Bucket
- GridFSBuckets - Class in com.mongodb.rx.client.gridfs
-
A factory for GridFSBucket instances.
- GridFSDownloadStream - Interface in com.mongodb.rx.client.gridfs
-
A GridFS InputStream for downloading data from GridFS
- GridFSFindObservable - Interface in com.mongodb.rx.client.gridfs
-
Iterable for the GridFS Files Collection.
- GridFSUploadStream - Interface in com.mongodb.rx.client.gridfs
-
A GridFS OutputStream for uploading data into GridFS
- mapReduce(String, String) - Method in interface com.mongodb.rx.client.MongoCollection
-
Aggregates documents according to the specified map-reduce function.
- mapReduce(String, String, Class<TResult>) - Method in interface com.mongodb.rx.client.MongoCollection
-
Aggregates documents according to the specified map-reduce function.
- MapReduceObservable<TResult> - Interface in com.mongodb.rx.client
-
Observable for map reduce.
- max(Bson) - Method in interface com.mongodb.rx.client.FindObservable
-
Sets the exclusive upper bound for a specific index.
- maxAwaitTime(long, TimeUnit) - Method in interface com.mongodb.rx.client.FindObservable
-
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.rx.client.FindObservable
-
Sets the maximum number of documents or index keys to scan when executing the query.
- maxTime(long, TimeUnit) - Method in interface com.mongodb.rx.client.AggregateObservable
-
Sets the maximum execution time on the server for this operation.
- maxTime(long, TimeUnit) - Method in interface com.mongodb.rx.client.DistinctObservable
-
Sets the maximum execution time on the server for this operation.
- maxTime(long, TimeUnit) - Method in interface com.mongodb.rx.client.FindObservable
-
Sets the maximum execution time on the server for this operation.
- maxTime(long, TimeUnit) - Method in interface com.mongodb.rx.client.gridfs.GridFSFindObservable
-
Sets the maximum execution time on the server for this operation.
- maxTime(long, TimeUnit) - Method in interface com.mongodb.rx.client.ListCollectionsObservable
-
Sets the maximum execution time on the server for this operation.
- maxTime(long, TimeUnit) - Method in interface com.mongodb.rx.client.ListDatabasesObservable
-
Sets the maximum execution time on the server for this operation.
- maxTime(long, TimeUnit) - Method in interface com.mongodb.rx.client.ListIndexesObservable
-
Sets the maximum execution time on the server for this operation.
- maxTime(long, TimeUnit) - Method in interface com.mongodb.rx.client.MapReduceObservable
-
Sets the maximum execution time on the server for this operation.
- min(Bson) - Method in interface com.mongodb.rx.client.FindObservable
-
Sets the minimum inclusive lower bound for a specific index.
- modifiers(Bson) - Method in interface com.mongodb.rx.client.FindObservable
-
- MongoClient - Interface in com.mongodb.rx.client
-
A client-side representation of a MongoDB cluster.
- MongoClients - Class in com.mongodb.rx.client
-
A factory for MongoClient instances.
- MongoCollection<TDocument> - Interface in com.mongodb.rx.client
-
The MongoCollection interface.
- MongoDatabase - Interface in com.mongodb.rx.client
-
The MongoDatabase interface.
- MongoObservable<TResult> - Interface in com.mongodb.rx.client
-
Operations that can produce an Observable to iterate over the results with.
- withChunkSizeBytes(int) - Method in interface com.mongodb.rx.client.gridfs.GridFSBucket
-
Create a new GridFSBucket instance with a new chunk size in bytes.
- withCodecRegistry(CodecRegistry) - Method in interface com.mongodb.rx.client.MongoCollection
-
Create a new MongoCollection instance with a different codec registry.
- withCodecRegistry(CodecRegistry) - Method in interface com.mongodb.rx.client.MongoDatabase
-
Create a new MongoDatabase instance with a different codec registry.
- withDocumentClass(Class<NewTDocument>) - Method in interface com.mongodb.rx.client.MongoCollection
-
Create a new MongoCollection instance with a different default class to cast any documents returned from the database into..
- withObservableAdapter(ObservableAdapter) - Method in interface com.mongodb.rx.client.MongoCollection
-
- withObservableAdapter(ObservableAdapter) - Method in interface com.mongodb.rx.client.MongoDatabase
-
- withReadConcern(ReadConcern) - Method in interface com.mongodb.rx.client.gridfs.GridFSBucket
-
Create a new MongoDatabase instance with a different read concern.
- withReadConcern(ReadConcern) - Method in interface com.mongodb.rx.client.MongoCollection
-
Create a new MongoCollection instance with a different read concern.
- withReadConcern(ReadConcern) - Method in interface com.mongodb.rx.client.MongoDatabase
-
Create a new MongoDatabase instance with a different read concern.
- withReadPreference(ReadPreference) - Method in interface com.mongodb.rx.client.gridfs.GridFSBucket
-
Create a new GridFSBucket instance with a different read preference.
- withReadPreference(ReadPreference) - Method in interface com.mongodb.rx.client.MongoCollection
-
Create a new MongoCollection instance with a different read preference.
- withReadPreference(ReadPreference) - Method in interface com.mongodb.rx.client.MongoDatabase
-
Create a new MongoDatabase instance with a different read preference.
- withWriteConcern(WriteConcern) - Method in interface com.mongodb.rx.client.gridfs.GridFSBucket
-
Create a new GridFSBucket instance with a different write concern.
- withWriteConcern(WriteConcern) - Method in interface com.mongodb.rx.client.MongoCollection
-
Create a new MongoCollection instance with a different write concern.
- withWriteConcern(WriteConcern) - Method in interface com.mongodb.rx.client.MongoDatabase
-
Create a new MongoDatabase instance with a different write concern.
- write(ByteBuffer) - Method in interface com.mongodb.rx.client.gridfs.AsyncOutputStream
-
Writes a sequence of bytes from the given buffer into this stream.