@InterfaceAudience.Private public class DefinedSetFilterScanLabelGenerator extends Object implements ScanLabelGenerator
| Modifier and Type | Field and Description |
|---|---|
private org.apache.hadoop.conf.Configuration |
conf |
private VisibilityLabelsCache |
labelsCache |
private static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
DefinedSetFilterScanLabelGenerator() |
| Modifier and Type | Method and Description |
|---|---|
private List<String> |
dropLabelsNotInUserAuths(List<String> labels,
List<String> auths,
String userName) |
org.apache.hadoop.conf.Configuration |
getConf() |
List<String> |
getLabels(User user,
Authorizations authorizations)
Helps to get a list of lables associated with an UGI
|
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
private static final org.slf4j.Logger LOG
private org.apache.hadoop.conf.Configuration conf
private VisibilityLabelsCache labelsCache
public DefinedSetFilterScanLabelGenerator()
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.Configurablepublic org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.Configurablepublic List<String> getLabels(User user, Authorizations authorizations)
ScanLabelGeneratorgetLabels in interface ScanLabelGeneratorCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.