ShardMapManager.tryGetShardMap(String shardMapName, ShardKeyType keyType, ReferenceObjectHelper<ShardMap> shardMap) Method

Definition

Tries to obtains a ShardMap given the name.

public boolean tryGetShardMap(String shardMapName, ShardKeyType keyType, ReferenceObjectHelper<ShardMap> shardMap)

Parameters

shardMapName
String

Name of shard map.

keyType
ShardKeyType
shardMap
ReferenceObjectHelper<ShardMap>

Shard map with the specified name.

Returns

boolean

true if shard map with the specified name was found, false otherwise.

Applies to