@InterfaceAudience.Private public class DefaultVisibilityExpressionResolver extends Object implements VisibilityExpressionResolver
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.conf.Configuration |
conf |
private Map<String,Integer> |
labels |
private static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
DefaultVisibilityExpressionResolver() |
Modifier and Type | Method and Description |
---|---|
List<Tag> |
createVisibilityExpTags(String visExpression)
Convert visibility expression into tags to be serialized.
|
org.apache.hadoop.conf.Configuration |
getConf() |
void |
init()
Giving a chance for the initialization.
|
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
private static final org.slf4j.Logger LOG
private org.apache.hadoop.conf.Configuration conf
public DefaultVisibilityExpressionResolver()
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
public void init()
VisibilityExpressionResolver
init
in interface VisibilityExpressionResolver
public List<Tag> createVisibilityExpTags(String visExpression) throws IOException
VisibilityExpressionResolver
createVisibilityExpTags
in interface VisibilityExpressionResolver
visExpression
- the label expressionIOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.