public final class UserConfigLoaderFactory extends Object
Modifier and Type | Class and Description |
---|---|
static class |
UserConfigLoaderFactory.ResolverType
The Enum ResolverType.
|
Modifier and Type | Method and Description |
---|---|
static UserConfigLoader |
createUserConfigLoader(UserConfigLoaderFactory.ResolverType resolverType)
Gets the query user resolver.
|
static Map<String,String> |
getUserConfig(String loggedInUser)
Gets the user config.
|
static UserConfigLoader |
getUserConfigLoader() |
static void |
init(org.apache.hadoop.hive.conf.HiveConf c)
Inits the.
|
static UserConfigLoader |
initializeUserConfigLoader()
Initialize user config loader.
|
public static void init(org.apache.hadoop.hive.conf.HiveConf c)
c
- the cpublic static UserConfigLoader getUserConfigLoader()
public static UserConfigLoader initializeUserConfigLoader()
public static UserConfigLoader createUserConfigLoader(UserConfigLoaderFactory.ResolverType resolverType)
resolverType
- the resolver typeCopyright © 2014–2018 Apache Software Foundation. All rights reserved.