Package com.azure.data.cosmos
Class CosmosConflict
- java.lang.Object
-
- com.azure.data.cosmos.CosmosConflict
-
public class CosmosConflict extends Object
Read and delete conflicts
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mono<CosmosConflictResponse>
delete(CosmosConflictRequestOptions options)
Reads all conflicts in a document collection.String
id()
Get the id of theCosmosConflict
Mono<CosmosConflictResponse>
read(CosmosConflictRequestOptions options)
Reads a conflict.
-
-
-
Method Detail
-
id
public String id()
Get the id of theCosmosConflict
- Returns:
- the id of the
CosmosConflict
-
read
public Mono<CosmosConflictResponse> read(CosmosConflictRequestOptions options)
Reads a conflict.After subscription the operation will be performed. The
Mono
upon successful completion will contain a single resource response with the read conflict. In case of failure theMono
will error.- Parameters:
options
- the request options.- Returns:
- a
Mono
containing the single resource response with the read conflict or an error.
-
delete
public Mono<CosmosConflictResponse> delete(CosmosConflictRequestOptions options)
Reads all conflicts in a document collection.After subscription the operation will be performed. The
Mono
will contain one or several feed response pages of the read conflicts. In case of failure theMono
will error.- Parameters:
options
- the feed options.- Returns:
- a
Mono
containing one or several feed response pages of the read conflicts or an error.
-
-