Package com.azure.cosmos.models
Class CosmosBulkOperationResponse<TContext>
- java.lang.Object
-
- com.azure.cosmos.models.CosmosBulkOperationResponse<TContext>
-
public final class CosmosBulkOperationResponse<TContext> extends Object
Request, response and the exception(if any) for aCosmosItemOperation
request when processed using Bulk by callingCosmosAsyncContainer.executeBulkOperations(Flux, CosmosBulkExecutionOptions)
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TContext
getBatchContext()
Gets the BatchContextException
getException()
Gets the ExceptionCosmosItemOperation
getOperation()
Gets theCosmosItemOperation
CosmosBulkItemResponse
getResponse()
Gets theCosmosBulkItemResponse
-
-
-
Method Detail
-
getOperation
public CosmosItemOperation getOperation()
Gets theCosmosItemOperation
- Returns:
- CosmosItemOperation
-
getResponse
public CosmosBulkItemResponse getResponse()
Gets theCosmosBulkItemResponse
- Returns:
- CosmosBulkItemResponse
-
getException
public Exception getException()
Gets the Exception- Returns:
- Exception
-
getBatchContext
public TContext getBatchContext()
Gets the BatchContext- Returns:
- BatchContext
-
-