Packages 
Package Description
com.mongodb
The core mongodb package
com.mongodb.annotations
Contains annotations that can apply to any part of the driver code.
com.mongodb.assertions
Contains design by contract assertions
com.mongodb.async
This package contains async interfaces
com.mongodb.async.client
This packages contains classes for the new async client
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
Contains helper classes to create AsyncInputStream and AsyncOutputStream's from external sources.
com.mongodb.binding
This package contains classes that manage binding to MongoDB servers for various operations.
com.mongodb.bulk
Contains classes for representing the result of a bulk write operation.
com.mongodb.client
This package contains the synchronous CRUD API.
com.mongodb.client.gridfs
This package contains the new GridFS implementation
com.mongodb.client.gridfs.codecs
This package contains codecs for use with GridFS
com.mongodb.client.gridfs.model
This package contains models for use with GridFS
com.mongodb.client.jndi
This package contains a JNDI ObjectFactory implementation.
com.mongodb.client.model
This package contains models and options that help describe MongoCollection operations
com.mongodb.client.model.changestream
This package contains classes for the change stream api
com.mongodb.client.model.geojson
This package contains classes that represent GeoJSON objects.
com.mongodb.client.model.geojson.codecs
This package contains classes that encode and decode GeoJSON objects.
com.mongodb.client.result
This package contains classes representing operation results
com.mongodb.connection
Contains classes that manage connecting to MongoDB servers.
com.mongodb.connection.netty
This package contains netty specific classes
com.mongodb.diagnostics.logging
This package contains logging classes
com.mongodb.embedded.client
This packages contains classes for the embedded client
com.mongodb.event
This package contains cluster and connection event related classes
com.mongodb.gridfs
Contains the classes for supporting MongoDB's specification for storing very large files, GridFS.
com.mongodb.lang
This package contains JSR 305-compatible annotations related to nullability.
com.mongodb.management
Contains classes for monitoring the server/driver via Java Management Extensions (JMX).
com.mongodb.operation
The core of the MongoDB driver works via operations, using the command pattern.
com.mongodb.selector
Contains classes that determine how to select the server to connect to in order to send commands or queries.
com.mongodb.session
Contains classes related to sessions
com.mongodb.util
Contains classes that can be used everywhere in the driver, and have no specific domain.
org.bson
Contains the base BSON classes.
org.bson.assertions
This package contains design by contract assertions
org.bson.codecs
This package contains all the default BSON codecs.
org.bson.codecs.configuration
This package contains codec configurations and the codec registry helper
org.bson.codecs.jsr310
This package contains classes specific to the JSR-310 Date and Time API
org.bson.codecs.pojo
This package contains classes specific to mapping user POJOs.
org.bson.codecs.pojo.annotations
This package defines various annotations used by the driver provided when used in conjunction with the Conventions.ANNOTATION_CONVENTION.
org.bson.conversions
This package contains the Bson interface
org.bson.diagnostics
Contains the classes for visibility of the BSON layer, for example Logging.
org.bson.io
Contains classes implementing I/O operations used by BSON objects.
org.bson.json
JSON serialization and deserialization.
org.bson.types
Contains classes implementing various BSON types.
org.bson.util
Contains helper classes for working with the BSON protocol.