Uses of Interface
org.springframework.data.mongodb.core.query.UpdateDefinition
Packages that use UpdateDefinition
Package
Description
MongoDB core support.
Support for the MongoDB aggregation framework.
MongoDB specific query and update support.
Query derivation mechanism for MongoDB specific repositories.
-
Uses of UpdateDefinition in org.springframework.data.mongodb.core
Methods in org.springframework.data.mongodb.core that return UpdateDefinitionMethods in org.springframework.data.mongodb.core with parameters of type UpdateDefinitionModifier and TypeMethodDescriptionExecutableUpdateOperation.UpdateWithUpdate.apply(UpdateDefinition update) Set theUpdateDefinitionto be applied.ReactiveUpdateOperation.UpdateWithUpdate.apply(UpdateDefinition update) Set theUpdateDefinitionto be applied.protected <T> TMongoTemplate.doFindAndModify(CollectionPreparer collectionPreparer, String collectionName, Document query, Document fields, Document sort, Class<T> entityClass, UpdateDefinition update, FindAndModifyOptions options) protected <T> Mono<T>ReactiveMongoTemplate.doFindAndModify(String collectionName, CollectionPreparer<MongoCollection<Document>> collectionPreparer, Document query, Document fields, Document sort, Class<T> entityClass, UpdateDefinition update, FindAndModifyOptions options) protected UpdateResultMongoTemplate.doUpdate(String collectionName, Query query, UpdateDefinition update, Class<?> entityClass, boolean upsert, boolean multi) protected Mono<UpdateResult>ReactiveMongoTemplate.doUpdate(String collectionName, Query query, UpdateDefinition update, Class<?> entityClass, boolean upsert, boolean multi) <T> TMongoOperations.findAndModify(Query query, UpdateDefinition update, Class<T> entityClass) <T> TMongoOperations.findAndModify(Query query, UpdateDefinition update, Class<T> entityClass, String collectionName) <T> TMongoOperations.findAndModify(Query query, UpdateDefinition update, FindAndModifyOptions options, Class<T> entityClass) Triggers findAndModify to apply providedUpdateon documents matchingCriteriaof givenQuerytakingFindAndModifyOptionsinto account.<T> TMongoOperations.findAndModify(Query query, UpdateDefinition update, FindAndModifyOptions options, Class<T> entityClass, String collectionName) Triggers findAndModify to apply providedUpdateon documents matchingCriteriaof givenQuerytakingFindAndModifyOptionsinto account.<T> TMongoTemplate.findAndModify(Query query, UpdateDefinition update, Class<T> entityClass) <T> TMongoTemplate.findAndModify(Query query, UpdateDefinition update, Class<T> entityClass, String collectionName) <T> TMongoTemplate.findAndModify(Query query, UpdateDefinition update, FindAndModifyOptions options, Class<T> entityClass) <T> TMongoTemplate.findAndModify(Query query, UpdateDefinition update, FindAndModifyOptions options, Class<T> entityClass, String collectionName) <T> Mono<T>ReactiveMongoOperations.findAndModify(Query query, UpdateDefinition update, Class<T> entityClass) <T> Mono<T>ReactiveMongoOperations.findAndModify(Query query, UpdateDefinition update, Class<T> entityClass, String collectionName) <T> Mono<T>ReactiveMongoOperations.findAndModify(Query query, UpdateDefinition update, FindAndModifyOptions options, Class<T> entityClass) Triggers findAndModify to apply providedUpdateon documents matchingCriteriaof givenQuerytakingFindAndModifyOptionsinto account.<T> Mono<T>ReactiveMongoOperations.findAndModify(Query query, UpdateDefinition update, FindAndModifyOptions options, Class<T> entityClass, String collectionName) Triggers findAndModify to apply providedUpdateon documents matchingCriteriaof givenQuerytakingFindAndModifyOptionsinto account.<T> Mono<T>ReactiveMongoTemplate.findAndModify(Query query, UpdateDefinition update, Class<T> entityClass) <T> Mono<T>ReactiveMongoTemplate.findAndModify(Query query, UpdateDefinition update, Class<T> entityClass, String collectionName) <T> Mono<T>ReactiveMongoTemplate.findAndModify(Query query, UpdateDefinition update, FindAndModifyOptions options, Class<T> entityClass) <T> Mono<T>ReactiveMongoTemplate.findAndModify(Query query, UpdateDefinition update, FindAndModifyOptions options, Class<T> entityClass, String collectionName) MongoOperations.updateFirst(Query query, UpdateDefinition update, Class<?> entityClass) Updates the first object that is found in the collection of the entity class that matches the query document with the provided update document.MongoOperations.updateFirst(Query query, UpdateDefinition update, Class<?> entityClass, String collectionName) Updates the first object that is found in the specified collection that matches the query document criteria with the provided updated document.MongoOperations.updateFirst(Query query, UpdateDefinition update, String collectionName) Updates the first object that is found in the specified collection that matches the query document criteria with the provided updated document.MongoTemplate.updateFirst(Query query, UpdateDefinition update, Class<?> entityClass) MongoTemplate.updateFirst(Query query, UpdateDefinition update, Class<?> entityClass, String collectionName) MongoTemplate.updateFirst(Query query, UpdateDefinition update, String collectionName) ReactiveMongoOperations.updateFirst(Query query, UpdateDefinition update, Class<?> entityClass) Updates the first object that is found in the collection of the entity class that matches the query document with the provided update document.ReactiveMongoOperations.updateFirst(Query query, UpdateDefinition update, Class<?> entityClass, String collectionName) Updates the first object that is found in the specified collection that matches the query document criteria with the provided updated document.ReactiveMongoOperations.updateFirst(Query query, UpdateDefinition update, String collectionName) Updates the first object that is found in the specified collection that matches the query document criteria with the provided updated document.ReactiveMongoTemplate.updateFirst(Query query, UpdateDefinition update, Class<?> entityClass) ReactiveMongoTemplate.updateFirst(Query query, UpdateDefinition update, Class<?> entityClass, String collectionName) ReactiveMongoTemplate.updateFirst(Query query, UpdateDefinition update, String collectionName) BulkOperations.updateMulti(Query query, UpdateDefinition update) Add a single update to the bulk operation.MongoOperations.updateMulti(Query query, UpdateDefinition update, Class<?> entityClass) Updates all objects that are found in the collection for the entity class that matches the query document criteria with the provided updated document.MongoOperations.updateMulti(Query query, UpdateDefinition update, Class<?> entityClass, String collectionName) Updates all objects that are found in the collection for the entity class that matches the query document criteria with the provided updated document.MongoOperations.updateMulti(Query query, UpdateDefinition update, String collectionName) Updates all objects that are found in the specified collection that matches the query document criteria with the provided updated document.MongoTemplate.updateMulti(Query query, UpdateDefinition update, Class<?> entityClass) MongoTemplate.updateMulti(Query query, UpdateDefinition update, Class<?> entityClass, String collectionName) MongoTemplate.updateMulti(Query query, UpdateDefinition update, String collectionName) ReactiveBulkOperations.updateMulti(Query query, UpdateDefinition update) Add a single update to the bulk operation.ReactiveMongoOperations.updateMulti(Query query, UpdateDefinition update, Class<?> entityClass) Updates all objects that are found in the collection for the entity class that matches the query document criteria with the provided updated document.ReactiveMongoOperations.updateMulti(Query query, UpdateDefinition update, Class<?> entityClass, String collectionName) Updates all objects that are found in the collection for the entity class that matches the query document criteria with the provided updated document.ReactiveMongoOperations.updateMulti(Query query, UpdateDefinition update, String collectionName) Updates all objects that are found in the specified collection that matches the query document criteria with the provided updated document.ReactiveMongoTemplate.updateMulti(Query query, UpdateDefinition update, Class<?> entityClass) ReactiveMongoTemplate.updateMulti(Query query, UpdateDefinition update, Class<?> entityClass, String collectionName) ReactiveMongoTemplate.updateMulti(Query query, UpdateDefinition update, String collectionName) BulkOperations.updateOne(Query query, UpdateDefinition update) Add a single update to the bulk operation.ReactiveBulkOperations.updateOne(Query query, UpdateDefinition update) Add a single update to the bulk operation.BulkOperations.upsert(Query query, UpdateDefinition update) Add a single upsert to the bulk operation.MongoOperations.upsert(Query query, UpdateDefinition update, Class<?> entityClass) Performs an upsert.MongoOperations.upsert(Query query, UpdateDefinition update, Class<?> entityClass, String collectionName) Performs an upsert.MongoOperations.upsert(Query query, UpdateDefinition update, String collectionName) Performs an upsert.MongoTemplate.upsert(Query query, UpdateDefinition update, Class<?> entityClass) MongoTemplate.upsert(Query query, UpdateDefinition update, Class<?> entityClass, String collectionName) MongoTemplate.upsert(Query query, UpdateDefinition update, String collectionName) ReactiveBulkOperations.upsert(Query query, UpdateDefinition update) Add a single upsert to the bulk operation.ReactiveMongoOperations.upsert(Query query, UpdateDefinition update, Class<?> entityClass) Performs an upsert.ReactiveMongoOperations.upsert(Query query, UpdateDefinition update, Class<?> entityClass, String collectionName) Performs an upsert.ReactiveMongoOperations.upsert(Query query, UpdateDefinition update, String collectionName) Performs an upsert.ReactiveMongoTemplate.upsert(Query query, UpdateDefinition update, Class<?> entityClass) ReactiveMongoTemplate.upsert(Query query, UpdateDefinition update, Class<?> entityClass, String collectionName) ReactiveMongoTemplate.upsert(Query query, UpdateDefinition update, String collectionName) Method parameters in org.springframework.data.mongodb.core with type arguments of type UpdateDefinitionModifier and TypeMethodDescriptionBulkOperations.updateMulti(List<Pair<Query, UpdateDefinition>> updates) Add a list of updates to the bulk operation.BulkOperations.updateOne(List<Pair<Query, UpdateDefinition>> updates) Add a list of updates to the bulk operation. -
Uses of UpdateDefinition in org.springframework.data.mongodb.core.aggregation
Classes in org.springframework.data.mongodb.core.aggregation that implement UpdateDefinitionModifier and TypeClassDescriptionclassAbstraction fordb.collection.update()using an aggregation pipeline. -
Uses of UpdateDefinition in org.springframework.data.mongodb.core.query
Classes in org.springframework.data.mongodb.core.query that implement UpdateDefinitionModifier and TypeClassDescriptionclassclassClass to easily construct MongoDB update clauses. -
Uses of UpdateDefinition in org.springframework.data.mongodb.repository.query
Methods in org.springframework.data.mongodb.repository.query that return UpdateDefinitionModifier and TypeMethodDescriptionprotected UpdateDefinitionAbstractMongoQuery.createUpdate(ConvertingParameterAccessor accessor) ConvertingParameterAccessor.getUpdate()MongoParameterAccessor.getUpdate()Returns theUpdateto be used for an update execution.MongoParametersParameterAccessor.getUpdate()Methods in org.springframework.data.mongodb.repository.query that return types with arguments of type UpdateDefinitionModifier and TypeMethodDescriptionprotected Mono<UpdateDefinition>AbstractReactiveMongoQuery.createUpdate(MongoParameterAccessor accessor)