Package | Description |
---|---|
com.azure.cosmos.models |
This package provides rest contracts for interacting with Azure Cosmos DB SQL APIs.
|
Modifier and Type | Method and Description |
---|---|
static ConflictResolutionPolicy |
ConflictResolutionPolicy.createCustomPolicy()
Creates a CUSTOM
ConflictResolutionPolicy without any StoredProcedure . |
static ConflictResolutionPolicy |
ConflictResolutionPolicy.createCustomPolicy(String conflictResolutionStoredProcFullPath)
Creates a CUSTOM
ConflictResolutionPolicy which uses the specified stored procedure
to perform conflict resolution |
static ConflictResolutionPolicy |
ConflictResolutionPolicy.createCustomPolicy(String dbName,
String containerName,
String sprocName)
Creates a CUSTOM
ConflictResolutionPolicy which uses the specified stored procedure
to perform conflict resolution |
static ConflictResolutionPolicy |
ConflictResolutionPolicy.createLastWriterWinsPolicy()
Creates a LAST_WRITER_WINS
ConflictResolutionPolicy with "/_ts" as the resolution path. |
static ConflictResolutionPolicy |
ConflictResolutionPolicy.createLastWriterWinsPolicy(String conflictResolutionPath)
Creates a LAST_WRITER_WINS
ConflictResolutionPolicy with path as the resolution path. |
ConflictResolutionPolicy |
CosmosContainerProperties.getConflictResolutionPolicy()
Gets the conflictResolutionPolicy that is used for resolving conflicting writes
on items in different regions, in a container in the Azure Cosmos DB service.
|
Modifier and Type | Method and Description |
---|---|
CosmosContainerProperties |
CosmosContainerProperties.setConflictResolutionPolicy(ConflictResolutionPolicy value)
Sets the conflictResolutionPolicy that is used for resolving conflicting writes
on items in different regions, in a container in the Azure Cosmos DB service.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.