Microsoft.Azure.Documents.Partitioning Namespace

Classes

HashPartitionResolver

HashPartitionResolver implements partitioning based on the value of a hash function, allowing you to evenly distribute requests and data across a number of partitions in the Azure Cosmos DB service.

Range<T>

A class that represents a range used by the RangePartitionResolver class in the Azure Cosmos DB service.

RangePartitionResolver<T>

RangePartitionResolver implements partitioning in Azure Cosmos DB service by using a partition map of ranges of values to a collection self-link. This works well when the data is naturally ordered and commonly queried upon using ranges of values, e.g., for time series data or alphabetical ranges of strings.

Interfaces

IHashGenerator

An interface used by the HashPartitionResolver to partition data using consistent hashing in the Azure Cosmos DB service.