@InterfaceAudience.Private public class AuthorizationMetaStoreFilterHook extends DefaultMetaStoreFilterHookImpl
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
AuthorizationMetaStoreFilterHook(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
List<String> |
filterDatabases(List<String> dbList)
Filter given list of databases
|
List<String> |
filterTableNames(String catName,
String dbName,
List<String> tableList)
Filter given list of tables
|
filterDatabase, filterPartition, filterPartitionNames, filterPartitions, filterPartitionSpecs, filterTable, filterTableMetas, filterTables
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
filterCatalog, filterCatalogs
public AuthorizationMetaStoreFilterHook(org.apache.hadoop.conf.Configuration conf)
public List<String> filterTableNames(String catName, String dbName, List<String> tableList) throws MetaException
MetaStoreFilterHook
filterTableNames
in interface MetaStoreFilterHook
filterTableNames
in class DefaultMetaStoreFilterHookImpl
catName
- catalog namedbName
- database nametableList
- list of table returned by the metastoreMetaException
public List<String> filterDatabases(List<String> dbList) throws MetaException
MetaStoreFilterHook
filterDatabases
in interface MetaStoreFilterHook
filterDatabases
in class DefaultMetaStoreFilterHookImpl
MetaException
Copyright © 2022 The Apache Software Foundation. All rights reserved.