org.apache.lens.server.user
Class UserConfigLoader
java.lang.Object
org.apache.lens.server.user.UserConfigLoader
- Direct Known Subclasses:
- CustomUserConfigLoader, DatabaseUserConfigLoader, FixedUserConfigLoader, PropertyBasedUserConfigLoader
public abstract class UserConfigLoader
- extends Object
The Class UserConfigLoader.
|
Field Summary |
protected org.apache.hadoop.hive.conf.HiveConf |
hiveConf
The hive conf. |
|
Constructor Summary |
protected |
UserConfigLoader(org.apache.hadoop.hive.conf.HiveConf conf)
Instantiates a new user config loader. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hiveConf
protected final org.apache.hadoop.hive.conf.HiveConf hiveConf
- The hive conf.
UserConfigLoader
protected UserConfigLoader(org.apache.hadoop.hive.conf.HiveConf conf)
- Instantiates a new user config loader.
- Parameters:
conf - the conf
getUserConfig
public abstract Map<String,String> getUserConfig(String loggedInUser)
throws UserConfigLoaderException
- Gets the user config.
- Parameters:
loggedInUser - the logged in user
- Returns:
- the user config
- Throws:
UserConfigLoaderException - the user config loader exception
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.