Uses of Interface
org.springframework.data.mongodb.core.MongoOperations
Package
Description
MongoDB core support.
CDI support for MongoDB specific repository implementation.
Query derivation mechanism for MongoDB specific repositories.
Support infrastructure for query derivation of MongoDB specific repositories.
-
Uses of MongoOperations in org.springframework.data.mongodb.core
Modifier and TypeMethodDescriptionMongoOperations.withSession
(com.mongodb.client.ClientSession session) Obtain aClientSession
bound instance ofMongoOperations
.Modifier and TypeMethodDescriptionSessionCallback.doInSession
(MongoOperations operations) Execute operations against a MongoDB instance via session boundMongoOperations
.ModifierConstructorDescriptionDefaultIndexOperations
(MongoOperations mongoOperations, String collectionName, Class<?> type) Creates a newDefaultIndexOperations
. -
Uses of MongoOperations in org.springframework.data.mongodb.repository.cdi
ModifierConstructorDescriptionMongoRepositoryBean
(jakarta.enterprise.inject.spi.Bean<MongoOperations> operations, Set<Annotation> qualifiers, Class<T> repositoryType, jakarta.enterprise.inject.spi.BeanManager beanManager, Optional<CustomRepositoryImplementationDetector> detector) Creates a newMongoRepositoryBean
. -
Uses of MongoOperations in org.springframework.data.mongodb.repository.query
ModifierConstructorDescriptionAbstractMongoQuery
(MongoQueryMethod method, MongoOperations operations, ExpressionParser expressionParser, QueryMethodEvaluationContextProvider evaluationContextProvider) PartTreeMongoQuery
(MongoQueryMethod method, MongoOperations mongoOperations, ExpressionParser expressionParser, QueryMethodEvaluationContextProvider evaluationContextProvider) StringBasedAggregation
(MongoQueryMethod method, MongoOperations mongoOperations, ExpressionParser expressionParser, QueryMethodEvaluationContextProvider evaluationContextProvider) StringBasedMongoQuery
(String query, MongoQueryMethod method, MongoOperations mongoOperations, ExpressionParser expressionParser, QueryMethodEvaluationContextProvider evaluationContextProvider) Creates a newStringBasedMongoQuery
for the givenString
,MongoQueryMethod
,MongoOperations
,SpelExpressionParser
andQueryMethodEvaluationContextProvider
.StringBasedMongoQuery
(MongoQueryMethod method, MongoOperations mongoOperations, ExpressionParser expressionParser, QueryMethodEvaluationContextProvider evaluationContextProvider) Creates a newStringBasedMongoQuery
for the givenMongoQueryMethod
,MongoOperations
,SpelExpressionParser
andQueryMethodEvaluationContextProvider
. -
Uses of MongoOperations in org.springframework.data.mongodb.repository.support
Modifier and TypeMethodDescriptionprotected RepositoryFactorySupport
MongoRepositoryFactoryBean.getFactoryInstance
(MongoOperations operations) Creates and initializes aRepositoryFactorySupport
instance.MongoRepositoryFactory.getRepositoryFragments
(RepositoryMetadata metadata, MongoOperations operations) CreatesRepositoryComposition.RepositoryFragments
based onRepositoryMetadata
to add Mongo-specific extensions.void
MongoRepositoryFactoryBean.setMongoOperations
(MongoOperations operations) Configures theMongoOperations
to be used.ModifierConstructorDescriptionMongoRepositoryFactory
(MongoOperations mongoOperations) Creates a newMongoRepositoryFactory
with the givenMongoOperations
.QuerydslMongoPredicateExecutor
(MongoEntityInformation<T, ?> entityInformation, MongoOperations mongoOperations) Creates a newQuerydslMongoPredicateExecutor
for the givenMongoEntityInformation
andMongoOperations
.QuerydslMongoPredicateExecutor
(MongoEntityInformation<T, ?> entityInformation, MongoOperations mongoOperations, EntityPathResolver resolver) Creates a newQuerydslMongoPredicateExecutor
for the givenMongoEntityInformation
,MongoOperations
andEntityPathResolver
.QuerydslRepositorySupport
(MongoOperations operations) Creates a newQuerydslRepositorySupport
for the givenMongoOperations
.SimpleMongoRepository
(MongoEntityInformation<T, ID> metadata, MongoOperations mongoOperations) SpringDataMongodbQuery
(MongoOperations operations, Class<? extends T> type) Creates a newSpringDataMongodbQuery
.SpringDataMongodbQuery
(MongoOperations operations, Class<? extends T> type, String collectionName) Creates a newSpringDataMongodbQuery
to query the given collection.