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