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.
|
initialSize
overallHRegionFiles
region
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, shouldSplit
getDesiredMaxFileSize, isExceedSize, positiveJitterRate
canSplit, create, getSplitPolicyClass, skipStoreFileRangeCheck
private static final org.slf4j.Logger LOG
public static final String DELIMITER_KEY
private byte[] delimiter
public DelimitedKeyPrefixRegionSplitPolicy()
public String toString()
toString
in class IncreasingToUpperBoundRegionSplitPolicy
protected void configureForRegion(HRegion region)
RegionSplitPolicy
configureForRegion
in class IncreasingToUpperBoundRegionSplitPolicy
protected byte[] getSplitPoint()
getSplitPoint
in class RegionSplitPolicy
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.