Méthode | Description | |
---|---|---|
ManagedHashPartitionResolver ( string>.Func |
Initializes a new instance of the ManagedHashPartitionResolver class.
|
Méthode | Description | |
---|---|---|
GetCollections ( Microsoft.Azure.Documents.Client.DocumentClient client, Microsoft.Azure.Documents.Database database, int numberOfCollections, string collectionIdPrefix, |
Gets or creates the collections for the hash resolver.
|
public ManagedHashPartitionResolver ( string>.Func | ||
partitionKeyExtractor | string>.Func | The partition key extractor function. |
client | Microsoft.Azure.Documents.Client.DocumentClient | The DocumentDB client instance. |
database | Microsoft.Azure.Documents.Database | The database to use. |
numberOfCollections | int | the number of collections. |
hashGenerator | IHashGenerator | the hash generator. |
collectionSpec | the specification/template to create collections from. | |
collectionIdPrefix | string | the prefix to use for collections. |
Résultat | System |