Package com.mongodb.client
This package contains the synchronous CRUD API.
-
Interface Summary Interface Description AggregateIterable<TResult> Iterable for aggregate.ChangeStreamIterable<TResult> Iterable for change streams.ClientSession A client session that supports transactions.DistinctIterable<TResult> Iterable interface for distinct.FindIterable<TResult> Iterable for find.ListCollectionsIterable<TResult> Iterable for ListCollections.ListDatabasesIterable<TResult> Iterable for ListDatabases.ListIndexesIterable<TResult> Iterable for ListIndexes.MapReduceIterable<TResult> Deprecated. Superseded by aggregateMongoChangeStreamCursor<TResult> The Mongo Cursor interface for change streams implementing the iterator protocol.MongoClient A client-side representation of a MongoDB cluster.MongoCollection<TDocument> The MongoCollection interface.MongoCursor<TResult> The Mongo Cursor interface implementing the iterator protocol.MongoDatabase The MongoDatabase interface.MongoIterable<TResult> The MongoIterable is the results from an operation, such as a query.SynchronousContextProvider AContextProvider
for synchronous clients.TransactionBody<T> A functional interface representing the body of a transaction. -
Class Summary Class Description MongoClientFactory A JNDI ObjectFactory forMongoClient
instances.MongoClients A factory forMongoClient
instances.