@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<TableMeta> |
filterTableMetas(String catName,
String dbName,
List<TableMeta> tableMetas)
Filter a list of TableMeta objects.
|
List<String> |
filterTableNames(String catName,
String dbName,
List<String> tableList)
Filter given list of tables
|
List<Table> |
filterTables(List<Table> tableList)
Filter given list of tables
|
filterDatabase, filterPartition, filterPartitionNames, filterPartitions, filterPartitionSpecs, filterTable
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<Table> filterTables(List<Table> tableList) throws MetaException
MetaStoreFilterHook
filterTables
in interface MetaStoreFilterHook
filterTables
in class DefaultMetaStoreFilterHookImpl
MetaException
public List<String> filterDatabases(List<String> dbList) throws MetaException
MetaStoreFilterHook
filterDatabases
in interface MetaStoreFilterHook
filterDatabases
in class DefaultMetaStoreFilterHookImpl
MetaException
public List<TableMeta> filterTableMetas(String catName, String dbName, List<TableMeta> tableMetas) throws MetaException
MetaStoreFilterHook
filterTableMetas
in interface MetaStoreFilterHook
filterTableMetas
in class DefaultMetaStoreFilterHookImpl
tableMetas
- list of TableMetas to filterMetaException
- something went wrongCopyright © 2022 The Apache Software Foundation. All rights reserved.