Package | Description |
---|---|
com.azure.cosmos |
This package provides interfaces for interacting with Azure Cosmos DB.
|
Modifier and Type | Method and Description |
---|---|
TransactionalBatchItemRequestOptions |
TransactionalBatchItemRequestOptions.setIfMatchETag(String ifMatchETag)
Sets the If-Match (ETag) associated with the operation in TransactionalBatch.
|
TransactionalBatchItemRequestOptions |
TransactionalBatchItemRequestOptions.setIfNoneMatchETag(String ifNoneMatchEtag)
Sets the If-None-Match (ETag) associated with the request in operation in TransactionalBatch.
|
Modifier and Type | Method and Description |
---|---|
<T> CosmosItemOperation |
TransactionalBatch.createItemOperation(T item,
TransactionalBatchItemRequestOptions requestOptions)
Adds an operation to create an item into the batch.
|
CosmosItemOperation |
TransactionalBatch.deleteItemOperation(String id,
TransactionalBatchItemRequestOptions requestOptions)
Adds an operation to delete 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,
TransactionalBatchItemRequestOptions requestOptions)
Adds an operation to replace 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.