Package | Description |
---|---|
com.azure.cosmos |
This package provides interfaces for interacting with Azure Cosmos DB.
|
Modifier and Type | Method and Description |
---|---|
BulkItemRequestOptions |
BulkItemRequestOptions.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 . |
BulkItemRequestOptions |
BulkItemRequestOptions.setIfMatchETag(String ifMatchETag)
Sets the If-Match (ETag) associated with the operation in
CosmosItemOperation . |
BulkItemRequestOptions |
BulkItemRequestOptions.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 |
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 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 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 <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> 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.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.