Dela via


StoreShardMap Class

  • java.lang.Object
    • com.microsoft.azure.elasticdb.shard.store.StoreShardMap

public class StoreShardMap

Store representation of a shard map.

Field Summary

Modifier and Type Field and Description
final StoreShardMap NULL

Constructor Summary

Constructor Description
StoreShardMap()
StoreShardMap(UUID id, String name, ShardMapType shardMapType, ShardKeyType shardKeyType)

Method Summary

Modifier and Type Method and Description
UUID getId()
ShardKeyType getKeyType()
ShardMapType getMapType()
String getName()
String toString()

Field Details

NULL

public static final StoreShardMap NULL= new StoreShardMap(null, null, null, null, 1)

Constructor Details

StoreShardMap

public StoreShardMap()

StoreShardMap

public StoreShardMap(UUID id, String name, ShardMapType shardMapType, ShardKeyType shardKeyType)

Parameters:

id
name
shardMapType
shardKeyType

Method Details

getId

public UUID getId()

getKeyType

public ShardKeyType getKeyType()

getMapType

public ShardMapType getMapType()

getName

public String getName()

toString

public String toString()

Applies to