@InterfaceAudience.Private public class KeyPrefixRegionSplitPolicy extends IncreasingToUpperBoundRegionSplitPolicy
Modifier and Type | Field and Description |
---|---|
private static org.apache.commons.logging.Log |
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, skipStoreFileRangeCheck
private static final org.apache.commons.logging.Log LOG
@Deprecated public static final String PREFIX_LENGTH_KEY_DEPRECATED
public static final String PREFIX_LENGTH_KEY
private int prefixLength
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.