@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 |
|---|---|
(package private) RegionInfo |
getFirstRegion() |
(package private) RegionInfo |
getSecondRegion() |
NormalizationPlan.PlanType |
getType() |
long |
submit(MasterServices masterServices)
Submits normalization plan on cluster (does actual splitting/merging work) and
returns proc Id to caller.
|
String |
toString() |
private static final org.slf4j.Logger LOG
private final RegionInfo firstRegion
private final RegionInfo secondRegion
public MergeNormalizationPlan(RegionInfo firstRegion, RegionInfo secondRegion)
public long submit(MasterServices masterServices) throws IOException
submit in interface NormalizationPlanmasterServices - instance of MasterServicesIOException - If plan submission to Admin failspublic NormalizationPlan.PlanType getType()
getType in interface NormalizationPlanRegionInfo getFirstRegion()
RegionInfo getSecondRegion()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.