@InterfaceAudience.Private public class EnforcingScanLabelGenerator 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 |
---|
EnforcingScanLabelGenerator() |
Modifier and Type | Method and Description |
---|---|
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 EnforcingScanLabelGenerator()
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
public List<String> getLabels(User user, Authorizations authorizations)
ScanLabelGenerator
getLabels
in interface ScanLabelGenerator
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.