@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 |
---|---|
RegionInfo |
getRegionInfo() |
byte[] |
getSplitPoint() |
NormalizationPlan.PlanType |
getType() |
void |
setRegionInfo(RegionInfo regionInfo) |
void |
setSplitPoint(byte[] splitPoint) |
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 RegionInfo regionInfo
private byte[] splitPoint
public SplitNormalizationPlan(RegionInfo regionInfo, byte[] splitPoint)
public long submit(MasterServices masterServices) throws IOException
submit
in interface NormalizationPlan
masterServices
- instance of MasterServices
IOException
- If plan submission to Admin failspublic NormalizationPlan.PlanType getType()
getType
in interface NormalizationPlan
public RegionInfo getRegionInfo()
public void setRegionInfo(RegionInfo regionInfo)
public byte[] getSplitPoint()
public void setSplitPoint(byte[] splitPoint)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.