Package | Description |
---|---|
com.azure.cosmos.models |
This package provides rest contracts for interacting with Azure Cosmos DB SQL APIs.
|
Modifier and Type | Method and Description |
---|---|
CosmosBatchItemRequestOptions |
CosmosBatchItemRequestOptions.setIfMatchETag(String ifMatchETag)
Sets the If-Match (ETag) associated with the operation in CosmosBatch.
|
CosmosBatchItemRequestOptions |
CosmosBatchItemRequestOptions.setIfNoneMatchETag(String ifNoneMatchEtag)
Sets the If-None-Match (ETag) associated with the request in operation in CosmosBatch.
|
Modifier and Type | Method and Description |
---|---|
<T> CosmosItemOperation |
CosmosBatch.createItemOperation(T item,
CosmosBatchItemRequestOptions requestOptions)
Adds an operation to create an item into the batch.
|
CosmosItemOperation |
CosmosBatch.deleteItemOperation(String id,
CosmosBatchItemRequestOptions requestOptions)
Adds an operation to delete an item into the batch.
|
CosmosItemOperation |
CosmosBatch.readItemOperation(String id,
CosmosBatchItemRequestOptions requestOptions)
Adds an operation to read an item into the batch.
|
<T> CosmosItemOperation |
CosmosBatch.replaceItemOperation(String id,
T item,
CosmosBatchItemRequestOptions requestOptions)
Adds an operation to replace an item into the batch.
|
<T> CosmosItemOperation |
CosmosBatch.upsertItemOperation(T item,
CosmosBatchItemRequestOptions requestOptions)
Adds an operation to upsert an item into the batch.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.