ShardMapManager ShardMapManager ShardMapManager Class

Definition

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

public sealed class ShardMapManager
type ShardMapManager = class
Public NotInheritable Class ShardMapManager
Inheritance
ShardMapManagerShardMapManagerShardMapManager

Methods

CreateListShardMap<TKey>(String) CreateListShardMap<TKey>(String) CreateListShardMap<TKey>(String)

Creates a list based ListShardMap<TKey>.

CreateRangeShardMap<TKey>(String) CreateRangeShardMap<TKey>(String) CreateRangeShardMap<TKey>(String)

Create a range based RangeShardMap<TKey>.

DeleteShardMap(ShardMap) DeleteShardMap(ShardMap) DeleteShardMap(ShardMap)

Removes the specified shard map.

GetDistinctShardLocations() GetDistinctShardLocations() GetDistinctShardLocations()

Obtains distinct shard locations from the shard map manager.

GetListShardMap<TKey>(String) GetListShardMap<TKey>(String) GetListShardMap<TKey>(String)

Obtains a ListShardMap<TKey> given the name.

GetRangeShardMap<TKey>(String) GetRangeShardMap<TKey>(String) GetRangeShardMap<TKey>(String)

Obtains a RangeShardMap<TKey> given the name.

GetRecoveryManager() GetRecoveryManager() GetRecoveryManager()

Obtains the recovery manager for the current shard map manager instance.

GetSchemaInfoCollection() GetSchemaInfoCollection() GetSchemaInfoCollection()

Obtains the schema info collection object for the current shard map manager instance.

GetShardMap(String) GetShardMap(String) GetShardMap(String)

Obtains a ShardMap given the name.

GetShardMaps() GetShardMaps() GetShardMaps()

Obtains all shard maps associated with the shard map manager.

TryGetListShardMap<TKey>(String, ListShardMap<TKey>) TryGetListShardMap<TKey>(String, ListShardMap<TKey>) TryGetListShardMap<TKey>(String, ListShardMap<TKey>)

Tries to obtains a ListShardMap<TKey> given the name.

TryGetRangeShardMap<TKey>(String, RangeShardMap<TKey>) TryGetRangeShardMap<TKey>(String, RangeShardMap<TKey>) TryGetRangeShardMap<TKey>(String, RangeShardMap<TKey>)

Tries to obtains a RangeShardMap<TKey> given the name.

TryGetShardMap(String, ShardMap) TryGetShardMap(String, ShardMap) TryGetShardMap(String, ShardMap)

Tries to obtains a ShardMap given the name.

UpgradeGlobalStore() UpgradeGlobalStore() UpgradeGlobalStore()

Upgrades store hosting global shard map to the latest version supported by library.

UpgradeLocalStore(ShardLocation) UpgradeLocalStore(ShardLocation) UpgradeLocalStore(ShardLocation)

Upgrades store location to the latest version supported by library.

Extension Methods

IsDefined(Object) IsDefined(Object) IsDefined(Object)

Determines if a certain property is defined or not.

IsNull(Object) IsNull(Object) IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

Applies to