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 |
---|---|
CosmosBulkItemRequestOptions |
CosmosBulkItemRequestOptions.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 in
CosmosItemOperation . |
CosmosBulkItemRequestOptions |
CosmosBulkItemRequestOptions.setIfMatchETag(String ifMatchETag)
Sets the If-Match (ETag) associated with the operation in
CosmosItemOperation . |
CosmosBulkItemRequestOptions |
CosmosBulkItemRequestOptions.setIfNoneMatchETag(String ifNoneMatchEtag)
Sets the If-None-Match (ETag) associated with the request in operation in
CosmosItemOperation . |
Modifier and Type | Method and Description |
---|---|
static <T> CosmosItemOperation |
CosmosBulkOperations.getCreateItemOperation(T item,
PartitionKey partitionKey,
CosmosBulkItemRequestOptions requestOptions)
Instantiate an operation for Creating item in Bulk execution.
|
static <T,TContext> |
CosmosBulkOperations.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> |
CosmosBulkOperations.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> |
CosmosBulkOperations.getUpsertItemOperation(T item,
PartitionKey partitionKey,
CosmosBulkItemRequestOptions requestOptions,
TContext context)
Instantiate an operation for upsert item in Bulk execution.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.