Uses of Class
com.azure.cosmos.models.CosmosBulkItemRequestOptions
Package
Description
This package provides rest contracts for interacting with Azure Cosmos DB SQL APIs.
-
Uses of CosmosBulkItemRequestOptions in com.azure.cosmos.models
Modifier and TypeMethodDescriptionCosmosBulkItemRequestOptions.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
.CosmosBulkItemRequestOptions.setIfMatchETag
(String ifMatchETag) Sets the If-Match (ETag) associated with the operation inCosmosItemOperation
.CosmosBulkItemRequestOptions.setIfNoneMatchETag
(String ifNoneMatchEtag) Sets the If-None-Match (ETag) associated with the request in operation inCosmosItemOperation
.Modifier and TypeMethodDescriptionstatic <T> CosmosItemOperation
CosmosBulkOperations.getCreateItemOperation
(T item, PartitionKey partitionKey, CosmosBulkItemRequestOptions requestOptions) Instantiate an operation for Creating item in Bulk execution.static <T,
TContext>
CosmosItemOperationCosmosBulkOperations.getCreateItemOperation
(T item, PartitionKey partitionKey, CosmosBulkItemRequestOptions requestOptions, TContext context) Instantiate an operation for Creating item in Bulk execution.static CosmosItemOperation
CosmosBulkOperations.getDeleteItemOperation
(String id, PartitionKey partitionKey, CosmosBulkItemRequestOptions requestOptions) Instantiate an operation for deleting item in Bulk execution.static <TContext> CosmosItemOperation
CosmosBulkOperations.getDeleteItemOperation
(String id, PartitionKey partitionKey, CosmosBulkItemRequestOptions requestOptions, TContext context) Instantiate an operation for deleting item in Bulk execution.static CosmosItemOperation
CosmosBulkOperations.getReadItemOperation
(String id, PartitionKey partitionKey, CosmosBulkItemRequestOptions requestOptions) Instantiate an operation for read item in Bulk execution.static <TContext> CosmosItemOperation
CosmosBulkOperations.getReadItemOperation
(String id, PartitionKey partitionKey, CosmosBulkItemRequestOptions requestOptions, TContext context) Instantiate an operation for read item in Bulk execution.static <T> CosmosItemOperation
CosmosBulkOperations.getReplaceItemOperation
(String id, T item, PartitionKey partitionKey, CosmosBulkItemRequestOptions requestOptions) Instantiate an operation for replace item in Bulk execution.static <T,
TContext>
CosmosItemOperationCosmosBulkOperations.getReplaceItemOperation
(String id, T item, PartitionKey partitionKey, CosmosBulkItemRequestOptions requestOptions, TContext context) Instantiate an operation for replace item in Bulk execution.static <T> CosmosItemOperation
CosmosBulkOperations.getUpsertItemOperation
(T item, PartitionKey partitionKey, CosmosBulkItemRequestOptions requestOptions) Instantiate an operation for upsert item in Bulk execution.static <T,
TContext>
CosmosItemOperationCosmosBulkOperations.getUpsertItemOperation
(T item, PartitionKey partitionKey, CosmosBulkItemRequestOptions requestOptions, TContext context) Instantiate an operation for upsert item in Bulk execution.