azure-docs-sdk-java/docs-ref-autogen/com.microsoft.azure.elastic...

1190 строки
69 KiB
YAML

### YamlMime:ManagedReference
items:
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper
id: _base_shard_mapper
parent: com.microsoft.azure.elasticdb.shard.mapper
children:
- com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.add(MappingT,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>)
- com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.BaseShardMapper(ShardMapManager,ShardMap)
- com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.DEFAULT_OWNER
- com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.ensureMappingBelongsToShardMap(MappingT,String,String)
- com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.getLockOwnerForMapping(MappingT,ShardManagementErrorCategory)
- com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.getMappingsForRange(Range,Shard,LookupOptions,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>,ShardManagementErrorCategory,String)
- com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.getShardMap()
- com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.getShardMapManager()
- com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.lockOrUnlockMappings(MappingT,UUID,LockOwnerIdOpType,ShardManagementErrorCategory)
- com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.lookup(KeyT,LookupOptions,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>,ShardManagementErrorCategory)
- com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.openConnectionForKey(KeyT,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>,ShardManagementErrorCategory,String)
- com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.openConnectionForKey(KeyT,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>,ShardManagementErrorCategory,String,ConnectionOptions)
- com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.openConnectionForKeyAsync(KeyT,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>,ShardManagementErrorCategory,String)
- com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.openConnectionForKeyAsync(KeyT,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>,ShardManagementErrorCategory,String,ConnectionOptions)
- com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.remove(MappingT,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>,UUID)
- com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.setStatus(MappingT,StatusT,Function<StatusT, StatusT>,Function<StatusT, UpdateT>,ActionGeneric3Param<MappingT, UpdateT, UUID, MappingT>)
- com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.setStatus(MappingT,StatusT,Function<StatusT, StatusT>,Function<StatusT, UpdateT>,ActionGeneric3Param<MappingT, UpdateT, UUID, MappingT>,UUID)
- com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.shardMap
- com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.shardMapManager
- com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.update(MappingT,UpdateT,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>,Function<StatusT, Integer>,Function<Integer, StatusT>)
- com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.update(MappingT,UpdateT,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>,Function<StatusT, Integer>,Function<Integer, StatusT>,UUID)
href: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.yml
langs:
- java
name: BaseShardMapper
nameWithType: BaseShardMapper
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper
type: Class
source:
remote: &o0
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/mapper/BaseShardMapper.java
branch: master
repo: https://github.com/Microsoft/elastic-db-tools-for-java
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/mapper/BaseShardMapper.java
startLine: 63
package: com.microsoft.azure.elasticdb.shard.mapper
summary: <p>Base class for keyed mappers. </p>
syntax:
content: public class BaseShardMapper
inheritance:
- java.lang.Object
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.add(MappingT,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>)
id: add(MappingT,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>)
parent: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper
href: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.yml
langs:
- java
name: add(MappingT mapping, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping)
nameWithType: BaseShardMapper.add(MappingT mapping, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping)
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.add(MappingT mapping, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping)
overload: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.add*
type: Method
source:
remote: *o0
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/mapper/BaseShardMapper.java
startLine: 328
package: com.microsoft.azure.elasticdb.shard.mapper
summary: >-
<p>Adds a mapping to shard map. </p>
<p></p>
syntax:
content: protected final<MappingT extends IShardProvider &IMappingInfoProvider> MappingT add(MappingT mapping, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping)
parameters:
- id: mapping
type: e8a622a9
description: <p>Mapping being added. </p>
- id: constructMapping
type: 290a1f3acom.microsoft.azure.elasticdb.shard.mapmanager._shard_map_managerb33c76fccom.microsoft.azure.elasticdb.shard.map._shard_mapb33c76fccom.microsoft.azure.elasticdb.shard.store._store_mapping33d06176
description: <p>Delegate to construct a mapping object. </p>
return:
type: b396dc83com.microsoft.azure.elasticdb.shard.base._i_shard_provider76390d34com.microsoft.azure.elasticdb.shard.base._i_mapping_info_provider60fd2f83
description: <p>The added mapping object. </p>
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.BaseShardMapper(ShardMapManager,ShardMap)
id: BaseShardMapper(ShardMapManager,ShardMap)
parent: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper
href: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.yml
langs:
- java
name: BaseShardMapper(ShardMapManager shardMapManager, ShardMap sm)
nameWithType: BaseShardMapper.BaseShardMapper(ShardMapManager shardMapManager, ShardMap sm)
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.BaseShardMapper(ShardMapManager shardMapManager, ShardMap sm)
overload: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.BaseShardMapper*
type: Constructor
source:
remote: *o0
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/mapper/BaseShardMapper.java
startLine: 87
package: com.microsoft.azure.elasticdb.shard.mapper
summary: >-
<p>Base shard mapper, which is just a holder of some fields.</p>
<p></p>
syntax:
content: protected BaseShardMapper(ShardMapManager shardMapManager, ShardMap sm)
parameters:
- id: shardMapManager
type: com.microsoft.azure.elasticdb.shard.mapmanager._shard_map_manager
description: <p>Reference to ShardMapManager. </p>
- id: sm
type: com.microsoft.azure.elasticdb.shard.map._shard_map
description: <p>Containing shard map. </p>
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.DEFAULT_OWNER
id: DEFAULT_OWNER
parent: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper
href: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.yml
langs:
- java
name: DEFAULT_OWNER
nameWithType: BaseShardMapper.DEFAULT_OWNER
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.DEFAULT_OWNER
type: Field
source:
remote: *o0
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/mapper/BaseShardMapper.java
startLine: 65
package: com.microsoft.azure.elasticdb.shard.mapper
syntax:
content: protected static final UUID DEFAULT_OWNER= UUID.randomUUID()
return:
type: 5668214f
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.ensureMappingBelongsToShardMap(MappingT,String,String)
id: ensureMappingBelongsToShardMap(MappingT,String,String)
parent: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper
href: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.yml
langs:
- java
name: ensureMappingBelongsToShardMap(MappingT mapping, String operationName, String parameterName)
nameWithType: BaseShardMapper.ensureMappingBelongsToShardMap(MappingT mapping, String operationName, String parameterName)
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.ensureMappingBelongsToShardMap(MappingT mapping, String operationName, String parameterName)
overload: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.ensureMappingBelongsToShardMap*
type: Method
source:
remote: *o0
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/mapper/BaseShardMapper.java
startLine: 759
package: com.microsoft.azure.elasticdb.shard.mapper
summary: >-
<p>Validates the input parameters and ensures that the mapping parameter belong to this shard map.</p>
<p></p>
syntax:
content: protected final<MappingT extends IMappingInfoProvider> void ensureMappingBelongsToShardMap(MappingT mapping, String operationName, String parameterName)
parameters:
- id: mapping
type: e8a622a9
description: <p>Mapping to be validated. </p>
- id: operationName
type: "26831127"
description: <p>Operation being performed. </p>
- id: parameterName
type: "26831127"
description: <p>Parameter name for mapping parameter. </p>
return:
type: b396dc83com.microsoft.azure.elasticdb.shard.base._i_mapping_info_provider7af52f3a
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.getLockOwnerForMapping(MappingT,ShardManagementErrorCategory)
id: getLockOwnerForMapping(MappingT,ShardManagementErrorCategory)
parent: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper
href: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.yml
langs:
- java
name: getLockOwnerForMapping(MappingT mapping, ShardManagementErrorCategory errorCategory)
nameWithType: BaseShardMapper.getLockOwnerForMapping(MappingT mapping, ShardManagementErrorCategory errorCategory)
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.getLockOwnerForMapping(MappingT mapping, ShardManagementErrorCategory errorCategory)
overload: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.getLockOwnerForMapping*
type: Method
source:
remote: *o0
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/mapper/BaseShardMapper.java
startLine: 691
package: com.microsoft.azure.elasticdb.shard.mapper
summary: >-
<p>Gets the lock owner of a mapping.</p>
<p></p>
syntax:
content: public final<MappingT extends IShardProvider &IMappingInfoProvider> UUID getLockOwnerForMapping(MappingT mapping, ShardManagementErrorCategory errorCategory)
parameters:
- id: mapping
type: e8a622a9
description: <p>The mapping </p>
- id: errorCategory
type: com.microsoft.azure.elasticdb.shard.mapmanager._shard_management_error_category
description: <p>Error category to use for the store operation </p>
return:
type: b396dc83com.microsoft.azure.elasticdb.shard.base._i_shard_provider76390d34com.microsoft.azure.elasticdb.shard.base._i_mapping_info_provider3dcbd6e4
description: <p>Lock owner for the mapping. </p>
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.getMappingsForRange(Range,Shard,LookupOptions,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>,ShardManagementErrorCategory,String)
id: getMappingsForRange(Range,Shard,LookupOptions,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>,ShardManagementErrorCategory,String)
parent: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper
href: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.yml
langs:
- java
name: getMappingsForRange(Range range, Shard shard, LookupOptions lookupOptions, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, ShardManagementErrorCategory errorCategory, String mappingType)
nameWithType: BaseShardMapper.getMappingsForRange(Range range, Shard shard, LookupOptions lookupOptions, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, ShardManagementErrorCategory errorCategory, String mappingType)
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.getMappingsForRange(Range range, Shard shard, LookupOptions lookupOptions, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, ShardManagementErrorCategory errorCategory, String mappingType)
overload: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.getMappingsForRange*
type: Method
source:
remote: *o0
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/mapper/BaseShardMapper.java
startLine: 518
package: com.microsoft.azure.elasticdb.shard.mapper
summary: >-
<p>Gets all the mappings that exist within given range.</p>
<p></p>
syntax:
content: protected final<MappingT> List<MappingT> getMappingsForRange(Range range, Shard shard, LookupOptions lookupOptions, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, ShardManagementErrorCategory errorCategory, String mappingType)
parameters:
- id: range
type: com.microsoft.azure.elasticdb.shard.base._range
description: <p>Optional range value, if null, we cover everything. </p>
- id: shard
type: com.microsoft.azure.elasticdb.shard.base._shard
description: <p>Optional shard parameter, if null, we cover all shards. </p>
- id: lookupOptions
type: com.microsoft.azure.elasticdb.shard.base._lookup_options
description: <p>Whether to use cache and/or storage for lookups. </p>
- id: constructMapping
type: 290a1f3acom.microsoft.azure.elasticdb.shard.mapmanager._shard_map_managerb33c76fccom.microsoft.azure.elasticdb.shard.map._shard_mapb33c76fccom.microsoft.azure.elasticdb.shard.store._store_mapping33d06176
description: <p>Delegate to construct a mapping object. </p>
- id: errorCategory
type: com.microsoft.azure.elasticdb.shard.mapmanager._shard_management_error_category
description: <p>Category under which errors will be posted. </p>
- id: mappingType
type: "26831127"
description: <p>Name of mapping type. </p>
return:
type: a32d3674
description: <p>Read-only collection of mappings that overlap with given range. </p>
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.getShardMap()
id: getShardMap()
parent: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper
href: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.yml
langs:
- java
name: getShardMap()
nameWithType: BaseShardMapper.getShardMap()
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.getShardMap()
overload: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.getShardMap*
type: Method
source:
remote: *o0
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/mapper/BaseShardMapper.java
startLine: 150
package: com.microsoft.azure.elasticdb.shard.mapper
syntax:
content: protected final ShardMap getShardMap()
return:
type: 93de0ef9com.microsoft.azure.elasticdb.shard.map._shard_map
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.getShardMapManager()
id: getShardMapManager()
parent: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper
href: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.yml
langs:
- java
name: getShardMapManager()
nameWithType: BaseShardMapper.getShardMapManager()
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.getShardMapManager()
overload: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.getShardMapManager*
type: Method
source:
remote: *o0
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/mapper/BaseShardMapper.java
startLine: 146
package: com.microsoft.azure.elasticdb.shard.mapper
syntax:
content: protected final ShardMapManager getShardMapManager()
return:
type: 93de0ef9com.microsoft.azure.elasticdb.shard.mapmanager._shard_map_manager
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.lockOrUnlockMappings(MappingT,UUID,LockOwnerIdOpType,ShardManagementErrorCategory)
id: lockOrUnlockMappings(MappingT,UUID,LockOwnerIdOpType,ShardManagementErrorCategory)
parent: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper
href: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.yml
langs:
- java
name: lockOrUnlockMappings(MappingT mapping, UUID lockOwnerId, LockOwnerIdOpType lockOwnerIdOpType, ShardManagementErrorCategory errorCategory)
nameWithType: BaseShardMapper.lockOrUnlockMappings(MappingT mapping, UUID lockOwnerId, LockOwnerIdOpType lockOwnerIdOpType, ShardManagementErrorCategory errorCategory)
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.lockOrUnlockMappings(MappingT mapping, UUID lockOwnerId, LockOwnerIdOpType lockOwnerIdOpType, ShardManagementErrorCategory errorCategory)
overload: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.lockOrUnlockMappings*
type: Method
source:
remote: *o0
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/mapper/BaseShardMapper.java
startLine: 721
package: com.microsoft.azure.elasticdb.shard.mapper
summary: >-
<p>Locks or unlocks a given mapping or all mappings.</p>
<p></p>
syntax:
content: public final<MappingT extends IShardProvider &IMappingInfoProvider> void lockOrUnlockMappings(MappingT mapping, UUID lockOwnerId, LockOwnerIdOpType lockOwnerIdOpType, ShardManagementErrorCategory errorCategory)
parameters:
- id: mapping
type: e8a622a9
description: <p>Optional mapping </p>
- id: lockOwnerId
type: add9545a
description: <p>The lock owner id </p>
- id: lockOwnerIdOpType
type: com.microsoft.azure.elasticdb.shard.base._lock_owner_id_op_type
description: <p>Operation to perform on this mapping with the given lockOwnerId </p>
- id: errorCategory
type: com.microsoft.azure.elasticdb.shard.mapmanager._shard_management_error_category
description: <p>Error category to use for the store operation </p>
return:
type: b396dc83com.microsoft.azure.elasticdb.shard.base._i_shard_provider76390d34com.microsoft.azure.elasticdb.shard.base._i_mapping_info_provider7af52f3a
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.lookup(KeyT,LookupOptions,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>,ShardManagementErrorCategory)
id: lookup(KeyT,LookupOptions,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>,ShardManagementErrorCategory)
parent: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper
href: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.yml
langs:
- java
name: lookup(KeyT key, LookupOptions lookupOptions, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, ShardManagementErrorCategory errorCategory)
nameWithType: BaseShardMapper.lookup(KeyT key, LookupOptions lookupOptions, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, ShardManagementErrorCategory errorCategory)
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.lookup(KeyT key, LookupOptions lookupOptions, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, ShardManagementErrorCategory errorCategory)
overload: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.lookup*
type: Method
source:
remote: *o0
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/mapper/BaseShardMapper.java
startLine: 398
package: com.microsoft.azure.elasticdb.shard.mapper
summary: >-
<p>Looks up the key value and returns the corresponding mapping. </p>
<p></p>
syntax:
content: protected final<MappingT extends IShardProvider, KeyT> MappingT lookup(KeyT key, LookupOptions lookupOptions, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, ShardManagementErrorCategory errorCategory)
parameters:
- id: key
type: 3590bc99
description: <p>Input key value. </p>
- id: lookupOptions
type: com.microsoft.azure.elasticdb.shard.base._lookup_options
description: <p>Whether to use cache and/or storage for lookups. </p>
- id: constructMapping
type: 290a1f3acom.microsoft.azure.elasticdb.shard.mapmanager._shard_map_managerb33c76fccom.microsoft.azure.elasticdb.shard.map._shard_mapb33c76fccom.microsoft.azure.elasticdb.shard.store._store_mapping33d06176
description: <p>Delegate to construct a mapping object. </p>
- id: errorCategory
type: com.microsoft.azure.elasticdb.shard.mapmanager._shard_management_error_category
description: <p>Category under which errors must be thrown. </p>
return:
type: b396dc83com.microsoft.azure.elasticdb.shard.base._i_shard_provider3e8e438e
description: <p>Mapping that contains the key value. </p>
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.openConnectionForKey(KeyT,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>,ShardManagementErrorCategory,String)
id: openConnectionForKey(KeyT,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>,ShardManagementErrorCategory,String)
parent: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper
href: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.yml
langs:
- java
name: openConnectionForKey(KeyT key, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, ShardManagementErrorCategory errorCategory, String connectionString)
nameWithType: BaseShardMapper.openConnectionForKey(KeyT key, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, ShardManagementErrorCategory errorCategory, String connectionString)
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.openConnectionForKey(KeyT key, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, ShardManagementErrorCategory errorCategory, String connectionString)
overload: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.openConnectionForKey*
type: Method
source:
remote: *o0
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/mapper/BaseShardMapper.java
startLine: 169
package: com.microsoft.azure.elasticdb.shard.mapper
summary: >-
<p>Given a key value, obtains a SqlConnection to the shard in the mapping that contains the key value. </p>
<p></p>
syntax:
content: protected final<MappingT extends IShardProvider, KeyT> Connection openConnectionForKey(KeyT key, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, ShardManagementErrorCategory errorCategory, String connectionString)
parameters:
- id: key
type: 3590bc99
description: <p>Input key value. </p>
- id: constructMapping
type: 290a1f3acom.microsoft.azure.elasticdb.shard.mapmanager._shard_map_managerb33c76fccom.microsoft.azure.elasticdb.shard.map._shard_mapb33c76fccom.microsoft.azure.elasticdb.shard.store._store_mapping33d06176
description: <p>Delegate to construct a mapping object. </p>
- id: errorCategory
type: com.microsoft.azure.elasticdb.shard.mapmanager._shard_management_error_category
description: <p>Error category. </p>
- id: connectionString
type: "26831127"
description: <p>Connection string with credential information, the DataSource and Database are obtained from the results of the lookup operation for key. </p>
return:
type: b396dc83com.microsoft.azure.elasticdb.shard.base._i_shard_provider5b9092f8
description: <p>An opened SqlConnection. </p>
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.openConnectionForKey(KeyT,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>,ShardManagementErrorCategory,String,ConnectionOptions)
id: openConnectionForKey(KeyT,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>,ShardManagementErrorCategory,String,ConnectionOptions)
parent: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper
href: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.yml
langs:
- java
name: openConnectionForKey(KeyT key, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, ShardManagementErrorCategory errorCategory, String connectionString, ConnectionOptions options)
nameWithType: BaseShardMapper.openConnectionForKey(KeyT key, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, ShardManagementErrorCategory errorCategory, String connectionString, ConnectionOptions options)
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.openConnectionForKey(KeyT key, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, ShardManagementErrorCategory errorCategory, String connectionString, ConnectionOptions options)
overload: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.openConnectionForKey*
type: Method
source:
remote: *o0
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/mapper/BaseShardMapper.java
startLine: 193
package: com.microsoft.azure.elasticdb.shard.mapper
summary: >-
<p>Given a key value, obtains a SqlConnection to the shard in the mapping that contains the key value. </p>
<p></p>
syntax:
content: protected final<MappingT extends IShardProvider, KeyT> Connection openConnectionForKey(KeyT key, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, ShardManagementErrorCategory errorCategory, String connectionString, ConnectionOptions options)
parameters:
- id: key
type: 3590bc99
description: <p>Input key value. </p>
- id: constructMapping
type: 290a1f3acom.microsoft.azure.elasticdb.shard.mapmanager._shard_map_managerb33c76fccom.microsoft.azure.elasticdb.shard.map._shard_mapb33c76fccom.microsoft.azure.elasticdb.shard.store._store_mapping33d06176
description: <p>Delegate to construct a mapping object. </p>
- id: errorCategory
type: com.microsoft.azure.elasticdb.shard.mapmanager._shard_management_error_category
description: <p>Error category. </p>
- id: connectionString
type: "26831127"
description: <p>Connection string with credential information, the DataSource and Database are obtained from the results of the lookup operation for key. </p>
- id: options
type: com.microsoft.azure.elasticdb.shard.mapper._connection_options
description: <p>Options for validation operations to perform on opened connection. </p>
return:
type: b396dc83com.microsoft.azure.elasticdb.shard.base._i_shard_provider5b9092f8
description: <p>An opened SqlConnection. </p>
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.openConnectionForKeyAsync(KeyT,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>,ShardManagementErrorCategory,String)
id: openConnectionForKeyAsync(KeyT,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>,ShardManagementErrorCategory,String)
parent: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper
href: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.yml
langs:
- java
name: openConnectionForKeyAsync(KeyT key, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, ShardManagementErrorCategory errorCategory, String connectionString)
nameWithType: BaseShardMapper.openConnectionForKeyAsync(KeyT key, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, ShardManagementErrorCategory errorCategory, String connectionString)
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.openConnectionForKeyAsync(KeyT key, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, ShardManagementErrorCategory errorCategory, String connectionString)
overload: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.openConnectionForKeyAsync*
type: Method
source:
remote: *o0
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/mapper/BaseShardMapper.java
startLine: 287
package: com.microsoft.azure.elasticdb.shard.mapper
syntax:
content: protected final<MappingT extends IShardProvider, KeyT> Callable<Connection> openConnectionForKeyAsync(KeyT key, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, ShardManagementErrorCategory errorCategory, String connectionString)
parameters:
- id: key
type: 3590bc99
- id: constructMapping
type: 290a1f3acom.microsoft.azure.elasticdb.shard.mapmanager._shard_map_managerb33c76fccom.microsoft.azure.elasticdb.shard.map._shard_mapb33c76fccom.microsoft.azure.elasticdb.shard.store._store_mapping33d06176
- id: errorCategory
type: com.microsoft.azure.elasticdb.shard.mapmanager._shard_management_error_category
- id: connectionString
type: "26831127"
return:
type: b396dc83com.microsoft.azure.elasticdb.shard.base._i_shard_provider2efa75b7
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.openConnectionForKeyAsync(KeyT,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>,ShardManagementErrorCategory,String,ConnectionOptions)
id: openConnectionForKeyAsync(KeyT,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>,ShardManagementErrorCategory,String,ConnectionOptions)
parent: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper
href: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.yml
langs:
- java
name: openConnectionForKeyAsync(KeyT key, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, ShardManagementErrorCategory errorCategory, String connectionString, ConnectionOptions options)
nameWithType: BaseShardMapper.openConnectionForKeyAsync(KeyT key, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, ShardManagementErrorCategory errorCategory, String connectionString, ConnectionOptions options)
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.openConnectionForKeyAsync(KeyT key, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, ShardManagementErrorCategory errorCategory, String connectionString, ConnectionOptions options)
overload: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.openConnectionForKeyAsync*
type: Method
source:
remote: *o0
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/mapper/BaseShardMapper.java
startLine: 311
package: com.microsoft.azure.elasticdb.shard.mapper
summary: >-
<p>Given a key value, asynchronously obtains a SqlConnection to the shard in the mapping that contains the key value. </p>
<p></p>
syntax:
content: protected final<MappingT extends IShardProvider, KeyT> Callable<Connection> openConnectionForKeyAsync(KeyT key, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, ShardManagementErrorCategory errorCategory, String connectionString, ConnectionOptions options)
parameters:
- id: key
type: 3590bc99
description: <p>Input key value. </p>
- id: constructMapping
type: 290a1f3acom.microsoft.azure.elasticdb.shard.mapmanager._shard_map_managerb33c76fccom.microsoft.azure.elasticdb.shard.map._shard_mapb33c76fccom.microsoft.azure.elasticdb.shard.store._store_mapping33d06176
description: <p>Delegate to construct a mapping object. </p>
- id: errorCategory
type: com.microsoft.azure.elasticdb.shard.mapmanager._shard_management_error_category
description: <p>Error category. </p>
- id: connectionString
type: "26831127"
description: <p>Connection string with credential information, the DataSource and Database are obtained from the results of the lookup operation for key. </p>
- id: options
type: com.microsoft.azure.elasticdb.shard.mapper._connection_options
description: <p>Options for validation operations to perform on opened connection. </p>
return:
type: b396dc83com.microsoft.azure.elasticdb.shard.base._i_shard_provider2efa75b7
description: <p>A task encapsulating an opened SqlConnection as the result. </p>
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.remove(MappingT,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>,UUID)
id: remove(MappingT,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>,UUID)
parent: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper
href: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.yml
langs:
- java
name: remove(MappingT mapping, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, UUID lockOwnerId)
nameWithType: BaseShardMapper.remove(MappingT mapping, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, UUID lockOwnerId)
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.remove(MappingT mapping, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, UUID lockOwnerId)
overload: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.remove*
type: Method
source:
remote: *o0
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/mapper/BaseShardMapper.java
startLine: 363
package: com.microsoft.azure.elasticdb.shard.mapper
summary: >-
<p>Removes a mapping from shard map. </p>
<p></p>
syntax:
content: protected final<MappingT extends IShardProvider &IMappingInfoProvider> void remove(MappingT mapping, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, UUID lockOwnerId)
parameters:
- id: mapping
type: e8a622a9
description: <p>Mapping being removed. </p>
- id: constructMapping
type: 290a1f3acom.microsoft.azure.elasticdb.shard.mapmanager._shard_map_managerb33c76fccom.microsoft.azure.elasticdb.shard.map._shard_mapb33c76fccom.microsoft.azure.elasticdb.shard.store._store_mapping33d06176
description: <p>Delegate to construct a mapping object. </p>
- id: lockOwnerId
type: add9545a
description: <p>Lock owner id of this mapping </p>
return:
type: b396dc83com.microsoft.azure.elasticdb.shard.base._i_shard_provider76390d34com.microsoft.azure.elasticdb.shard.base._i_mapping_info_provider7af52f3a
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.setStatus(MappingT,StatusT,Function<StatusT, StatusT>,Function<StatusT, UpdateT>,ActionGeneric3Param<MappingT, UpdateT, UUID, MappingT>)
id: setStatus(MappingT,StatusT,Function<StatusT, StatusT>,Function<StatusT, UpdateT>,ActionGeneric3Param<MappingT, UpdateT, UUID, MappingT>)
parent: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper
href: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.yml
langs:
- java
name: setStatus(MappingT mapping, StatusT status, Function<StatusT, StatusT> getStatus, Function<StatusT, UpdateT> createUpdate, ActionGeneric3Param<MappingT, UpdateT, UUID, MappingT> runUpdate)
nameWithType: BaseShardMapper.setStatus(MappingT mapping, StatusT status, Function<StatusT, StatusT> getStatus, Function<StatusT, UpdateT> createUpdate, ActionGeneric3Param<MappingT, UpdateT, UUID, MappingT> runUpdate)
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.setStatus(MappingT mapping, StatusT status, Function<StatusT, StatusT> getStatus, Function<StatusT, UpdateT> createUpdate, ActionGeneric3Param<MappingT, UpdateT, UUID, MappingT> runUpdate)
overload: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.setStatus*
type: Method
source:
remote: *o0
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/mapper/BaseShardMapper.java
startLine: 109
package: com.microsoft.azure.elasticdb.shard.mapper
summary: >-
<p>Sets the status of a shard mapping </p>
<p></p>
syntax:
content: protected static static<MappingT, UpdateT, StatusT> MappingT setStatus(MappingT mapping, StatusT status, Function<StatusT, StatusT> getStatus, Function<StatusT, UpdateT> createUpdate, ActionGeneric3Param<MappingT, UpdateT, UUID, MappingT> runUpdate)
parameters:
- id: mapping
type: e8a622a9
description: <p>Mapping being added. </p>
- id: status
type: "6102e815"
description: <p>Status of <em>mapping</em> mapping being added. </p>
- id: getStatus
type: 3f172bda
description: <p>Delegate to construct new status from <em>status</em> input status. </p>
- id: createUpdate
type: 39fa7c63
description: <p>Delegate to construct new update from new status returned by <em>getStatus</em> getStatus. </p>
- id: runUpdate
type: 656daaab
description: <p>Delegate to perform update from the <em>mapping</em> input mapping and the update object returned by <em>getStatus</em> createUpdate . </p>
return:
type: 4ff6e6da
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.setStatus(MappingT,StatusT,Function<StatusT, StatusT>,Function<StatusT, UpdateT>,ActionGeneric3Param<MappingT, UpdateT, UUID, MappingT>,UUID)
id: setStatus(MappingT,StatusT,Function<StatusT, StatusT>,Function<StatusT, UpdateT>,ActionGeneric3Param<MappingT, UpdateT, UUID, MappingT>,UUID)
parent: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper
href: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.yml
langs:
- java
name: setStatus(MappingT mapping, StatusT status, Function<StatusT, StatusT> getStatus, Function<StatusT, UpdateT> createUpdate, ActionGeneric3Param<MappingT, UpdateT, UUID, MappingT> runUpdate, UUID lockOwnerId)
nameWithType: BaseShardMapper.setStatus(MappingT mapping, StatusT status, Function<StatusT, StatusT> getStatus, Function<StatusT, UpdateT> createUpdate, ActionGeneric3Param<MappingT, UpdateT, UUID, MappingT> runUpdate, UUID lockOwnerId)
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.setStatus(MappingT mapping, StatusT status, Function<StatusT, StatusT> getStatus, Function<StatusT, UpdateT> createUpdate, ActionGeneric3Param<MappingT, UpdateT, UUID, MappingT> runUpdate, UUID lockOwnerId)
overload: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.setStatus*
type: Method
source:
remote: *o0
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/mapper/BaseShardMapper.java
startLine: 135
package: com.microsoft.azure.elasticdb.shard.mapper
summary: >-
<p>Sets the status of a shard mapping </p>
<p></p>
syntax:
content: protected static static<MappingT, UpdateT, StatusT> MappingT setStatus(MappingT mapping, StatusT status, Function<StatusT, StatusT> getStatus, Function<StatusT, UpdateT> createUpdate, ActionGeneric3Param<MappingT, UpdateT, UUID, MappingT> runUpdate, UUID lockOwnerId)
parameters:
- id: mapping
type: e8a622a9
description: <p>Mapping being added. </p>
- id: status
type: "6102e815"
description: <p>Status of <em>mapping</em> mapping being added. </p>
- id: getStatus
type: 3f172bda
description: <p>Delegate to construct new status from <em>status</em> input status. </p>
- id: createUpdate
type: 39fa7c63
description: <p>Delegate to construct new update from new status returned by <em>getStatus</em> getStatus. </p>
- id: runUpdate
type: 656daaab
description: <p>Delegate to perform update from the <em>mapping</em> input mapping and the update object returned by <em>getStatus</em> createUpdate . </p>
- id: lockOwnerId
type: add9545a
description: <p>Lock owner id of this mapping </p>
return:
type: 4ff6e6da
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.shardMap
id: shardMap
parent: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper
href: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.yml
langs:
- java
name: shardMap
nameWithType: BaseShardMapper.shardMap
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.shardMap
type: Field
source:
remote: *o0
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/mapper/BaseShardMapper.java
startLine: 77
package: com.microsoft.azure.elasticdb.shard.mapper
summary: <p>Containing shard map. </p>
syntax:
content: protected ShardMap shardMap
return:
type: com.microsoft.azure.elasticdb.shard.map._shard_map
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.shardMapManager
id: shardMapManager
parent: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper
href: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.yml
langs:
- java
name: shardMapManager
nameWithType: BaseShardMapper.shardMapManager
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.shardMapManager
type: Field
source:
remote: *o0
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/mapper/BaseShardMapper.java
startLine: 72
package: com.microsoft.azure.elasticdb.shard.mapper
summary: <p>Reference to ShardMapManager. </p>
syntax:
content: protected ShardMapManager shardMapManager
return:
type: com.microsoft.azure.elasticdb.shard.mapmanager._shard_map_manager
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.update(MappingT,UpdateT,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>,Function<StatusT, Integer>,Function<Integer, StatusT>)
id: update(MappingT,UpdateT,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>,Function<StatusT, Integer>,Function<Integer, StatusT>)
parent: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper
href: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.yml
langs:
- java
name: update(MappingT currentMapping, UpdateT update, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, Function<StatusT, Integer> statusAsInt, Function<Integer, StatusT> intAsStatus)
nameWithType: BaseShardMapper.update(MappingT currentMapping, UpdateT update, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, Function<StatusT, Integer> statusAsInt, Function<Integer, StatusT> intAsStatus)
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.update(MappingT currentMapping, UpdateT update, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, Function<StatusT, Integer> statusAsInt, Function<Integer, StatusT> intAsStatus)
overload: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.update*
type: Method
source:
remote: *o0
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/mapper/BaseShardMapper.java
startLine: 580
package: com.microsoft.azure.elasticdb.shard.mapper
summary: >-
<p>Allows for update to a mapping with the updates provided in the <em>update</em> parameter.</p>
<p></p>
syntax:
content: protected final<MappingT extends IShardProvider &IMappingInfoProvider, UpdateT extends IMappingUpdate<StatusT>, StatusT> MappingT update(MappingT currentMapping, UpdateT update, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, Function<StatusT, Integer> statusAsInt, Function<Integer, StatusT> intAsStatus)
parameters:
- id: currentMapping
type: e8a622a9
description: <p>Mapping being updated. </p>
- id: update
type: 1c6c308f
description: <p>Updated properties of the Shard. </p>
- id: constructMapping
type: 290a1f3acom.microsoft.azure.elasticdb.shard.mapmanager._shard_map_managerb33c76fccom.microsoft.azure.elasticdb.shard.map._shard_mapb33c76fccom.microsoft.azure.elasticdb.shard.store._store_mapping33d06176
description: <p>Delegate to construct a mapping object. </p>
- id: statusAsInt
type: 3d63a4b2
description: <p>Delegate to get the mapping status as an integer value. </p>
- id: intAsStatus
type: 6dcea5ac
description: <p>Delegate to get the mapping status from an integer value. </p>
return:
type: b396dc83com.microsoft.azure.elasticdb.shard.base._i_shard_provider76390d34com.microsoft.azure.elasticdb.shard.base._i_mapping_info_provider5312cdf4com.microsoft.azure.elasticdb.shard.base._i_mapping_update4c63efdb
description: <p>New instance of mapping with updated information. </p>
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.update(MappingT,UpdateT,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>,Function<StatusT, Integer>,Function<Integer, StatusT>,UUID)
id: update(MappingT,UpdateT,ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT>,Function<StatusT, Integer>,Function<Integer, StatusT>,UUID)
parent: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper
href: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.yml
langs:
- java
name: update(MappingT currentMapping, UpdateT update, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, Function<StatusT, Integer> statusAsInt, Function<Integer, StatusT> intAsStatus, UUID lockOwnerId)
nameWithType: BaseShardMapper.update(MappingT currentMapping, UpdateT update, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, Function<StatusT, Integer> statusAsInt, Function<Integer, StatusT> intAsStatus, UUID lockOwnerId)
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.update(MappingT currentMapping, UpdateT update, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, Function<StatusT, Integer> statusAsInt, Function<Integer, StatusT> intAsStatus, UUID lockOwnerId)
overload: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.update*
type: Method
source:
remote: *o0
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/mapper/BaseShardMapper.java
startLine: 606
package: com.microsoft.azure.elasticdb.shard.mapper
summary: >-
<p>Allows for update to a mapping with the updates provided in the <em>update</em> parameter.</p>
<p></p>
syntax:
content: protected final<MappingT extends IShardProvider &IMappingInfoProvider, UpdateT extends IMappingUpdate<StatusT>, StatusT> MappingT update(MappingT currentMapping, UpdateT update, ActionGeneric3Param<ShardMapManager, ShardMap, StoreMapping, MappingT> constructMapping, Function<StatusT, Integer> statusAsInt, Function<Integer, StatusT> intAsStatus, UUID lockOwnerId)
parameters:
- id: currentMapping
type: e8a622a9
description: <p>Mapping being updated. </p>
- id: update
type: 1c6c308f
description: <p>Updated properties of the Shard. </p>
- id: constructMapping
type: 290a1f3acom.microsoft.azure.elasticdb.shard.mapmanager._shard_map_managerb33c76fccom.microsoft.azure.elasticdb.shard.map._shard_mapb33c76fccom.microsoft.azure.elasticdb.shard.store._store_mapping33d06176
description: <p>Delegate to construct a mapping object. </p>
- id: statusAsInt
type: 3d63a4b2
description: <p>Delegate to get the mapping status as an integer value. </p>
- id: intAsStatus
type: 6dcea5ac
description: <p>Delegate to get the mapping status from an integer value. </p>
- id: lockOwnerId
type: add9545a
description: <p>Lock owner id of this mapping </p>
return:
type: b396dc83com.microsoft.azure.elasticdb.shard.base._i_shard_provider76390d34com.microsoft.azure.elasticdb.shard.base._i_mapping_info_provider5312cdf4com.microsoft.azure.elasticdb.shard.base._i_mapping_update4c63efdb
description: <p>New instance of mapping with updated information. </p>
references:
- uid: 5668214f
spec.java:
- name: final UUID
fullName: final UUID
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.BaseShardMapper*
name: BaseShardMapper
nameWithType: BaseShardMapper.BaseShardMapper
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.BaseShardMapper
package: com.microsoft.azure.elasticdb.shard.mapper
- uid: 93de0ef9com.microsoft.azure.elasticdb.shard.mapmanager._shard_map_manager
spec.java:
- name: 'final '
fullName: 'final '
- uid: com.microsoft.azure.elasticdb.shard.mapmanager._shard_map_manager
name: ShardMapManager
fullName: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager
href: com.microsoft.azure.elasticdb.shard.mapmanager._shard_map_manager.yml
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.getShardMapManager*
name: getShardMapManager
nameWithType: BaseShardMapper.getShardMapManager
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.getShardMapManager
package: com.microsoft.azure.elasticdb.shard.mapper
- uid: 93de0ef9com.microsoft.azure.elasticdb.shard.map._shard_map
spec.java:
- name: 'final '
fullName: 'final '
- uid: com.microsoft.azure.elasticdb.shard.map._shard_map
name: ShardMap
fullName: com.microsoft.azure.elasticdb.shard.map.ShardMap
href: com.microsoft.azure.elasticdb.shard.map._shard_map.yml
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.getShardMap*
name: getShardMap
nameWithType: BaseShardMapper.getShardMap
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.getShardMap
package: com.microsoft.azure.elasticdb.shard.mapper
- uid: 3590bc99
spec.java:
- name: KeyT
fullName: KeyT
- uid: 290a1f3acom.microsoft.azure.elasticdb.shard.mapmanager._shard_map_managerb33c76fccom.microsoft.azure.elasticdb.shard.map._shard_mapb33c76fccom.microsoft.azure.elasticdb.shard.store._store_mapping33d06176
spec.java:
- name: ActionGeneric3Param<
fullName: ActionGeneric3Param<
- uid: com.microsoft.azure.elasticdb.shard.mapmanager._shard_map_manager
name: ShardMapManager
fullName: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager
href: com.microsoft.azure.elasticdb.shard.mapmanager._shard_map_manager.yml
- name: ', '
fullName: ', '
- uid: com.microsoft.azure.elasticdb.shard.map._shard_map
name: ShardMap
fullName: com.microsoft.azure.elasticdb.shard.map.ShardMap
href: com.microsoft.azure.elasticdb.shard.map._shard_map.yml
- name: ', '
fullName: ', '
- uid: com.microsoft.azure.elasticdb.shard.store._store_mapping
name: StoreMapping
fullName: com.microsoft.azure.elasticdb.shard.store.StoreMapping
href: com.microsoft.azure.elasticdb.shard.store._store_mapping.yml
- name: ', MappingT>'
fullName: ', MappingT>'
- uid: "26831127"
spec.java:
- name: String
fullName: String
- uid: b396dc83com.microsoft.azure.elasticdb.shard.base._i_shard_provider5b9092f8
spec.java:
- name: 'final<MappingT extends '
fullName: 'final<MappingT extends '
- uid: com.microsoft.azure.elasticdb.shard.base._i_shard_provider
name: IShardProvider
fullName: com.microsoft.azure.elasticdb.shard.base.IShardProvider
href: com.microsoft.azure.elasticdb.shard.base._i_shard_provider.yml
- name: ', KeyT> Connection'
fullName: ', KeyT> Connection'
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.openConnectionForKey*
name: openConnectionForKey
nameWithType: BaseShardMapper.openConnectionForKey
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.openConnectionForKey
package: com.microsoft.azure.elasticdb.shard.mapper
- uid: b396dc83com.microsoft.azure.elasticdb.shard.base._i_shard_provider2efa75b7
spec.java:
- name: 'final<MappingT extends '
fullName: 'final<MappingT extends '
- uid: com.microsoft.azure.elasticdb.shard.base._i_shard_provider
name: IShardProvider
fullName: com.microsoft.azure.elasticdb.shard.base.IShardProvider
href: com.microsoft.azure.elasticdb.shard.base._i_shard_provider.yml
- name: ', KeyT> Callable<Connection>'
fullName: ', KeyT> Callable<Connection>'
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.openConnectionForKeyAsync*
name: openConnectionForKeyAsync
nameWithType: BaseShardMapper.openConnectionForKeyAsync
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.openConnectionForKeyAsync
package: com.microsoft.azure.elasticdb.shard.mapper
- uid: e8a622a9
spec.java:
- name: MappingT
fullName: MappingT
- uid: b396dc83com.microsoft.azure.elasticdb.shard.base._i_shard_provider76390d34com.microsoft.azure.elasticdb.shard.base._i_mapping_info_provider60fd2f83
spec.java:
- name: 'final<MappingT extends '
fullName: 'final<MappingT extends '
- uid: com.microsoft.azure.elasticdb.shard.base._i_shard_provider
name: IShardProvider
fullName: com.microsoft.azure.elasticdb.shard.base.IShardProvider
href: com.microsoft.azure.elasticdb.shard.base._i_shard_provider.yml
- name: " &"
fullName: " &"
- uid: com.microsoft.azure.elasticdb.shard.base._i_mapping_info_provider
name: IMappingInfoProvider
fullName: com.microsoft.azure.elasticdb.shard.base.IMappingInfoProvider
href: com.microsoft.azure.elasticdb.shard.base._i_mapping_info_provider.yml
- name: '> MappingT'
fullName: '> MappingT'
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.add*
name: add
nameWithType: BaseShardMapper.add
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.add
package: com.microsoft.azure.elasticdb.shard.mapper
- uid: add9545a
spec.java:
- name: UUID
fullName: UUID
- uid: b396dc83com.microsoft.azure.elasticdb.shard.base._i_shard_provider76390d34com.microsoft.azure.elasticdb.shard.base._i_mapping_info_provider7af52f3a
spec.java:
- name: 'final<MappingT extends '
fullName: 'final<MappingT extends '
- uid: com.microsoft.azure.elasticdb.shard.base._i_shard_provider
name: IShardProvider
fullName: com.microsoft.azure.elasticdb.shard.base.IShardProvider
href: com.microsoft.azure.elasticdb.shard.base._i_shard_provider.yml
- name: " &"
fullName: " &"
- uid: com.microsoft.azure.elasticdb.shard.base._i_mapping_info_provider
name: IMappingInfoProvider
fullName: com.microsoft.azure.elasticdb.shard.base.IMappingInfoProvider
href: com.microsoft.azure.elasticdb.shard.base._i_mapping_info_provider.yml
- name: '> void'
fullName: '> void'
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.remove*
name: remove
nameWithType: BaseShardMapper.remove
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.remove
package: com.microsoft.azure.elasticdb.shard.mapper
- uid: b396dc83com.microsoft.azure.elasticdb.shard.base._i_shard_provider3e8e438e
spec.java:
- name: 'final<MappingT extends '
fullName: 'final<MappingT extends '
- uid: com.microsoft.azure.elasticdb.shard.base._i_shard_provider
name: IShardProvider
fullName: com.microsoft.azure.elasticdb.shard.base.IShardProvider
href: com.microsoft.azure.elasticdb.shard.base._i_shard_provider.yml
- name: ', KeyT> MappingT'
fullName: ', KeyT> MappingT'
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.lookup*
name: lookup
nameWithType: BaseShardMapper.lookup
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.lookup
package: com.microsoft.azure.elasticdb.shard.mapper
- uid: a32d3674
spec.java:
- name: final<MappingT> List<MappingT>
fullName: final<MappingT> List<MappingT>
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.getMappingsForRange*
name: getMappingsForRange
nameWithType: BaseShardMapper.getMappingsForRange
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.getMappingsForRange
package: com.microsoft.azure.elasticdb.shard.mapper
- uid: 1c6c308f
spec.java:
- name: UpdateT
fullName: UpdateT
- uid: 3d63a4b2
spec.java:
- name: Function<StatusT, Integer>
fullName: Function<StatusT, Integer>
- uid: 6dcea5ac
spec.java:
- name: Function<Integer, StatusT>
fullName: Function<Integer, StatusT>
- uid: b396dc83com.microsoft.azure.elasticdb.shard.base._i_shard_provider76390d34com.microsoft.azure.elasticdb.shard.base._i_mapping_info_provider5312cdf4com.microsoft.azure.elasticdb.shard.base._i_mapping_update4c63efdb
spec.java:
- name: 'final<MappingT extends '
fullName: 'final<MappingT extends '
- uid: com.microsoft.azure.elasticdb.shard.base._i_shard_provider
name: IShardProvider
fullName: com.microsoft.azure.elasticdb.shard.base.IShardProvider
href: com.microsoft.azure.elasticdb.shard.base._i_shard_provider.yml
- name: " &"
fullName: " &"
- uid: com.microsoft.azure.elasticdb.shard.base._i_mapping_info_provider
name: IMappingInfoProvider
fullName: com.microsoft.azure.elasticdb.shard.base.IMappingInfoProvider
href: com.microsoft.azure.elasticdb.shard.base._i_mapping_info_provider.yml
- name: ', UpdateT extends '
fullName: ', UpdateT extends '
- uid: com.microsoft.azure.elasticdb.shard.base._i_mapping_update
name: IMappingUpdate
fullName: com.microsoft.azure.elasticdb.shard.base.IMappingUpdate
href: com.microsoft.azure.elasticdb.shard.base._i_mapping_update.yml
- name: <StatusT>, StatusT> MappingT
fullName: <StatusT>, StatusT> MappingT
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.update*
name: update
nameWithType: BaseShardMapper.update
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.update
package: com.microsoft.azure.elasticdb.shard.mapper
- uid: b396dc83com.microsoft.azure.elasticdb.shard.base._i_mapping_info_provider7af52f3a
spec.java:
- name: 'final<MappingT extends '
fullName: 'final<MappingT extends '
- uid: com.microsoft.azure.elasticdb.shard.base._i_mapping_info_provider
name: IMappingInfoProvider
fullName: com.microsoft.azure.elasticdb.shard.base.IMappingInfoProvider
href: com.microsoft.azure.elasticdb.shard.base._i_mapping_info_provider.yml
- name: '> void'
fullName: '> void'
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.ensureMappingBelongsToShardMap*
name: ensureMappingBelongsToShardMap
nameWithType: BaseShardMapper.ensureMappingBelongsToShardMap
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.ensureMappingBelongsToShardMap
package: com.microsoft.azure.elasticdb.shard.mapper
- uid: "6102e815"
spec.java:
- name: StatusT
fullName: StatusT
- uid: 3f172bda
spec.java:
- name: Function<StatusT, StatusT>
fullName: Function<StatusT, StatusT>
- uid: 39fa7c63
spec.java:
- name: Function<StatusT, UpdateT>
fullName: Function<StatusT, UpdateT>
- uid: 656daaab
spec.java:
- name: ActionGeneric3Param<MappingT, UpdateT, UUID, MappingT>
fullName: ActionGeneric3Param<MappingT, UpdateT, UUID, MappingT>
- uid: 4ff6e6da
spec.java:
- name: static<MappingT, UpdateT, StatusT> MappingT
fullName: static<MappingT, UpdateT, StatusT> MappingT
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.setStatus*
name: setStatus
nameWithType: BaseShardMapper.setStatus
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.setStatus
package: com.microsoft.azure.elasticdb.shard.mapper
- uid: b396dc83com.microsoft.azure.elasticdb.shard.base._i_shard_provider76390d34com.microsoft.azure.elasticdb.shard.base._i_mapping_info_provider3dcbd6e4
spec.java:
- name: 'final<MappingT extends '
fullName: 'final<MappingT extends '
- uid: com.microsoft.azure.elasticdb.shard.base._i_shard_provider
name: IShardProvider
fullName: com.microsoft.azure.elasticdb.shard.base.IShardProvider
href: com.microsoft.azure.elasticdb.shard.base._i_shard_provider.yml
- name: " &"
fullName: " &"
- uid: com.microsoft.azure.elasticdb.shard.base._i_mapping_info_provider
name: IMappingInfoProvider
fullName: com.microsoft.azure.elasticdb.shard.base.IMappingInfoProvider
href: com.microsoft.azure.elasticdb.shard.base._i_mapping_info_provider.yml
- name: '> UUID'
fullName: '> UUID'
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.getLockOwnerForMapping*
name: getLockOwnerForMapping
nameWithType: BaseShardMapper.getLockOwnerForMapping
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.getLockOwnerForMapping
package: com.microsoft.azure.elasticdb.shard.mapper
- uid: com.microsoft.azure.elasticdb.shard.mapper._base_shard_mapper.lockOrUnlockMappings*
name: lockOrUnlockMappings
nameWithType: BaseShardMapper.lockOrUnlockMappings
fullName: com.microsoft.azure.elasticdb.shard.mapper.BaseShardMapper.lockOrUnlockMappings
package: com.microsoft.azure.elasticdb.shard.mapper
- uid: com.microsoft.azure.elasticdb.shard.mapper._default_shard_mapper
parent: com.microsoft.azure.elasticdb.shard.mapper
href: com.microsoft.azure.elasticdb.shard.mapper._default_shard_mapper.yml
name: DefaultShardMapper
nameWithType: DefaultShardMapper
fullName: com.microsoft.azure.elasticdb.shard.mapper.DefaultShardMapper
type: Class
summary: <p>Default shard mapper, that basically is a container of shards with no keys. </p>
syntax:
content: public class DefaultShardMapper
- uid: com.microsoft.azure.elasticdb.shard.mapper._list_shard_mapper
parent: com.microsoft.azure.elasticdb.shard.mapper
href: com.microsoft.azure.elasticdb.shard.mapper._list_shard_mapper.yml
name: ListShardMapper
nameWithType: ListShardMapper
fullName: com.microsoft.azure.elasticdb.shard.mapper.ListShardMapper
type: Class
summary: >-
<p>Mapper from single keys (points) to their corresponding shards.</p>
<p></p>
syntax:
content: public class ListShardMapper
- uid: com.microsoft.azure.elasticdb.shard.mapper._range_shard_mapper
parent: com.microsoft.azure.elasticdb.shard.mapper
href: com.microsoft.azure.elasticdb.shard.mapper._range_shard_mapper.yml
name: RangeShardMapper
nameWithType: RangeShardMapper
fullName: com.microsoft.azure.elasticdb.shard.mapper.RangeShardMapper
type: Class
summary: >-
<p>Mapper from a range of keys to their corresponding shards.</p>
<p></p>
syntax:
content: public class RangeShardMapper
- uid: com.microsoft.azure.elasticdb.shard.mapmanager._shard_map_manager
parent: com.microsoft.azure.elasticdb.shard.mapmanager
href: com.microsoft.azure.elasticdb.shard.mapmanager._shard_map_manager.yml
name: ShardMapManager
nameWithType: ShardMapManager
fullName: com.microsoft.azure.elasticdb.shard.mapmanager.ShardMapManager
type: Class
summary: <p>Serves as the entry point for creation, management and lookup operations over shard maps. </p>
syntax:
content: public class ShardMapManager
- uid: com.microsoft.azure.elasticdb.shard.map._shard_map
parent: com.microsoft.azure.elasticdb.shard.map
href: com.microsoft.azure.elasticdb.shard.map._shard_map.yml
name: ShardMap
nameWithType: ShardMap
fullName: com.microsoft.azure.elasticdb.shard.map.ShardMap
type: Class
summary: <p>Represents a collection of shards and mappings between keys and shards in the collection. </p>
syntax:
content: public class ShardMap
- uid: com.microsoft.azure.elasticdb.shard.base._i_shard_provider
parent: com.microsoft.azure.elasticdb.shard.base
href: com.microsoft.azure.elasticdb.shard.base._i_shard_provider.yml
name: IShardProvider<ValueT>
nameWithType: IShardProvider<ValueT>
fullName: com.microsoft.azure.elasticdb.shard.base.IShardProvider<ValueT>
type: Interface
summary: <p>Represents capabilities to provide a Shard along with an associated value. </p>
syntax:
content: public interface IShardProvider<ValueT>
typeParameters:
- id: ValueT
type: 0fb6b535
- uid: com.microsoft.azure.elasticdb.shard.store._store_mapping
parent: com.microsoft.azure.elasticdb.shard.store
href: com.microsoft.azure.elasticdb.shard.store._store_mapping.yml
name: StoreMapping
nameWithType: StoreMapping
fullName: com.microsoft.azure.elasticdb.shard.store.StoreMapping
type: Class
summary: <p>Storage representation of a mapping b/w key ranges and shards. </p>
syntax:
content: public class StoreMapping
- uid: com.microsoft.azure.elasticdb.shard.mapmanager._shard_management_error_category
parent: com.microsoft.azure.elasticdb.shard.mapmanager
href: com.microsoft.azure.elasticdb.shard.mapmanager._shard_management_error_category.yml
name: ShardManagementErrorCategory
nameWithType: ShardManagementErrorCategory
fullName: com.microsoft.azure.elasticdb.shard.mapmanager.ShardManagementErrorCategory
type: Enum
summary: <p>Represents error categories related to Shard Management operations. </p>
syntax:
content: public enum ShardManagementErrorCategory
- uid: com.microsoft.azure.elasticdb.shard.mapper._connection_options
parent: com.microsoft.azure.elasticdb.shard.mapper
href: com.microsoft.azure.elasticdb.shard.mapper._connection_options.yml
name: ConnectionOptions
nameWithType: ConnectionOptions
fullName: com.microsoft.azure.elasticdb.shard.mapper.ConnectionOptions
type: Enum
syntax:
content: public enum ConnectionOptions
- uid: com.microsoft.azure.elasticdb.shard.base._i_mapping_info_provider
parent: com.microsoft.azure.elasticdb.shard.base
href: com.microsoft.azure.elasticdb.shard.base._i_mapping_info_provider.yml
name: IMappingInfoProvider
nameWithType: IMappingInfoProvider
fullName: com.microsoft.azure.elasticdb.shard.base.IMappingInfoProvider
type: Interface
summary: <p>Interface that represents capability to provide information relevant to Add/Remove/Update operations for a mapping object. </p>
syntax:
content: public interface IMappingInfoProvider
- uid: com.microsoft.azure.elasticdb.shard.base._lookup_options
parent: com.microsoft.azure.elasticdb.shard.base
href: com.microsoft.azure.elasticdb.shard.base._lookup_options.yml
name: LookupOptions
nameWithType: LookupOptions
fullName: com.microsoft.azure.elasticdb.shard.base.LookupOptions
type: Class
summary: <p>Specifies where mapping lookup operations will search for mappings. </p>
syntax:
content: public class LookupOptions
- uid: com.microsoft.azure.elasticdb.shard.base._range
parent: com.microsoft.azure.elasticdb.shard.base
href: com.microsoft.azure.elasticdb.shard.base._range.yml
name: Range
nameWithType: Range
fullName: com.microsoft.azure.elasticdb.shard.base.Range
type: Class
summary: <p>Represents a left-inclusive, right-exclusive range of values. </p>
syntax:
content: public class Range
- uid: com.microsoft.azure.elasticdb.shard.base._shard
parent: com.microsoft.azure.elasticdb.shard.base
href: com.microsoft.azure.elasticdb.shard.base._shard.yml
name: Shard
nameWithType: Shard
fullName: com.microsoft.azure.elasticdb.shard.base.Shard
type: Class
summary: <p>Representation of a single shard. Shards are basically locators for data sources i.e. <xref uid="com.microsoft.azure.elasticdb.shard.base._shard_location" data-throw-if-not-resolved="false">ShardLocation</xref>s that have been registered with a shard map. Shards are used in mapping as targets of mappings (see <xref uid="com.microsoft.azure.elasticdb.shard.base._point_mapping" data-throw-if-not-resolved="false">PointMapping</xref> and <xref uid="com.microsoft.azure.elasticdb.shard.base._range_mapping" data-throw-if-not-resolved="false">RangeMapping</xref>). </p>
syntax:
content: public class Shard
- uid: com.microsoft.azure.elasticdb.shard.base._i_mapping_update
parent: com.microsoft.azure.elasticdb.shard.base
href: com.microsoft.azure.elasticdb.shard.base._i_mapping_update.yml
name: IMappingUpdate<StatusT>
nameWithType: IMappingUpdate<StatusT>
fullName: com.microsoft.azure.elasticdb.shard.base.IMappingUpdate<StatusT>
type: Interface
summary: <p>Common interface for point/range mapping updates. </p>
syntax:
content: public interface IMappingUpdate<StatusT>
typeParameters:
- id: StatusT
type: "6102e815"
- uid: com.microsoft.azure.elasticdb.shard.base._shard_key
parent: com.microsoft.azure.elasticdb.shard.base
href: com.microsoft.azure.elasticdb.shard.base._shard_key.yml
name: ShardKey
nameWithType: ShardKey
fullName: com.microsoft.azure.elasticdb.shard.base.ShardKey
type: Class
summary: <p>Shard key value. Wraps the type and value and allows normalization/denormalization for serialization. </p>
syntax:
content: public class ShardKey
- uid: com.microsoft.azure.elasticdb.shard.base._lock_owner_id_op_type
parent: com.microsoft.azure.elasticdb.shard.base
href: com.microsoft.azure.elasticdb.shard.base._lock_owner_id_op_type.yml
name: LockOwnerIdOpType
nameWithType: LockOwnerIdOpType
fullName: com.microsoft.azure.elasticdb.shard.base.LockOwnerIdOpType
type: Enum
summary: <p>Set of operations that can be performed on mappings with lockOwnerId. </p>
syntax:
content: public enum LockOwnerIdOpType