protected class HiveAuthorizationProviderBase.HiveProxy extends Object
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.hive.metastore.api.PrincipalPrivilegeSet |
get_privilege_set(org.apache.hadoop.hive.metastore.api.HiveObjectType column,
String dbName,
String tableName,
List<String> partValues,
String col,
String userName,
List<String> groupNames) |
org.apache.hadoop.hive.metastore.api.Database |
getDatabase(String catName,
String dbName)
Get the database object
|
boolean |
isRunFromMetaStore() |
void |
setHandler(IHMSHandler handler) |
public HiveProxy(Hive hive)
public HiveProxy()
public void setHandler(IHMSHandler handler)
public boolean isRunFromMetaStore()
public org.apache.hadoop.hive.metastore.api.PrincipalPrivilegeSet get_privilege_set(org.apache.hadoop.hive.metastore.api.HiveObjectType column,
String dbName,
String tableName,
List<String> partValues,
String col,
String userName,
List<String> groupNames)
throws HiveException
HiveExceptionpublic org.apache.hadoop.hive.metastore.api.Database getDatabase(String catName, String dbName) throws HiveException
catName - catalog name. If null, the default will be pulled from the conf. This
means the caller does not have to check isCatNameSet()dbName - database name.HiveExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.