Uses of Class
com.azure.cosmos.models.CosmosBulkPatchItemRequestOptions
Package
Description
This package provides rest contracts for interacting with Azure Cosmos DB SQL APIs.
-
Uses of CosmosBulkPatchItemRequestOptions in com.azure.cosmos.models
Modifier and TypeMethodDescriptionCosmosBulkPatchItemRequestOptions.setContentResponseOnWriteEnabled
(Boolean contentResponseOnWriteEnabled) Sets the boolean to only return the headers and status code in Cosmos DB response in case of Create, Update and Delete operations inCosmosItemOperation
.CosmosBulkPatchItemRequestOptions.setFilterPredicate
(String filterPredicate) Sets the FilterPredicate associated with the request in the Azure Cosmos DB service. for example:setFilterPredicate("from c where c.taskNum = 3")
.CosmosBulkPatchItemRequestOptions.setIfMatchETag
(String ifMatchETag) Sets the If-Match (ETag) associated with the operation inCosmosItemOperation
.CosmosBulkPatchItemRequestOptions.setIfNoneMatchETag
(String ifNoneMatchEtag) Sets the If-None-Match (ETag) associated with the request in operation inCosmosItemOperation
.Modifier and TypeMethodDescriptionstatic 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.