Uses of Class
org.springframework.data.mongodb.core.ReplaceOptions
Packages that use ReplaceOptions
-
Uses of ReplaceOptions in org.springframework.data.mongodb.core
Subclasses of ReplaceOptions in org.springframework.data.mongodb.coreMethods in org.springframework.data.mongodb.core that return ReplaceOptionsModifier and TypeMethodDescriptionstatic ReplaceOptions
ReplaceOptions.none()
Static factory method returning an unmodifiableReplaceOptions
instance.static ReplaceOptions
ReplaceOptions.replaceOptions()
Static factory method to create aReplaceOptions
instance.ReplaceOptions.upsert()
Insert a new document if not exists.Methods in org.springframework.data.mongodb.core with parameters of type ReplaceOptionsModifier and TypeMethodDescriptiondefault <T> com.mongodb.client.result.UpdateResult
MongoOperations.replace
(Query query, T replacement, ReplaceOptions options) Replace a single document matching theCriteria
of givenQuery
with thereplacement
document takingReplaceOptions
into account.<T> com.mongodb.client.result.UpdateResult
MongoOperations.replace
(Query query, T replacement, ReplaceOptions options, String collectionName) Replace a single document matching theCriteria
of givenQuery
with thereplacement
document takingReplaceOptions
into account.protected <S,
T> com.mongodb.client.result.UpdateResult MongoTemplate.replace
(Query query, Class<S> entityType, T replacement, ReplaceOptions options, String collectionName) <T> com.mongodb.client.result.UpdateResult
MongoTemplate.replace
(Query query, T replacement, ReplaceOptions options, String collectionName) default <T> reactor.core.publisher.Mono<com.mongodb.client.result.UpdateResult>
ReactiveMongoOperations.replace
(Query query, T replacement, ReplaceOptions options) Replace a single document matching theCriteria
of givenQuery
with thereplacement
document takingReplaceOptions
into account.<T> reactor.core.publisher.Mono<com.mongodb.client.result.UpdateResult>
ReactiveMongoOperations.replace
(Query query, T replacement, ReplaceOptions options, String collectionName) Replace a single document matching theCriteria
of givenQuery
with thereplacement
document takingReplaceOptions
into account.protected <S,
T> reactor.core.publisher.Mono<com.mongodb.client.result.UpdateResult> ReactiveMongoTemplate.replace
(Query query, Class<S> entityType, T replacement, ReplaceOptions options, String collectionName) <T> reactor.core.publisher.Mono<com.mongodb.client.result.UpdateResult>
ReactiveMongoTemplate.replace
(Query query, T replacement, ReplaceOptions options, String collectionName) ExecutableUpdateOperation.ReplaceWithOptions.withOptions
(ReplaceOptions options) Explicitly defineReplaceOptions
.ReactiveUpdateOperation.ReplaceWithOptions.withOptions
(ReplaceOptions options) Explicitly defineReplaceOptions
.