IHashGenerator Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET