public class HiveMetaStoreAuthorizer extends MetaStorePreEventListener implements MetaStoreFilterHook
| Constructor and Description |
|---|
HiveMetaStoreAuthorizer(org.apache.hadoop.conf.Configuration config) |
getConf, setConfpublic HiveMetaStoreAuthorizer(org.apache.hadoop.conf.Configuration config)
public final void onEvent(PreEventContext preEventContext) throws org.apache.hadoop.hive.metastore.api.MetaException, org.apache.hadoop.hive.metastore.api.NoSuchObjectException, org.apache.hadoop.hive.metastore.api.InvalidOperationException
public final List<String> filterDatabases(List<String> list) throws org.apache.hadoop.hive.metastore.api.MetaException
filterDatabases in interface MetaStoreFilterHookorg.apache.hadoop.hive.metastore.api.MetaExceptionpublic final org.apache.hadoop.hive.metastore.api.Database filterDatabase(org.apache.hadoop.hive.metastore.api.Database database) throws org.apache.hadoop.hive.metastore.api.MetaException, org.apache.hadoop.hive.metastore.api.NoSuchObjectException
filterDatabase in interface MetaStoreFilterHookorg.apache.hadoop.hive.metastore.api.MetaExceptionorg.apache.hadoop.hive.metastore.api.NoSuchObjectExceptionpublic final List<String> filterTableNames(String s, String s1, List<String> list) throws org.apache.hadoop.hive.metastore.api.MetaException
filterTableNames in interface MetaStoreFilterHookorg.apache.hadoop.hive.metastore.api.MetaExceptionpublic final org.apache.hadoop.hive.metastore.api.Table filterTable(org.apache.hadoop.hive.metastore.api.Table table) throws org.apache.hadoop.hive.metastore.api.MetaException, org.apache.hadoop.hive.metastore.api.NoSuchObjectException
filterTable in interface MetaStoreFilterHookorg.apache.hadoop.hive.metastore.api.MetaExceptionorg.apache.hadoop.hive.metastore.api.NoSuchObjectExceptionpublic final List<org.apache.hadoop.hive.metastore.api.Table> filterTables(List<org.apache.hadoop.hive.metastore.api.Table> list) throws org.apache.hadoop.hive.metastore.api.MetaException
filterTables in interface MetaStoreFilterHookorg.apache.hadoop.hive.metastore.api.MetaExceptionpublic final org.apache.hadoop.hive.metastore.api.Catalog filterCatalog(org.apache.hadoop.hive.metastore.api.Catalog catalog) throws org.apache.hadoop.hive.metastore.api.MetaException
filterCatalog in interface MetaStoreFilterHookorg.apache.hadoop.hive.metastore.api.MetaExceptionpublic final List<String> filterCatalogs(List<String> catalogs) throws org.apache.hadoop.hive.metastore.api.MetaException
filterCatalogs in interface MetaStoreFilterHookorg.apache.hadoop.hive.metastore.api.MetaException@Deprecated public List<org.apache.hadoop.hive.metastore.api.TableMeta> filterTableMetas(String catName, String dbName, List<org.apache.hadoop.hive.metastore.api.TableMeta> tableMetas) throws org.apache.hadoop.hive.metastore.api.MetaException
filterTableMetas in interface MetaStoreFilterHookorg.apache.hadoop.hive.metastore.api.MetaExceptionpublic final List<org.apache.hadoop.hive.metastore.api.TableMeta> filterTableMetas(List<org.apache.hadoop.hive.metastore.api.TableMeta> tableMetas) throws org.apache.hadoop.hive.metastore.api.MetaException
filterTableMetas in interface MetaStoreFilterHookorg.apache.hadoop.hive.metastore.api.MetaExceptionpublic final List<org.apache.hadoop.hive.metastore.api.Partition> filterPartitions(List<org.apache.hadoop.hive.metastore.api.Partition> list) throws org.apache.hadoop.hive.metastore.api.MetaException
filterPartitions in interface MetaStoreFilterHookorg.apache.hadoop.hive.metastore.api.MetaExceptionpublic final List<org.apache.hadoop.hive.metastore.api.PartitionSpec> filterPartitionSpecs(List<org.apache.hadoop.hive.metastore.api.PartitionSpec> list) throws org.apache.hadoop.hive.metastore.api.MetaException
filterPartitionSpecs in interface MetaStoreFilterHookorg.apache.hadoop.hive.metastore.api.MetaExceptionpublic final org.apache.hadoop.hive.metastore.api.Partition filterPartition(org.apache.hadoop.hive.metastore.api.Partition partition) throws org.apache.hadoop.hive.metastore.api.MetaException, org.apache.hadoop.hive.metastore.api.NoSuchObjectException
filterPartition in interface MetaStoreFilterHookorg.apache.hadoop.hive.metastore.api.MetaExceptionorg.apache.hadoop.hive.metastore.api.NoSuchObjectExceptionpublic final List<String> filterPartitionNames(String s, String s1, String s2, List<String> list) throws org.apache.hadoop.hive.metastore.api.MetaException
filterPartitionNames in interface MetaStoreFilterHookorg.apache.hadoop.hive.metastore.api.MetaExceptionpublic List<String> filterDataConnectors(List<String> dcList) throws org.apache.hadoop.hive.metastore.api.MetaException
filterDataConnectors in interface MetaStoreFilterHookorg.apache.hadoop.hive.metastore.api.MetaExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.