RangeShardMap Members

Represents a shard map of ranges.

The following tables list the members exposed by the RangeShardMap type.

Public Properties

  Name Description
public property KeyType  Shard map key type. (Inherited from ShardMap)
public property MapType  Shard map type. (Inherited from ShardMap)
public property Name  Shard map name. (Inherited from ShardMap)

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Clone Clones the given range shard map.
public method CreateRangeMapping Overloaded.  
public method CreateShard  Overloaded. (Inherited from ShardMap)
public method DeleteMapping Overloaded.  
public method DeleteShard  Removes a shard from ShardMap. (Inherited from ShardMap)
public method Equals  (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetMappingForKey Looks up the key value and returns the corresponding mapping.
public method GetMappingLockOwner Gets the lock owner id of the specified mapping.
public method GetMappings Overloaded.  
public method GetShard  Obtains the shard for the specified location. (Inherited from ShardMap)
public method GetShards  Gets all shards from the shard map. (Inherited from ShardMap)
public method GetType  (Inherited from Object)
public method LockMapping Locks the mapping for the specified owner The state of a locked mapping can only be modified by the lock owner.
public method MarkMappingOffline Overloaded.  
public method MarkMappingOnline Overloaded.  
public method MergeMappings Overloaded.  
public method OpenConnectionForKey Overloaded.  
public method OpenConnectionForKey  Overloaded. (Inherited from ShardMap)
public method OpenConnectionForKeyAsync Overloaded.  
public method OpenConnectionForKeyAsync  Overloaded. (Inherited from ShardMap)
public method SplitMapping Overloaded.  
public method ToString  Overridden. Converts the object to its string representation. (Inherited from Object)
public method TryGetMappingForKey Tries to looks up the key value and place the corresponding mapping in rangeMapping.
public method TryGetShard  Tries to obtains the shard for the specified location. (Inherited from ShardMap)
public method UnlockMapping Overloaded.  
public method UpdateMapping Overloaded.  

Top

Protected Methods

(see also Extension Methods)

  Name Description
protected method CloneCore  Clones the current shard map instance. (Inherited from ShardMap)
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

Top

Extension Methods

  Name Description
public extension method AsListShardMap  (Defined by ShardMapExtensions.)
public extension method AsRangeShardMap  (Defined by ShardMapExtensions.)

Top

See Also

Reference

RangeShardMap Class
Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement Namespace