MappingComparisonResult Class

  • java.lang.Object
    • com.microsoft.azure.elasticdb.shard.recovery.MappingComparisonResult

public class MappingComparisonResult

Result of comparison b/w the given range mappings.

Constructor Summary

Method Summary

Constructor Details

MappingComparisonResult

public MappingComparisonResult(StoreShardMap ssm, ShardRange range, MappingLocation mappingLocation, StoreMapping gsmMapping, StoreMapping lsmMapping)

Instantiates a new instance of range mapping comparison result.

Parameters:

ssm - Store representation of shard map.
range - Range being considered.
mappingLocation - Location of mapping.
gsmMapping - Storage representation of GSM mapping.
lsmMapping - Storage representation of LSM mapping.

Method Details

getMappingLocation

public final MappingLocation getMappingLocation()

getRange

public final ShardRange getRange()

getShardMap

public final StoreShardMap getShardMap()

getShardMapManagerMapping

public final StoreMapping getShardMapManagerMapping()

getShardMapping

public final StoreMapping getShardMapping()

setMappingLocation

public final void setMappingLocation(MappingLocation value)

Parameters:

value

setRange

public final void setRange(ShardRange value)

Parameters:

value

setShardMap

public final void setShardMap(StoreShardMap value)

Parameters:

value

setShardMapManagerMapping

public final void setShardMapManagerMapping(StoreMapping value)

Parameters:

value

setShardMapping

public final void setShardMapping(StoreMapping value)

Parameters:

value

Applies to

Azure SDK for Java

Latest