IHashGenerator Interface

Definition

Caution

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

An interface used by the HashPartitionResolver to partition data using consistent hashing in the Azure Cosmos DB 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
[<System.Obsolete("Support for interfaces used with IPartitionResolver is now obsolete. It's recommended that you use partitioned collections for higher storage and throughput.")>]
type IHashGenerator = interface
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 Cosmos DB service.

Applies to

See also