Uses of Enum
com.azure.cosmos.ConsistencyLevel
Packages that use ConsistencyLevel
Package
Description
This package provides interfaces for interacting with Azure Cosmos DB.
This package provides rest contracts for interacting with Azure Cosmos DB SQL APIs.
-
Uses of ConsistencyLevel in com.azure.cosmos
Methods in com.azure.cosmos that return ConsistencyLevelModifier and TypeMethodDescriptionstatic ConsistencyLevelReturns the enum constant of this type with the specified name.static ConsistencyLevel[]ConsistencyLevel.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.azure.cosmos with parameters of type ConsistencyLevelModifier and TypeMethodDescriptionCosmosClientBuilder.consistencyLevel(ConsistencyLevel desiredConsistencyLevel) Sets theConsistencyLevelto be used By default,SESSIONconsistency will be used. -
Uses of ConsistencyLevel in com.azure.cosmos.models
Methods in com.azure.cosmos.models that return ConsistencyLevelModifier and TypeMethodDescriptionCosmosItemRequestOptions.getConsistencyLevel()Gets the consistency level required for the request.CosmosQueryRequestOptions.getConsistencyLevel()Gets the consistency level required for the request.Methods in com.azure.cosmos.models with parameters of type ConsistencyLevelModifier and TypeMethodDescriptionCosmosItemRequestOptions.setConsistencyLevel(ConsistencyLevel consistencyLevel) Sets the consistency level required for the request.CosmosQueryRequestOptions.setConsistencyLevel(ConsistencyLevel consistencyLevel) Sets the consistency level required for the request.