RangeShardMap<KeyT>.createRangeMapping Method

Definition

Overloads

createRangeMapping(Range range, Shard shard)

Creates and adds a range mapping to ShardMap.

createRangeMapping(RangeMappingCreationInfo creationInfo)

Creates and adds a range mapping to ShardMap.

createRangeMapping(Range range, Shard shard)

Creates and adds a range mapping to ShardMap.

public RangeMapping createRangeMapping(Range range, Shard shard)

Parameters

range
Range

Range for which to create the mapping.

shard
Shard

Shard associated with the range mapping.

Returns

Newly created mapping.

createRangeMapping(RangeMappingCreationInfo creationInfo)

Creates and adds a range mapping to ShardMap.

public RangeMapping createRangeMapping(RangeMappingCreationInfo creationInfo)

Parameters

creationInfo
RangeMappingCreationInfo

Information about mapping to be added.

Returns

Newly created mapping.

Applies to