@InterfaceAudience.Private public class NamespaceGroupingStrategy extends Object implements RegionGroupingProvider.RegionGroupingStrategy
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) |
public String group(byte[] identifier, byte[] namespace)
RegionGroupingProvider.RegionGroupingStrategy
group
in interface RegionGroupingProvider.RegionGroupingStrategy
public void init(org.apache.hadoop.conf.Configuration config, String providerId)
init
in interface RegionGroupingProvider.RegionGroupingStrategy
Copyright © 2007–2019 Cloudera. All rights reserved.