Package | Description |
---|---|
com.azure.cosmos |
This package provides interfaces for interacting with Azure Cosmos DB.
|
Modifier and Type | Method and Description |
---|---|
<T> CosmosItemOperation |
TransactionalBatch.createItemOperation(T item)
Adds an operation to create an item into the batch.
|
<T> CosmosItemOperation |
TransactionalBatch.createItemOperation(T item,
TransactionalBatchItemRequestOptions requestOptions)
Adds an operation to create an item into the batch.
|
CosmosItemOperation |
TransactionalBatch.deleteItemOperation(String id)
Adds an operation to delete an item into the batch.
|
CosmosItemOperation |
TransactionalBatch.deleteItemOperation(String id,
TransactionalBatchItemRequestOptions requestOptions)
Adds an operation to delete an item into the batch.
|
static <T> CosmosItemOperation |
BulkOperations.getCreateItemOperation(T item,
PartitionKey partitionKey)
Instantiate an operation for Creating item in Bulk execution.
|
static <T> CosmosItemOperation |
BulkOperations.getCreateItemOperation(T item,
PartitionKey partitionKey,
BulkItemRequestOptions requestOptions)
Instantiate an operation for Creating item in Bulk execution.
|
static <T,TContext> |
BulkOperations.getCreateItemOperation(T item,
PartitionKey partitionKey,
BulkItemRequestOptions requestOptions,
TContext context)
Instantiate an operation for Creating item in Bulk execution.
|
static <T,TContext> |
BulkOperations.getCreateItemOperation(T item,
PartitionKey partitionKey,
TContext context)
Instantiate an operation for Creating item in Bulk execution.
|
static CosmosItemOperation |
BulkOperations.getDeleteItemOperation(String id,
PartitionKey partitionKey)
Instantiate an operation for deleting item in Bulk execution.
|
static CosmosItemOperation |
BulkOperations.getDeleteItemOperation(String id,
PartitionKey partitionKey,
BulkItemRequestOptions requestOptions)
Instantiate an operation for deleting item in Bulk execution.
|
static <TContext> CosmosItemOperation |
BulkOperations.getDeleteItemOperation(String id,
PartitionKey partitionKey,
BulkItemRequestOptions requestOptions,
TContext context)
Instantiate an operation for deleting item in Bulk execution.
|
static <TContext> CosmosItemOperation |
BulkOperations.getDeleteItemOperation(String id,
PartitionKey partitionKey,
TContext context)
Instantiate an operation for deleting item in Bulk execution.
|
CosmosItemOperation |
TransactionalBatchOperationResult.getOperation()
Gets the original operation for this result.
|
CosmosItemOperation |
CosmosBulkOperationResponse.getOperation() |
static CosmosItemOperation |
BulkOperations.getPatchItemOperation(String id,
PartitionKey partitionKey,
CosmosPatchOperations cosmosPatchOperations)
Instantiate an operation for a patch in Bulk execution.
|
static CosmosItemOperation |
BulkOperations.getPatchItemOperation(String id,
PartitionKey partitionKey,
CosmosPatchOperations cosmosPatchOperations,
BulkPatchItemRequestOptions requestOptions)
Instantiate an operation for a patch in Bulk execution.
|
static <TContext> CosmosItemOperation |
BulkOperations.getPatchItemOperation(String id,
PartitionKey partitionKey,
CosmosPatchOperations cosmosPatchOperations,
BulkPatchItemRequestOptions requestOptions,
TContext context)
Instantiate an operation for a patch in Bulk execution.
|
static <TContext> CosmosItemOperation |
BulkOperations.getPatchItemOperation(String id,
PartitionKey partitionKey,
CosmosPatchOperations cosmosPatchOperations,
TContext context)
Instantiate an operation for a patch in Bulk execution.
|
static CosmosItemOperation |
BulkOperations.getReadItemOperation(String id,
PartitionKey partitionKey)
Instantiate an operation for read item in Bulk execution.
|
static CosmosItemOperation |
BulkOperations.getReadItemOperation(String id,
PartitionKey partitionKey,
BulkItemRequestOptions requestOptions)
Instantiate an operation for read item in Bulk execution.
|
static <TContext> CosmosItemOperation |
BulkOperations.getReadItemOperation(String id,
PartitionKey partitionKey,
BulkItemRequestOptions requestOptions,
TContext context)
Instantiate an operation for read item in Bulk execution.
|
static <TContext> CosmosItemOperation |
BulkOperations.getReadItemOperation(String id,
PartitionKey partitionKey,
TContext context)
Instantiate an operation for read item in Bulk execution.
|
static <T> CosmosItemOperation |
BulkOperations.getReplaceItemOperation(String id,
T item,
PartitionKey partitionKey)
Instantiate an operation for replace item in Bulk execution.
|
static <T> CosmosItemOperation |
BulkOperations.getReplaceItemOperation(String id,
T item,
PartitionKey partitionKey,
BulkItemRequestOptions requestOptions)
Instantiate an operation for replace item in Bulk execution.
|
static <T,TContext> |
BulkOperations.getReplaceItemOperation(String id,
T item,
PartitionKey partitionKey,
BulkItemRequestOptions requestOptions,
TContext context)
Instantiate an operation for replace item in Bulk execution.
|
static <T,TContext> |
BulkOperations.getReplaceItemOperation(String id,
T item,
PartitionKey partitionKey,
TContext context)
Instantiate an operation for replace item in Bulk execution.
|
static <T> CosmosItemOperation |
BulkOperations.getUpsertItemOperation(T item,
PartitionKey partitionKey)
Instantiate an operation for upsert item in Bulk execution.
|
static <T> CosmosItemOperation |
BulkOperations.getUpsertItemOperation(T item,
PartitionKey partitionKey,
BulkItemRequestOptions requestOptions)
Instantiate an operation for upsert item in Bulk execution.
|
static <T,TContext> |
BulkOperations.getUpsertItemOperation(T item,
PartitionKey partitionKey,
BulkItemRequestOptions requestOptions,
TContext context)
Instantiate an operation for upsert item in Bulk execution.
|
static <T,TContext> |
BulkOperations.getUpsertItemOperation(T item,
PartitionKey partitionKey,
TContext context)
Instantiate an operation for upsert item in Bulk execution.
|
CosmosItemOperation |
TransactionalBatch.patchItemOperation(String id,
CosmosPatchOperations cosmosPatchOperations)
Adds a patch operations for an item into the batch.
|
CosmosItemOperation |
TransactionalBatch.patchItemOperation(String id,
CosmosPatchOperations cosmosPatchOperations,
TransactionalBatchPatchItemRequestOptions requestOptions)
Adds a patch operations for an item into the batch.
|
CosmosItemOperation |
TransactionalBatch.readItemOperation(String id)
Adds an operation to read an item into the batch.
|
CosmosItemOperation |
TransactionalBatch.readItemOperation(String id,
TransactionalBatchItemRequestOptions requestOptions)
Adds an operation to read an item into the batch.
|
<T> CosmosItemOperation |
TransactionalBatch.replaceItemOperation(String id,
T item)
Adds an operation to replace an item into the batch.
|
<T> CosmosItemOperation |
TransactionalBatch.replaceItemOperation(String id,
T item,
TransactionalBatchItemRequestOptions requestOptions)
Adds an operation to replace an item into the batch.
|
<T> CosmosItemOperation |
TransactionalBatch.upsertItemOperation(T item)
Adds an operation to upsert an item into the batch.
|
<T> CosmosItemOperation |
TransactionalBatch.upsertItemOperation(T item,
TransactionalBatchItemRequestOptions requestOptions)
Adds an operation to upsert an item into the batch.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.