StoreMapping Class
- java.
lang. Object - com.
microsoft. azure. elasticdb. shard. store. StoreMapping
- com.
public class StoreMapping
Storage representation of a mapping b/w key ranges and shards.
Constructor Summary
Constructor | Description | |
---|---|---|
StoreMapping() | ||
StoreMapping(UUID id, Shard s, byte[] minValue, byte[] maxValue, int status) |
Constructs the storage representation from client side objects. |
|
StoreMapping(UUID id, UUID shardMapId, byte[] minValue, byte[] maxValue, int status, UUID lockOwnerId, StoreShard storeShard) |
Constructs the storage representation from client side objects. |
Method Summary
Modifier and Type | Method and Description |
---|---|
UUID | getId() |
UUID | getLockOwnerId() |
String | getLockOwnerIdString() |
byte [] | getMaxValue() |
byte [] | getMinValue() |
UUID | getShardMapId() |
int | getStatus() |
Store |
getStoreShard() |
Constructor Details
StoreMapping
public StoreMapping()
StoreMapping
public StoreMapping(UUID id, Shard s, byte[] minValue, byte[] maxValue, int status)
Constructs the storage representation from client side objects.
Parameters:
StoreMapping
public StoreMapping(UUID id, UUID shardMapId, byte[] minValue, byte[] maxValue, int status, UUID lockOwnerId, StoreShard storeShard)
Constructs the storage representation from client side objects.
Parameters:
Method Details
getId
public UUID getId()
getLockOwnerId
public UUID getLockOwnerId()
getLockOwnerIdString
public String getLockOwnerIdString()
getMaxValue
public byte [] getMaxValue()
getMinValue
public byte [] getMinValue()
getShardMapId
public UUID getShardMapId()
getStatus
public int getStatus()
getStoreShard
public StoreShard getStoreShard()
Applies to
Azure SDK for Java