@InterfaceAudience.Private public class NoRegionSplitRestriction extends RegionSplitRestriction
RegionSplitRestriction
implementation that does nothing.RESTRICTION_TYPE_DELIMITED_KEY_PREFIX, RESTRICTION_TYPE_KEY, RESTRICTION_TYPE_KEY_PREFIX, RESTRICTION_TYPE_NONE
Constructor and Description |
---|
NoRegionSplitRestriction() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getRestrictedSplitPoint(byte[] splitPoint)
Returns a restricted split point.
|
void |
initialize(TableDescriptor tableDescriptor,
org.apache.hadoop.conf.Configuration conf)
Initialize the RegionSplitRestriction instance
|
create
public NoRegionSplitRestriction()
public void initialize(TableDescriptor tableDescriptor, org.apache.hadoop.conf.Configuration conf) throws IOException
RegionSplitRestriction
initialize
in class RegionSplitRestriction
tableDescriptor
- the table descriptorconf
- the configurationIOException
- if an error occurspublic byte[] getRestrictedSplitPoint(byte[] splitPoint)
RegionSplitRestriction
getRestrictedSplitPoint
in class RegionSplitRestriction
splitPoint
- the split point determined by RegionSplitPolicy
or specified by a
user manuallyCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.