Uses of Class
com.azure.cosmos.models.CosmosPatchOperations
-
Packages that use CosmosPatchOperations Package Description com.azure.cosmos This package provides interfaces for interacting with Azure Cosmos DB.com.azure.cosmos.models 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 CosmosPatchOperations Modifier and Type Method Description <T> Mono<CosmosItemResponse<T>>
CosmosAsyncContainer. patchItem(String itemId, PartitionKey partitionKey, CosmosPatchOperations cosmosPatchOperations, CosmosPatchItemRequestOptions options, Class<T> itemType)
Run patch operations on an Item.<T> Mono<CosmosItemResponse<T>>
CosmosAsyncContainer. patchItem(String itemId, PartitionKey partitionKey, CosmosPatchOperations cosmosPatchOperations, Class<T> itemType)
Run patch operations on an Item.<T> CosmosItemResponse<T>
CosmosContainer. patchItem(String itemId, PartitionKey partitionKey, CosmosPatchOperations cosmosPatchOperations, CosmosPatchItemRequestOptions options, Class<T> itemType)
Run patch operations on an Item.<T> CosmosItemResponse<T>
CosmosContainer. patchItem(String itemId, PartitionKey partitionKey, CosmosPatchOperations cosmosPatchOperations, Class<T> itemType)
Run patch operations on an Item. -
Uses of CosmosPatchOperations in com.azure.cosmos.models
Methods in com.azure.cosmos.models that return CosmosPatchOperations Modifier and Type Method Description <T> CosmosPatchOperations
CosmosPatchOperations. add(String path, T value)
This 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.CosmosPatchOperations
CosmosPatchOperations. increment(String path, double value)
This increment the value at the target location.CosmosPatchOperations
CosmosPatchOperations. increment(String path, long value)
This increment the value at the target location.CosmosPatchOperations
CosmosPatchOperations. remove(String path)
This removes the value at the target location.<T> CosmosPatchOperations
CosmosPatchOperations. replace(String path, T value)
This replaces the value at the target location with a new value.<T> CosmosPatchOperations
CosmosPatchOperations. set(String path, T value)
This sets the value at the target location with a new value.Methods in com.azure.cosmos.models with parameters of type CosmosPatchOperations Modifier and Type Method Description static 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.CosmosItemOperation
CosmosBatch. patchItemOperation(String id, CosmosPatchOperations cosmosPatchOperations)
Adds a patch operations for an item into the batch.CosmosItemOperation
CosmosBatch. patchItemOperation(String id, CosmosPatchOperations cosmosPatchOperations, CosmosBatchPatchItemRequestOptions requestOptions)
Adds a patch operations for an item into the batch.
-