StoreShard Class
- java.
lang. Object - com.
microsoft. azure. elasticdb. shard. store. StoreShard
- com.
public class StoreShard
Storage representation of a single shard.
Field Summary
Modifier and Type | Field and Description |
---|---|
final Store |
NULL |
Constructor Summary
Constructor | Description | |
---|---|---|
StoreShard() | ||
StoreShard(UUID id, UUID version, UUID shardMapId, ShardLocation location, Integer status) |
Constructs the storage representation from client side objects. |
Method Summary
Modifier and Type | Method and Description |
---|---|
UUID | getId() |
Shard |
getLocation() |
UUID | getShardMapId() |
int | getStatus() |
UUID | getVersion() |
Field Details
NULL
public static final StoreShard NULL= new StoreShard(null, null, null, null, null, 1)
Constructor Details
StoreShard
public StoreShard()
StoreShard
public StoreShard(UUID id, UUID version, UUID shardMapId, ShardLocation location, Integer status)
Constructs the storage representation from client side objects.
Parameters:
id
- Shard Id.
version
- Shard version.
shardMapId
- Identify of shard map.
location
- Data source location.
status
- Status of the shard.
Method Details
getId
public UUID getId()
getLocation
public ShardLocation getLocation()
getShardMapId
public UUID getShardMapId()
getStatus
public int getStatus()
getVersion
public UUID getVersion()
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for Java