Class NoRegionSplitRestriction
java.lang.Object
org.apache.hadoop.hbase.regionserver.RegionSplitRestriction
org.apache.hadoop.hbase.regionserver.NoRegionSplitRestriction
A
RegionSplitRestriction implementation that does nothing.-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.regionserver.RegionSplitRestriction
RESTRICTION_TYPE_DELIMITED_KEY_PREFIX, RESTRICTION_TYPE_KEY, RESTRICTION_TYPE_KEY_PREFIX, RESTRICTION_TYPE_NONE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getRestrictedSplitPoint(byte[] splitPoint) Returns a restricted split point.voidinitialize(TableDescriptor tableDescriptor, org.apache.hadoop.conf.Configuration conf) Initialize the RegionSplitRestriction instanceMethods inherited from class org.apache.hadoop.hbase.regionserver.RegionSplitRestriction
create
-
Constructor Details
-
NoRegionSplitRestriction
public NoRegionSplitRestriction()
-
-
Method Details
-
initialize
public void initialize(TableDescriptor tableDescriptor, org.apache.hadoop.conf.Configuration conf) throws IOException Description copied from class:RegionSplitRestrictionInitialize the RegionSplitRestriction instance- Specified by:
initializein classRegionSplitRestriction- Parameters:
tableDescriptor- the table descriptorconf- the configuration- Throws:
IOException- if an error occurs
-
getRestrictedSplitPoint
Description copied from class:RegionSplitRestrictionReturns a restricted split point.- Specified by:
getRestrictedSplitPointin classRegionSplitRestriction- Parameters:
splitPoint- the split point determined byRegionSplitPolicyor specified by a user manually- Returns:
- the restricted split point
-