ListShardMap<KeyT>.createPointMapping
Method
Definition
Overloads
createPointMapping(KeyT point, Shard shard) |
Creates and adds a point mapping to ShardMap.
|
createPointMapping(PointMappingCreationInfo creationInfo) |
Creates and adds a point mapping to ShardMap.
|
createPointMapping(KeyT point, Shard shard)
Creates and adds a point mapping to ShardMap.
public PointMapping createPointMapping(KeyT point, Shard shard)
Parameters
- point
- KeyT
Point for which to create the mapping.
- shard
- Shard
Shard associated with the point mapping.
Returns
Newly created mapping.
createPointMapping(PointMappingCreationInfo creationInfo)
Creates and adds a point mapping to ShardMap.
public PointMapping createPointMapping(PointMappingCreationInfo creationInfo)
Parameters
- creationInfo
- PointMappingCreationInfo
Information about mapping to be added.
Returns
Newly created mapping.