@InterfaceAudience.Private public class MergeNormalizationPlan extends Object implements NormalizationPlan
NormalizationPlan.PlanType
Modifier and Type | Field and Description |
---|---|
private RegionInfo |
firstRegion |
private static org.slf4j.Logger |
LOG |
private RegionInfo |
secondRegion |
Constructor and Description |
---|
MergeNormalizationPlan(RegionInfo firstRegion,
RegionInfo secondRegion) |
Modifier and Type | Method and Description |
---|---|
void |
execute(Admin admin)
Executes normalization plan on cluster (does actual splitting/merging work).
|
(package private) RegionInfo |
getFirstRegion() |
(package private) RegionInfo |
getSecondRegion() |
NormalizationPlan.PlanType |
getType() |
String |
toString() |
private static final org.slf4j.Logger LOG
private final RegionInfo firstRegion
private final RegionInfo secondRegion
public MergeNormalizationPlan(RegionInfo firstRegion, RegionInfo secondRegion)
public NormalizationPlan.PlanType getType()
getType
in interface NormalizationPlan
RegionInfo getFirstRegion()
RegionInfo getSecondRegion()
public void execute(Admin admin)
execute
in interface NormalizationPlan
admin
- instance of AdminCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.