@InterfaceAudience.Private public class SplitNormalizationPlan extends Object implements NormalizationPlan
NormalizationPlan.PlanType
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOG |
private RegionInfo |
regionInfo |
private byte[] |
splitPoint |
Constructor and Description |
---|
SplitNormalizationPlan(RegionInfo regionInfo,
byte[] splitPoint) |
Modifier and Type | Method and Description |
---|---|
void |
execute(Admin admin)
Executes normalization plan on cluster (does actual splitting/merging work).
|
RegionInfo |
getRegionInfo() |
byte[] |
getSplitPoint() |
NormalizationPlan.PlanType |
getType() |
void |
setRegionInfo(RegionInfo regionInfo) |
void |
setSplitPoint(byte[] splitPoint) |
String |
toString() |
private static final org.slf4j.Logger LOG
private RegionInfo regionInfo
private byte[] splitPoint
public SplitNormalizationPlan(RegionInfo regionInfo, byte[] splitPoint)
public NormalizationPlan.PlanType getType()
getType
in interface NormalizationPlan
public RegionInfo getRegionInfo()
public void setRegionInfo(RegionInfo regionInfo)
public byte[] getSplitPoint()
public void setSplitPoint(byte[] splitPoint)
public void execute(Admin admin)
execute
in interface NormalizationPlan
admin
- instance of AdminCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.