@InterfaceAudience.LimitedPrivate(value="Configuration") public abstract class RegionSplitPolicy extends org.apache.hadoop.conf.Configured
| Modifier and Type | Field and Description |
|---|---|
protected HRegion |
region
The region configured for this split policy.
|
| Constructor and Description |
|---|
RegionSplitPolicy() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureForRegion(HRegion region)
Upon construction, this method will be called with the region
to be governed.
|
static RegionSplitPolicy |
create(HRegion region,
org.apache.hadoop.conf.Configuration conf)
Create the RegionSplitPolicy configured for the given table.
|
protected byte[] |
getSplitPoint() |
protected abstract boolean |
shouldSplit() |
protected HRegion region
protected void configureForRegion(HRegion region)
protected abstract boolean shouldSplit()
protected byte[] getSplitPoint()
public static RegionSplitPolicy create(HRegion region, org.apache.hadoop.conf.Configuration conf) throws IOException
region - conf - IOExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.