@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
|
createpublic NoRegionSplitRestriction()
public void initialize(TableDescriptor tableDescriptor, org.apache.hadoop.conf.Configuration conf) throws IOException
RegionSplitRestrictioninitialize in class RegionSplitRestrictiontableDescriptor - the table descriptorconf - the configurationIOException - if an error occurspublic byte[] getRestrictedSplitPoint(byte[] splitPoint)
RegionSplitRestrictiongetRestrictedSplitPoint in class RegionSplitRestrictionsplitPoint - the split point determined by RegionSplitPolicy or specified by a
user manuallyCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.