Sdílet prostřednictvím


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