Package org.springframework.data.mongodb.core
@NonNullApi
package org.springframework.data.mongodb.core
MongoDB core support.
-
ClassDescriptionBulk operations for insert/update/remove actions on a collection.Mode for bulk operation.
Message
implementation specific to MongoDB Change Streams.Options applicable to MongoDB Change Streams.Builder for creatingChangeStreamOptions
.Callback interface for executing actions against aMongoCollection
.Provides a simple wrapper to encapsulate the variety of settings you can use when creating a collection.Encapsulation of options applied to define collections change stream behaviour.Options applicable to Time Series collections.Encapsulation of ValidationOptions options.Simple callback interface to allow customization of aFindIterable
.DbCallback<T>Callback interface for executing actions against aMongoDatabase
.Default implementation ofIndexOperations
.Default implementation ofReactiveIndexOperations
.An interface used byMongoTemplate
for processing documents returned from a MongoDB query on a per-document basis.Encryption algorithms supported by MongoDB Client Side Field Level Encryption.ExecutableAggregationOperation
allows creation and execution of MongoDB aggregation operations in a fluent API style.Define the aggregation with pipeline stages.Collection override (Optional).Trigger execution by calling one of the terminating methods.ExecutableFindOperation
allows creation and execution of MongoDB find operations in a fluent API style.Result type override.Result restrictions.ExecutableFindOperation.ExecutableFind
provides methods for constructing lookup operations in a fluent way.Distinct Find support.Collection override (Optional).Result type override (Optional).Terminating operations invoking the actual query execution.Terminating distinct find operations.Trigger find execution by calling one of the terminating methods.Trigger geonear execution by calling one of the terminating methods.ExecutableInsertOperation
allows creation and execution of MongoDB insert and bulk insert operations in a fluent API style.Collection override (optional).Trigger bulk insert execution by calling one of the terminating methods.Trigger insert execution by calling one of the terminating methods.ExecutableMapReduceOperation
allows creation and execution of MongoDB mapReduce operations in a fluent API style.ExecutableMapReduceOperation.ExecutableMapReduce
provides methods for constructing mapReduce operations in a fluent way.Collection override (Optional).Provide the Javascriptfunction()
used to map matching documents.Deprecated.since 4.0 in favor oforg.springframework.data.mongodb.core.aggregation
.Result type override (Optional).Input document filter query (Optional).Provide the Javascriptfunction()
used to reduce matching documents.Trigger mapReduce execution by calling one of the terminating methods.ExecutableRemoveOperation
allows creation and execution of MongoDB remove / findAndRemove operations in a fluent API style.Collection override (optional).ExecutableUpdateOperation
allows creation and execution of MongoDB update / findAndModify / findAndReplace operations in a fluent API style.DefineFindAndModifyOptions
.DefineFindAndReplaceOptions
.Result type override (Optional).Trigger findAndModify execution by calling one of the terminating methods.Trigger findOneAndReplace execution by calling one of the terminating methods.Trigger update execution by calling one of the terminating methods.Explicitly define the name of the collection to perform operation in.Define a filter query for theUpdate
.Declare theUpdate
to apply.Options for findOneAndReplace.Simple callback interface to allow customization of aFindPublisher
.Stripped down interface providing access to a fluent API that specifies a basic set of MongoDB operations.A MongoDB document in its mapped state.Represents an action taken against the collection.Enumeration for operations on a collection.Mongo server administration exposed via JMX annotationsConvenient factory for configuring MongoDB.A factory bean for construction of aMongoClientSettings
instance to be used with a MongoDB driver.Common base class for usage with bothMongoClients
defining common properties such as database name and exception translator.Mongo-specificDataIntegrityViolationException
.SimplePersistenceExceptionTranslator
for Mongo.MongoJsonSchemaCreator
extracts theMongoJsonSchema
for a givenClass
by applying the following mapping rules.The context in which a specificMongoJsonSchemaCreator.JsonSchemaPropertyContext.getProperty()
is encountered during schema creation.Interface that specifies a basic set of MongoDB operations.Primary implementation ofMongoOperations
.ReactiveAggregationOperation
allows creation and execution of reactive MongoDB aggregation operations in a fluent API style.Define the aggregation with pipeline stages.Collection override (optional).Trigger execution by calling one of the terminating methods.ReactiveChangeStreamOperation
allows creation and execution of reactive MongoDB Change Stream operations in a fluent API style.Collection override (optional).Provide a filter for limiting results (optional).Provide some options.ReactiveChangeStreamOperation.ReactiveChangeStream
provides methods for constructing change stream operations in a fluent way.Resume a change stream.Compose change stream execution by calling one of the terminating methods.ReactiveFindOperation
allows creation and execution of reactive MongoDB find operations in a fluent API style.Result type override.Result restrictions.Distinct Find support.Collection override (optional).Result type override (optional).Provide aQuery
override (optional).ReactiveFindOperation.ReactiveFind
provides methods for constructing lookup operations in a fluent way.Terminating distinct find operations.Compose find execution by calling one of the terminating methods.Compose geonear execution by calling one of the terminating methods.Stripped down interface providing access to a fluent API that specifies a basic set of reactive MongoDB operations.ReactiveInsertOperation
allows creation and execution of reactive MongoDB insert and bulk insert operations in a fluent API style.Collection override (optional).Compose insert execution by calling one of the terminating methods.ReactiveMapReduceOperation
allows creation and execution of MongoDB mapReduce operations in a fluent API style.Collection override (Optional).Provide the Javascriptfunction()
used to map matching documents.Additional mapReduce options (Optional).Result type override (Optional).Input document filter query (Optional).Provide the Javascriptfunction()
used to reduce matching documents.ReactiveMapReduceOperation.ReactiveMapReduce
provides methods for constructing reactive mapReduce operations in a fluent way.Trigger mapReduce execution by calling one of the terminating methods.Convenient factory for configuring a reactive streamsMongoClient
.ReactiveMongoContext
utilizes and enriches the ReactorContext
with information potentially required for e.g.Interface that specifies a basic set of MongoDB operations executed in a reactive way.Primary implementation ofReactiveMongoOperations
.ReactiveRemoveOperation
allows creation and execution of reactive MongoDB remove / findAndRemove operations in a fluent API style.Collection override (optional).Provide aQuery
override (optional).Compose remove execution by calling one of the terminating methods.Callback interface for executing operations within aClientSession
using reactive infrastructure.Gateway interface to executeClientSession
bound operations against MongoDB via aReactiveSessionCallback
.ReactiveUpdateOperation
allows creation and execution of reactive MongoDB update / findAndModify / findAndReplace operations in a fluent API style.DefineFindAndModifyOptions
(optional).DefineFindAndReplaceOptions
.Result type override (Optional).Compose findAndModify execution by calling one of the terminating methods.Compose findAndReplace execution by calling one of the terminating methods.Compose update execution by calling one of the terminating methods.Explicitly define the name of the collection to perform operation in (optional).Define a filter query for theUpdate
(optional).Declare theUpdate
to apply.Interface to be implemented by any object that wishes to expose theReadPreference
.Deprecated.since 2.2.Callback interface for executing operations within aClientSession
.Gateway interface to executeClientSession
bound operations against MongoDB via aSessionCallback
.Factory to createMongoDatabase
instances from aMongoClient
instance.Factory to createMongoDatabase
instances from aMongoClient
instance.Immutable object holding additional options to be applied when creating a MongoDB views.A strategy interface to determine theWriteConcern
to use for a givenMongoAction
.Enum to represent how strict the check ofWriteConcernResult
shall be.