Uses of Interface
com.azure.cosmos.models.CosmosItemOperation
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 CosmosItemOperation in com.azure.cosmos
Modifier and TypeMethodDescription<TContext> Flux<CosmosBulkOperationResponse<TContext>>
CosmosAsyncContainer.executeBulkOperations
(Flux<CosmosItemOperation> operations) Executes flux of operations in Bulk.<TContext> Flux<CosmosBulkOperationResponse<TContext>>
CosmosAsyncContainer.executeBulkOperations
(Flux<CosmosItemOperation> operations, CosmosBulkExecutionOptions bulkOptions) Executes flux of operations in Bulk.<TContext> Iterable<CosmosBulkOperationResponse<TContext>>
CosmosContainer.executeBulkOperations
(Iterable<CosmosItemOperation> operations) Executes list of operations in Bulk.<TContext> Iterable<CosmosBulkOperationResponse<TContext>>
CosmosContainer.executeBulkOperations
(Iterable<CosmosItemOperation> operations, CosmosBulkExecutionOptions bulkOptions) Executes list of operations in Bulk. -
Uses of CosmosItemOperation in com.azure.cosmos.models
Modifier and TypeMethodDescriptionCosmosBatch.createItemOperation
(T item) Adds an operation to create an item into the batch.CosmosBatch.createItemOperation
(T item, CosmosBatchItemRequestOptions requestOptions) Adds an operation to create an item into the batch.CosmosBatch.deleteItemOperation
(String id) Adds an operation to delete an item into the batch.CosmosBatch.deleteItemOperation
(String id, CosmosBatchItemRequestOptions requestOptions) Adds an operation to delete an item into the batch.static <T> CosmosItemOperation
CosmosBulkOperations.getCreateItemOperation
(T item, PartitionKey partitionKey) Instantiate an operation for Creating item in Bulk execution.static <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 <T,
TContext>
CosmosItemOperationCosmosBulkOperations.getCreateItemOperation
(T item, PartitionKey partitionKey, TContext context) Instantiate an operation for Creating item in Bulk execution.static CosmosItemOperation
CosmosBulkOperations.getDeleteItemOperation
(String id, PartitionKey partitionKey) Instantiate an operation for deleting 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 <TContext> CosmosItemOperation
CosmosBulkOperations.getDeleteItemOperation
(String id, PartitionKey partitionKey, TContext context) Instantiate an operation for deleting item in Bulk execution.CosmosBatchOperationResult.getOperation()
Gets the original operation for this result.CosmosBulkOperationResponse.getOperation()
Gets theCosmosItemOperation
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.static CosmosItemOperation
CosmosBulkOperations.getReadItemOperation
(String id, PartitionKey partitionKey) Instantiate an operation for read 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 <TContext> CosmosItemOperation
CosmosBulkOperations.getReadItemOperation
(String id, PartitionKey partitionKey, TContext context) Instantiate an operation for read item in Bulk execution.static <T> CosmosItemOperation
CosmosBulkOperations.getReplaceItemOperation
(String id, T item, PartitionKey partitionKey) Instantiate an operation for replace 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,
TContext>
CosmosItemOperationCosmosBulkOperations.getReplaceItemOperation
(String id, T item, PartitionKey partitionKey, TContext context) Instantiate an operation for replace item in Bulk execution.static <T> CosmosItemOperation
CosmosBulkOperations.getUpsertItemOperation
(T item, PartitionKey partitionKey) Instantiate an operation for upsert 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.static <T,
TContext>
CosmosItemOperationCosmosBulkOperations.getUpsertItemOperation
(T item, PartitionKey partitionKey, TContext context) Instantiate an operation for upsert item 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.CosmosBatch.readItemOperation
(String id) Adds an operation to read an item into the batch.CosmosBatch.readItemOperation
(String id, CosmosBatchItemRequestOptions requestOptions) Adds an operation to read an item into the batch.CosmosBatch.replaceItemOperation
(String id, T item) Adds an operation to replace an item into the batch.CosmosBatch.replaceItemOperation
(String id, T item, CosmosBatchItemRequestOptions requestOptions) Adds an operation to replace an item into the batch.CosmosBatch.upsertItemOperation
(T item) Adds an operation to upsert an item into the batch.CosmosBatch.upsertItemOperation
(T item, CosmosBatchItemRequestOptions requestOptions) Adds an operation to upsert an item into the batch.Modifier and TypeMethodDescriptionCosmosBatch.getOperations()
Return the list of operation in an unmodifiable instance so no one can change it in the down path.