### YamlMime:JavaEnum uid: "com.microsoft.azure.documentdb.PartitionKind" fullName: "com.microsoft.azure.documentdb.PartitionKind" name: "PartitionKind" nameWithType: "PartitionKind" summary: "Specifies the partition scheme for an multiple-partitioned collection in the Azure Cosmos DB database service." inheritances: - "" - "" inheritedClassMethods: - classRef: "" methodsRef: - "valueOf(java.lang.Class,java.lang.String)?alt=java.lang.Enum.valueOf&text=valueOf\" data-throw-if-not-resolved=\"False\" />" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - classRef: "" methodsRef: - "" - "" - "" - "" - "" - "" syntax: "public enum **PartitionKind**
extends <>" fields: - uid: "com.microsoft.azure.documentdb.PartitionKind.Hash" fullName: "com.microsoft.azure.documentdb.PartitionKind.Hash" name: "Hash" nameWithType: "PartitionKind.Hash" summary: "The Partition of a document is calculated based on the hash value of the PartitionKey." desc: "The Partition of a document is calculated based on the hash value of the PartitionKey." methods: - uid: "com.microsoft.azure.documentdb.PartitionKind.valueOf(java.lang.String)" fullName: "com.microsoft.azure.documentdb.PartitionKind.valueOf(String name)" name: "valueOf(String name)" nameWithType: "PartitionKind.valueOf(String name)" modifiers: - "static" parameters: - name: "name" type: "" syntax: "public static PartitionKind valueOf(String name)" returns: type: "" - uid: "com.microsoft.azure.documentdb.PartitionKind.values()" fullName: "com.microsoft.azure.documentdb.PartitionKind.values()" name: "values()" nameWithType: "PartitionKind.values()" modifiers: - "static" syntax: "public static PartitionKind[] values()" returns: type: "[]" desc: "Specifies the partition scheme for an multiple-partitioned collection in the Azure Cosmos DB database service." metadata: {} package: "com.microsoft.azure.documentdb" artifact: com.microsoft.azure:azure-documentdb:2.4.7