@InterfaceAudience.LimitedPrivate(value="Configuration") public class ConstantSizeRegionSplitPolicy extends RegionSplitPolicy
RegionSplitPolicy
implementation which splits a region
as soon as any of its store files exceeds a maximum configurable
size.
This is the default split policy. From 0.94.0 on the default split policy has
changed to IncreasingToUpperBoundRegionSplitPolicy
region
Constructor and Description |
---|
ConstantSizeRegionSplitPolicy() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureForRegion(HRegion region)
Upon construction, this method will be called with the region
to be governed.
|
protected boolean |
shouldSplit() |
create, getSplitPoint, getSplitPolicyClass, skipStoreFileRangeCheck, skipStoreFileRangeCheck
protected void configureForRegion(HRegion region)
RegionSplitPolicy
configureForRegion
in class RegionSplitPolicy
protected boolean shouldSplit()
shouldSplit
in class RegionSplitPolicy
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.