Package org.springframework.data.mongodb
@NonNullApi
package org.springframework.data.mongodb
Spring Data's MongoDB abstraction.
-
ClassDescriptionA
MongoExpression
using theParameterBindingDocumentCodec
for parsing a raw (json) expression.Is thrown when errors occur during bulk operations.NonTransientDataAccessException
specific to MongoDBClientSession
related data access failures such as reading data using an already closed session.Provider interface to obtainCodecRegistry
from the underlying MongoDB Java driver.Helper class featuring helper methods for working with MongoDb collections.Interface for factories creatingMongoDatabase
instances.Helper class for managing aMongoDatabase
instances viaMongoDatabaseFactory
.Wrapper object for MongoDB expressions like$toUpper : $name
that manifest asDocument
when passed on to the driver.A simple interface for obtaining aClientSession
to be consumed byMongoOperations
and MongoDB native operations that support causal consistency and transactions.A specificClientSessionException
related to issues with a transaction such as aborted or non existing transactions.APlatformTransactionManager
implementation that managesClientSession
based transactions for a singleMongoDatabaseFactory
.MongoDB specific transaction object, representing aMongoResourceHolder
.Options to be applied within a specific transaction scope.ATransactionOptionResolver
reading MongoDB specifictransaction options
from aTransactionDefinition
.Interface for factories creating reactiveMongoDatabase
instances.Helper class for managing reactiveMongoDatabase
instances viaReactiveMongoDatabaseFactory
.AReactiveTransactionManager
implementation that managesClientSession
based transactions for a singleReactiveMongoDatabaseFactory
.MongoDB specific transaction object, representing aMongoResourceHolder
.MethodInterceptor
implementation looking up and invoking an alternative target method havingClientSession
as its first argument.Represents an operation upon two operands of the same type, producing a result of the same type as the operands acceptingClientSession
.SessionSynchronization
is used along withMongoTemplate
to define in which type of transactions to participate if any.Class that exposes the SpringData MongoDB specific information like the currentVersion
ordriver information
.MongoDB-specific transaction metadata.TransientDataAccessException
specific to MongoDBClientSession
related data access failures such as reading data using an already closed session.Root of the hierarchy of MongoDB specific data access exceptions that are considered transient such asMongoExceptions
carryingspecific labels
.