@InterfaceAudience.LimitedPrivate(value="Configuration") public class DisabledRegionSplitPolicy extends RegionSplitPolicy
RegionSplitPolicy
that disables region splits.
This should be used with care, since it will disable automatic sharding.
Most of the time, using ConstantSizeRegionSplitPolicy
with a
large region size (10GB, etc) is safer.region
Constructor and Description |
---|
DisabledRegionSplitPolicy() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
shouldSplit() |
configureForRegion, create, getSplitPoint, getSplitPolicyClass, skipStoreFileRangeCheck, skipStoreFileRangeCheck
protected boolean shouldSplit()
shouldSplit
in class RegionSplitPolicy
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.