@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
- MetaException
Database filterDatabase(Database dataBase) throws MetaException, NoSuchObjectException
dataBase
- NoSuchObjectException
MetaException
List<String> filterTableNames(String dbName, List<String> tableList) throws MetaException
dbName
- tableList
- MetaException
Table filterTable(Table table) throws MetaException, NoSuchObjectException
table
- NoSuchObjectException
MetaException
List<Table> filterTables(List<Table> tableList) throws MetaException
dbName
- tableList
- MetaException
List<Partition> filterPartitions(List<Partition> partitionList) throws MetaException
partitionList
- MetaException
List<PartitionSpec> filterPartitionSpecs(List<PartitionSpec> partitionSpecList) throws MetaException
partitionSpecList
- MetaException
Partition filterPartition(Partition partition) throws MetaException, NoSuchObjectException
partition
- NoSuchObjectException
MetaException
List<String> filterPartitionNames(String dbName, String tblName, List<String> partitionNames) throws MetaException
dbName
- tblName
- partitionNames
- MetaException
Index filterIndex(Index index) throws MetaException, NoSuchObjectException
MetaException
NoSuchObjectException
List<String> filterIndexNames(String dbName, String tblName, List<String> indexList) throws MetaException
dbName
- tblName
- indexList
- MetaException
List<Index> filterIndexes(List<Index> indexeList) throws MetaException
indexeList
- MetaException
Copyright © 2017 The Apache Software Foundation. All rights reserved.