Interface ExecutableMutateInByIdOperation.MutateInByIdWithPaths<T>
- All Superinterfaces:
ExecutableMutateInByIdOperation.TerminatingMutateInById<T>,OneAndAllEntity<T>,WithMutateInPaths<T>
- All Known Subinterfaces:
ExecutableMutateInByIdOperation.ExecutableMutateInById<T>,ExecutableMutateInByIdOperation.MutateInByIdInCollection<T>,ExecutableMutateInByIdOperation.MutateInByIdInScope<T>,ExecutableMutateInByIdOperation.MutateInByIdWithDurability<T>,ExecutableMutateInByIdOperation.MutateInByIdWithExpiry<T>,ExecutableMutateInByIdOperation.MutateInByIdWithOptions<T>
- Enclosing interface:
- ExecutableMutateInByIdOperation
public static interface ExecutableMutateInByIdOperation.MutateInByIdWithPaths<T>
extends ExecutableMutateInByIdOperation.TerminatingMutateInById<T>, WithMutateInPaths<T>
-
Method Summary
Modifier and TypeMethodDescriptionMarks that the CAS value should be provided with the mutations to protect against concurrent modifications.withInsertPaths(String... insertPaths) Adds given paths to insert mutations.withRemovePaths(String... removePaths) Adds given paths to remove mutations.withReplacePaths(String... replacePaths) Adds given paths to replace mutations.withUpsertPaths(String... upsertPaths) Adds given paths to upsert mutations.Methods inherited from interface org.springframework.data.couchbase.core.ExecutableMutateInByIdOperation.TerminatingMutateInById
all, one
-
Method Details
-
withRemovePaths
Adds given paths to remove mutations. SeeRemovefor more details.- Specified by:
withRemovePathsin interfaceWithMutateInPaths<T>- Parameters:
removePaths- The property paths to removed from document.
-
withInsertPaths
Adds given paths to insert mutations. SeeInsertfor more details.- Specified by:
withInsertPathsin interfaceWithMutateInPaths<T>- Parameters:
insertPaths- The property paths to be inserted into the document.
-
withUpsertPaths
Adds given paths to upsert mutations. SeeUpsertfor more details.- Specified by:
withUpsertPathsin interfaceWithMutateInPaths<T>- Parameters:
upsertPaths- The property paths to be upserted into the document.
-
withReplacePaths
Adds given paths to replace mutations. SeeReplacefor more details.- Specified by:
withReplacePathsin interfaceWithMutateInPaths<T>- Parameters:
replacePaths- The property paths to be replaced in the document.
-
withCasProvided
ExecutableMutateInByIdOperation.MutateInByIdWithPaths<T> withCasProvided()Marks that the CAS value should be provided with the mutations to protect against concurrent modifications. By default the CAS value is not provided.
-