@InterfaceAudience.LimitedPrivate(value="Apache Sentry (Incubating)")
@InterfaceStability.Evolving
public interface MetaStoreFilterHook
| Modifier and Type | Method and Description |
|---|---|
Database |
filterDatabase(Database dataBase)
filter to given database object if applicable
|
List<String> |
filterDatabases(List<String> dbList)
Filter given list of databases
|
Index |
filterIndex(Index index) |
List<Index> |
filterIndexes(List<Index> indexeList)
Filter given list of index objects
|
List<String> |
filterIndexNames(String dbName,
String tblName,
List<String> indexList)
Filter given list of index names
|
Partition |
filterPartition(Partition partition)
filter to given partition object if applicable
|
List<String> |
filterPartitionNames(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<String> |
filterTableNames(String dbName,
List<String> tableList)
Filter given list of tables
|
List<Table> |
filterTables(List<Table> tableList)
Filter given list of tables
|
List<String> filterDatabases(List<String> dbList) throws MetaException
dbList - MetaExceptionDatabase filterDatabase(Database dataBase) throws MetaException, NoSuchObjectException
dataBase - NoSuchObjectExceptionMetaExceptionList<String> filterTableNames(String dbName, List<String> tableList) throws MetaException
dbName - tableList - MetaExceptionTable filterTable(Table table) throws MetaException, NoSuchObjectException
table - NoSuchObjectExceptionMetaExceptionList<Table> filterTables(List<Table> tableList) throws MetaException
dbName - 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 dbName, String tblName, List<String> partitionNames) throws MetaException
dbName - tblName - partitionNames - MetaExceptionIndex filterIndex(Index index) throws MetaException, NoSuchObjectException
MetaExceptionNoSuchObjectExceptionList<String> filterIndexNames(String dbName, String tblName, List<String> indexList) throws MetaException
dbName - tblName - indexList - MetaExceptionList<Index> filterIndexes(List<Index> indexeList) throws MetaException
indexeList - MetaExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.