@InterfaceAudience.LimitedPrivate(value="Apache Sentry (Incubating)")
@InterfaceStability.Evolving
public interface MetaStoreFilterHook
| Modifier and Type | Method and Description |
|---|---|
default Catalog |
filterCatalog(Catalog catalog)
Filter a catalog object.
|
default List<String> |
filterCatalogs(List<String> catalogs)
Filter a list of catalog names.
|
Database |
filterDatabase(Database dataBase)
filter to given database object if applicable
|
List<String> |
filterDatabases(List<String> dbList)
Filter given list of databases
|
List<String> |
filterDataConnectors(List<String> dcList)
Filter given list of data connectors
|
Partition |
filterPartition(Partition partition)
filter to given partition object if applicable
|
List<String> |
filterPartitionNames(String catName,
String dbName,
String tblName,
List<String> partitionNames)
Filter given list of partition names
|
List<Partition> |
filterPartitions(List<Partition> partitionList)
Filter given list of partitions
|
List<PartitionSpec> |
filterPartitionSpecs(List<PartitionSpec> partitionSpecList)
Filter given list of partition specs
|
Table |
filterTable(Table table)
filter to given table object if applicable
|
List<TableMeta> |
filterTableMetas(List<TableMeta> tableMetas)
Filter a list of TableMeta objects.
|
List<TableMeta> |
filterTableMetas(String catName,
String dbName,
List<TableMeta> tableMetas)
Deprecated.
Replaced by
filterTableMetas(List) |
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
|
default Catalog filterCatalog(Catalog catalog) throws MetaException
catalog - catalog to filterMetaException - something bad happeneddefault List<String> filterCatalogs(List<String> catalogs) throws MetaException
catalogs - list of catalog names.MetaException - something bad happened.List<String> filterDatabases(List<String> dbList) throws MetaException
dbList - MetaExceptionDatabase filterDatabase(Database dataBase) throws MetaException, NoSuchObjectException
dataBase - NoSuchObjectExceptionMetaExceptionList<String> filterTableNames(String catName, String dbName, List<String> tableList) throws MetaException
catName - catalog namedbName - database nametableList - list of table returned by the metastoreMetaException@Deprecated List<TableMeta> filterTableMetas(String catName, String dbName, List<TableMeta> tableMetas) throws MetaException
filterTableMetas(List)catName - catalog namedbName - database nametableMetas - list of table returned by the metastoreMetaExceptionList<TableMeta> filterTableMetas(List<TableMeta> tableMetas) throws MetaException
tableMetas - list of TableMetas to filterMetaException - something went wrongTable filterTable(Table table) throws MetaException, NoSuchObjectException
table - NoSuchObjectExceptionMetaExceptionList<Table> filterTables(List<Table> tableList) throws MetaException
tableList - MetaExceptionList<Partition> filterPartitions(List<Partition> partitionList) throws MetaException
partitionList - MetaExceptionList<PartitionSpec> filterPartitionSpecs(List<PartitionSpec> partitionSpecList) throws MetaException
partitionSpecList - MetaExceptionPartition filterPartition(Partition partition) throws MetaException, NoSuchObjectException
partition - NoSuchObjectExceptionMetaExceptionList<String> filterPartitionNames(String catName, String dbName, String tblName, List<String> partitionNames) throws MetaException
catName - catalog name.dbName - database name.tblName - table name.partitionNames - list of partition names.MetaExceptionList<String> filterDataConnectors(List<String> dcList) throws MetaException
dcList - MetaExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.