@InterfaceAudience.Private public class NamespaceGroupingStrategy extends Object implements RegionGroupingProvider.RegionGroupingStrategy
| Modifier and Type | Field and Description | 
|---|---|
| (package private) String | providerId | 
GROUP_NAME_DELIMITER| Constructor and Description | 
|---|
| NamespaceGroupingStrategy() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | group(byte[] identifier,
     byte[] namespace)Given an identifier and a namespace, pick a group. | 
| void | init(org.apache.hadoop.conf.Configuration config,
    String providerId) | 
String providerId
public NamespaceGroupingStrategy()
public String group(byte[] identifier, byte[] namespace)
RegionGroupingProvider.RegionGroupingStrategygroup in interface RegionGroupingProvider.RegionGroupingStrategypublic void init(org.apache.hadoop.conf.Configuration config, String providerId)
init in interface RegionGroupingProvider.RegionGroupingStrategyCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.