Uses of Class
com.azure.cosmos.models.CosmosPatchOperations
Packages that use CosmosPatchOperations
Package
Description
This package provides interfaces for interacting with Azure Cosmos DB.
This package provides rest contracts for interacting with Azure Cosmos DB SQL APIs.
-
Uses of CosmosPatchOperations in com.azure.cosmos
Methods in com.azure.cosmos with parameters of type CosmosPatchOperationsModifier and TypeMethodDescription<T> Mono<CosmosItemResponse<T>>
CosmosAsyncContainer.patchItem
(String itemId, PartitionKey partitionKey, CosmosPatchOperations cosmosPatchOperations, CosmosPatchItemRequestOptions options, Class<T> itemType) Run partial update that modifies specific properties or fields of the item without replacing the entire item.<T> Mono<CosmosItemResponse<T>>
CosmosAsyncContainer.patchItem
(String itemId, PartitionKey partitionKey, CosmosPatchOperations cosmosPatchOperations, Class<T> itemType) Run partial update that modifies specific properties or fields of the item without replacing the entire item.<T> CosmosItemResponse<T>
CosmosContainer.patchItem
(String itemId, PartitionKey partitionKey, CosmosPatchOperations cosmosPatchOperations, CosmosPatchItemRequestOptions options, Class<T> itemType) Run partial update that modifies specific properties or fields of the item without replacing the entire item.<T> CosmosItemResponse<T>
CosmosContainer.patchItem
(String itemId, PartitionKey partitionKey, CosmosPatchOperations cosmosPatchOperations, Class<T> itemType) Run partial update that modifies specific properties or fields of the item without replacing the entire item. -
Uses of CosmosPatchOperations in com.azure.cosmos.models
Methods in com.azure.cosmos.models that return CosmosPatchOperationsModifier and TypeMethodDescriptionThis performs one of the following functions, depending upon what the target location references: 1.static CosmosPatchOperations
CosmosPatchOperations.create()
Initializes a new instance ofCosmosPatchOperations
that will contain operations to be performed on a item atomically.This increment the value at the target location.This increment the value at the target location.This moves the value of an object from the source to a destination.This removes the value at the target location.This replaces the value at the target location with a new value.This sets the value at the target location with a new value.Methods in com.azure.cosmos.models with parameters of type CosmosPatchOperationsModifier and TypeMethodDescriptionstatic CosmosItemOperation
CosmosBulkOperations.getPatchItemOperation
(String id, PartitionKey partitionKey, CosmosPatchOperations cosmosPatchOperations) Instantiate an operation for a patch in Bulk execution.static CosmosItemOperation
CosmosBulkOperations.getPatchItemOperation
(String id, PartitionKey partitionKey, CosmosPatchOperations cosmosPatchOperations, CosmosBulkPatchItemRequestOptions requestOptions) Instantiate an operation for a patch in Bulk execution.static <TContext> CosmosItemOperation
CosmosBulkOperations.getPatchItemOperation
(String id, PartitionKey partitionKey, CosmosPatchOperations cosmosPatchOperations, CosmosBulkPatchItemRequestOptions requestOptions, TContext context) Instantiate an operation for a patch in Bulk execution.static <TContext> CosmosItemOperation
CosmosBulkOperations.getPatchItemOperation
(String id, PartitionKey partitionKey, CosmosPatchOperations cosmosPatchOperations, TContext context) Instantiate an operation for a patch in Bulk execution.CosmosBatch.patchItemOperation
(String id, CosmosPatchOperations cosmosPatchOperations) Adds a patch operations for an item into the batch.CosmosBatch.patchItemOperation
(String id, CosmosPatchOperations cosmosPatchOperations, CosmosBatchPatchItemRequestOptions requestOptions) Adds a patch operations for an item into the batch.