你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
StoreShardMap Class
- java.
lang. Object - com.
microsoft. azure. elasticdb. shard. store. StoreShardMap
- com.
public class StoreShardMap
Store representation of a shard map.
Field Summary
Modifier and Type | Field and Description |
---|---|
final Store |
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() |
Shard |
getKeyType() |
Shard |
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()