Uses of Package
com.azure.cosmos
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.
-
ClassDescriptionThe type Availability strategy.Simple host for distributing change feed events across observers, simplifying the process of reading the change feeds and distributing the processing events across multiple consumers effectively.Helper class to build a
ChangeFeedProcessor
instance.Encapsulates properties which are mapped to a batch of change feed documents processed whenChangeFeedProcessorBuilder.handleAllVersionsAndDeletesChanges(BiConsumer)
lambda is invoked.Represents the connection mode to be used by the client in the Azure Cosmos DB database service.Represents the consistency levels supported for Azure Cosmos DB client operations in the Azure Cosmos DB service.Provides a client-side logical representation of the Azure Cosmos DB service.The type Cosmos async clientEncryptionKey.Read and delete conflictsProvides methods for reading, deleting, and replacing existing Containers.Perform read and delete databases, update database throughput, and perform operations on child resourcesHas methods to operate on a per-User Permission to access a specific resourceThe type Cosmos async scripts.The type Cosmos async stored procedure.The type Cosmos async trigger.The type Cosmos async user.The type Cosmos async user defined function.Provides a client-side logical representation of the Azure Cosmos DB service.Helper class to buildCosmosAsyncClient
andCosmosClient
instances as logical representation of the Azure Cosmos database service.The type Cosmos clientEncryptionKey.Provides synchronous methods for reading, deleting, and replacing existing Containers Provides methods for interacting with child resources (Items, Scripts, Conflicts)Encapsulates the list of container identities and no.A builder to buildCosmosContainerProactiveInitConfig
Perform read and delete databases, update database throughput, and perform operations on child resources in a synchronous wayThis class represents response diagnostic statistics associated with a request to Azure Cosmos DBThis class provides metadata for an operation in the Cosmos DB SDK that can be used by diagnostic handlersAnd interface that can be implemented to add custom diagnostic processorsThis class represents diagnostic information for different steps in the request pipeline when processing a data plane request (for example to issue a point operation against a certain replica).This class represents diagnostic information for transport requests (calls to a replica in direct mode, calls to the Gateway for example to get metadata like physical addresses of replica for a partition.This class describes the thresholds when more details diagnostics are emitted for an operation due to high latency, high RU consumption or high payload sizes.Represents End to end operation latency policy config This enables requests to get cancelled by the client once the specified timeout is reachedBuilder for CosmosEndToEndOperationLatencyPolicyConfigA class which encapsulates a set of excluded regions.TheCosmosItemSerializer
allows customizing the serialization of Cosmos Items - either to transform payload (for example wrap/unwrap in custom envelopes) or use custom serialization settings or json serializer stacks.Represents a policy that can be used withCosmosClientBuilder
to customize the request sent to Azure Cosmos DB.CosmosRegionSwitchHint
encapsulates hints which guide SDK-internal retry policies on how early to switch retries to a different region.The type Cosmos sync scripts.The type Cosmos sync stored procedure.The type Cosmos sync trigger.The type Cosmos sync user.The type Cosmos sync user defined function.Represents the connection config withConnectionMode.DIRECT
associated with Cosmos Client in the Azure Cosmos DB database service.Represents the connection config withConnectionMode.GATEWAY
associated with Cosmos Client in the Azure Cosmos DB database service.This configuration is used for throughput global control mode.Throughput global control config builder.Class to define the options for non-idempotent write operationsSessionRetryOptions
encapsulates hints which influence internal retry policies which are applied when the effective consistency used for the request is Session Consistency.ASessionRetryOptionsBuilder
instance will be used to build aSessionRetryOptions
instance.Encapsulates retry options in the Azure Cosmos DB database service.Throughput control group configuration.The throughput control group config builder. -
ClassDescriptionRepresents the consistency levels supported for Azure Cosmos DB client operations in the Azure Cosmos DB service.This class represents response diagnostic statistics associated with a request to Azure Cosmos DBThis class provides metadata for an operation in the Cosmos DB SDK that can be used by diagnostic handlersAnd interface that can be implemented to add custom diagnostic processorsThis class describes the thresholds when more details diagnostics are emitted for an operation due to high latency, high RU consumption or high payload sizes.Represents End to end operation latency policy config This enables requests to get cancelled by the client once the specified timeout is reachedThe
CosmosItemSerializer
allows customizing the serialization of Cosmos Items - either to transform payload (for example wrap/unwrap in custom envelopes) or use custom serialization settings or json serializer stacks.Getters for the common request context for operations in CosmosDB.Throughput control group configuration.