protected class HiveAuthorizationProviderBase.HiveProxy extends Object
Modifier and Type | Method and Description |
---|---|
PrincipalPrivilegeSet |
get_privilege_set(HiveObjectType column,
String dbName,
String tableName,
List<String> partValues,
String col,
String userName,
List<String> groupNames) |
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 PrincipalPrivilegeSet get_privilege_set(HiveObjectType column, String dbName, String tableName, List<String> partValues, String col, String userName, List<String> groupNames) throws HiveException
HiveException
public 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.HiveException
Copyright © 2022 The Apache Software Foundation. All rights reserved.