你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PartitionKind Enum

  • java.lang.Object
    • java.lang.Enum
      • com.microsoft.azure.documentdb.PartitionKind

public enum PartitionKind
extends java.lang.Enum<PartitionKind>

Specifies the partition scheme for an multiple-partitioned collection in the Azure Cosmos DB database service.

Fields

Hash

The Partition of a document is calculated based on the hash value of the PartitionKey.

Methods inherited from java.lang.Enum

java.lang.Enum.<T>valueOf java.lang.Enum.clone java.lang.Enum.compareTo java.lang.Enum.describeConstable java.lang.Enum.equals java.lang.Enum.finalize java.lang.Enum.getDeclaringClass java.lang.Enum.hashCode java.lang.Enum.name java.lang.Enum.ordinal java.lang.Enum.toString

Methods inherited from java.lang.Object

java.lang.Object.getClass java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Methods

valueOf(String name)

public static PartitionKind valueOf(String name)

Parameters

name
java.lang.String

Returns

values()

public static PartitionKind[] values()

Returns

Applies to