Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement Namespace

Contains classes that support access to shard management operations.

Classes

BaseMappingUpdate<TStatus>

Base class for updates to mappings from shardlets to shards.

CacheMappingExtensions

Encapsulates extension methods for CacheMappings

ListShardMap<TKey>

Represents a shard map of points where points are of the specified key.

MappingLockToken

Public type that represents the owner of a lock held on a mapping

PointMapping<TKey>

Represents a mapping between the singleton key value of a shardlet (a point) and a Shard.

PointMappingCreationInfo<TKey>

Arguments used to create a PointMapping<TKey>.

PointMappingUpdate

Represents updates to a mapping between the singleton key value of a shardlet (a point) and the shard that holds its data. Also see PointMapping<TKey>.

Range<TKey>

Represents a left-inclusive, right-exclusive range of values of type T.

RangeMapping<TKey>

Represents a mapping between a range of key values and a Shard.

RangeMappingCreationInfo<TKey>

Arguments used to create a RangeMapping<TKey>.

RangeMappingUpdate

Represents updates to a mapping between a Range<TKey> of values and the Shard that stores its data. Also see RangeMapping<TKey>.

RangeShardMap<TKey>

Represents a shard map of ranges.

Shard

Representation of a single shard. Shards are basically locators for data sources i.e. ShardLocations that have been registered with a shard map. Shards are used in mapping as targets of mappings (see PointMapping<TKey> and RangeMapping<TKey>).

ShardCreationInfo

Arguments used to create a Shard.

ShardKey

Shard key value. Wraps the type and value and allows normalization/denormalization for serialization.

ShardLocation

Represents the location of a shard in terms of its server name and database name. This is used to manage connections to the shard and to support other operations on shards. As opposed to a Shard, a shard location is not registered with the shard map.

ShardManagementException

Representation of exceptions that occur during storage operations.

ShardMap

Represents a collection of shards and mappings between keys and shards in the collection.

ShardMapExtensions

Extension methods on ShardMaps that allow down-casting.

ShardMapManager

Serves as the entry point for creation, management and lookup operations over shard maps.

ShardMapManagerFactory

Factory for ShardMapManagers facilitates the creation and management of shard map manager persistent state. Use this class as the entry point to the library's object hierarchy.

ShardRange

A range of shard keys between a low key and a high key.

StoreException

Representation of exceptions that occur during storage operations.

Enums

ConnectionOptions

Allows users to specify operations such as validation, to perform on the connection opened by the shard map manager.

MappingStatus

Status of a mapping.

ShardKeyType

Type of shard key. Currently, only Int32, Int64, Guid and byte[] are the data types supported as shard keys.

ShardManagementErrorCategory

Represents error categories related to Shard Management operations.

ShardManagementErrorCode

Represents error codes related to ShardMapManager operations.

ShardMapManagerCreateMode

Describes the creation options for shard map manager storage representation.

ShardMapManagerLoadPolicy

Describes the policy used for initialization of ShardMapManager from the store.

ShardMapType

Type of shard map.

SqlProtocol

Types of transport protocols supported in SQL Server connections.