org.apache.lens.server.user
Class UserConfigLoader

java.lang.Object
  extended by 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.
 
Method Summary
abstract  Map<String,String> getUserConfig(String loggedInUser)
          Gets the user config.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hiveConf

protected final org.apache.hadoop.hive.conf.HiveConf hiveConf
The hive conf.

Constructor Detail

UserConfigLoader

protected UserConfigLoader(org.apache.hadoop.hive.conf.HiveConf conf)
Instantiates a new user config loader.

Parameters:
conf - the conf
Method Detail

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.