IHashGenerator Interface

Definition

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

[System.Obsolete("Support for interfaces used with IPartitionResolver is now obsolete. It's recommended that you use partitioned collections for higher storage and throughput.")]
public interface IHashGenerator
Attributes

Remarks

Support for interfaces used with IPartitionResolver is now obsolete. It's recommended that you use Partitioned Collections for higher storage and throughput.

Methods

ComputeHash(Byte[])

Hashes an array of bytes into a new array of bytes that represents the output hash in the Azure DocumentDB database service.