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

PartitionKeyDefinitionVersion Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.cosmos.models.PartitionKeyDefinitionVersion

public enum PartitionKeyDefinitionVersion
extends Enum<PartitionKeyDefinitionVersion>

Partitioning version.

Fields

V1

Original version of hash partitioning.

V2

Enhanced version of hash partitioning - offers better distribution of long partition keys and uses less storage.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

valueOf(String name)

public static PartitionKeyDefinitionVersion valueOf(String name)

Parameters

name
String

Returns

values()

public static PartitionKeyDefinitionVersion[] values()

Returns

Applies to