다음을 통해 공유


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