@InterfaceAudience.Private public class KeyPrefixRegionSplitPolicy extends IncreasingToUpperBoundRegionSplitPolicy
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOG |
static String |
PREFIX_LENGTH_KEY |
static String |
PREFIX_LENGTH_KEY_DEPRECATED
Deprecated.
|
private int |
prefixLength |
initialSize
region
Constructor and Description |
---|
KeyPrefixRegionSplitPolicy() |
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 byte[] |
getSplitPoint() |
getSizeToCheck, shouldSplit
getDesiredMaxFileSize, positiveJitterRate
create, getSplitPolicyClass, skipStoreFileRangeCheck
private static final org.slf4j.Logger LOG
@Deprecated public static final String PREFIX_LENGTH_KEY_DEPRECATED
public static final String PREFIX_LENGTH_KEY
private int prefixLength
public KeyPrefixRegionSplitPolicy()
protected void configureForRegion(HRegion region)
RegionSplitPolicy
configureForRegion
in class IncreasingToUpperBoundRegionSplitPolicy
protected byte[] getSplitPoint()
getSplitPoint
in class RegionSplitPolicy
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.