Microsoft.Azure.Documents.Partitioning Namespace

Contains classes and interfaces that support partitioning requests to the database.

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 DocumentDB database service.

Range<T>

A class that represents a range used by the RangePartitionResolver<T> class in the Azure DocumentDB database service.

RangePartitionResolver<T>

RangePartitionResolver implements partitioning in Azure DocumentDB database 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 DocumentDB database service.