@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class Redactor extends Object implements Hook, org.apache.hadoop.conf.Configurable
Constructor and Description |
---|
Redactor() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.conf.Configuration |
getConf() |
String |
redactQuery(String query)
Implementations may modify the query so that when placed in the job.xml
and thus potenially exposed to admin users, the query does not expose
sensitive information.
|
void |
setConf(org.apache.hadoop.conf.Configuration conf)
Guranteed to be called before redactQuery is called
|
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
Copyright © 2017 The Apache Software Foundation. All rights reserved.