你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CosmosBulkOperationResponse<TContext> Class

  • java.lang.Object
    • com.azure.cosmos.models.CosmosBulkOperationResponse<TContext>

Type Parameters

TContext

public final class CosmosBulkOperationResponse

Request, response and the exception(if any) for a CosmosItemOperation request when processed using Bulk by calling executeBulkOperations(Flux<CosmosItemOperation> operations, CosmosBulkExecutionOptions bulkOptions).

Method Summary

Modifier and Type Method and Description
TContext getBatchContext()

Gets the BatchContext

Exception getException()

Gets the Exception

CosmosItemOperation getOperation()

Gets the CosmosItemOperation

CosmosBulkItemResponse getResponse()

Gets the CosmosBulkItemResponse

Methods inherited from java.lang.Object

Method Details

getBatchContext

public TContext getBatchContext()

Gets the BatchContext

Returns:

BatchContext

getException

public Exception getException()

Gets the Exception

Returns:

Exception

getOperation

public CosmosItemOperation getOperation()

Gets the CosmosItemOperation

Returns:

CosmosItemOperation

getResponse

public CosmosBulkItemResponse getResponse()

Gets the CosmosBulkItemResponse

Returns:

CosmosBulkItemResponse

Applies to