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

ShardKeyType Enum

  • java.lang.Object
    • java.lang.Enum<ShardKeyType>
      • com.microsoft.azure.elasticdb.shard.base.ShardKeyType

public enum ShardKeyType

Type of shard key. Currently, only Int32, Int64, Guid and byte[] are the data types supported as shard keys.

Fields

XmlEnumValue

No type specified.

32-bit integral value.

64-bit integral value.

UniqueIdentifier value.

Array of bytes value.

Date and time value.

Time value.

Date and time value with offset.

Methods

forValue(int value)

public static ShardKeyType forValue(int value)

Parameters

value
int

Returns

getByteArraySize()

public int getByteArraySize()

Returns

int

getValue()

public int getValue()

Returns

int

Applies to