RegionSplitRestriction,
instead.@Deprecated @InterfaceAudience.Private public class DelimitedKeyPrefixRegionSplitPolicy extends IncreasingToUpperBoundRegionSplitPolicy
_, like userid_eventtype_eventid, and use prefix
delimiter _, this split policy ensures that all rows starting with the same userid, belongs to
the same region.KeyPrefixRegionSplitPolicy| Modifier and Type | Field and Description |
|---|---|
private byte[] |
delimiter
Deprecated.
|
static String |
DELIMITER_KEY
Deprecated.
|
private static org.slf4j.Logger |
LOG
Deprecated.
|
initialSizeoverallHRegionFilesregion| Constructor and Description |
|---|
DelimitedKeyPrefixRegionSplitPolicy()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureForRegion(HRegion region)
Deprecated.
Upon construction, this method will be called with the region to be governed.
|
protected byte[] |
getSplitPoint()
Deprecated.
|
String |
toString()
Deprecated.
|
getSizeToCheck, shouldSplitgetDesiredMaxFileSize, isExceedSize, positiveJitterRatecanSplit, create, getSplitPolicyClass, skipStoreFileRangeCheckprivate static final org.slf4j.Logger LOG
public static final String DELIMITER_KEY
private byte[] delimiter
public DelimitedKeyPrefixRegionSplitPolicy()
public String toString()
toString in class IncreasingToUpperBoundRegionSplitPolicyprotected void configureForRegion(HRegion region)
RegionSplitPolicyconfigureForRegion in class IncreasingToUpperBoundRegionSplitPolicyprotected byte[] getSplitPoint()
getSplitPoint in class RegionSplitPolicyCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.