public class DefaultMetaStoreFilterHookImpl extends Object implements MetaStoreFilterHook
| Constructor and Description |
|---|
DefaultMetaStoreFilterHookImpl(org.apache.hadoop.hive.conf.HiveConf conf) |
| 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
|
public DefaultMetaStoreFilterHookImpl(org.apache.hadoop.hive.conf.HiveConf conf)
public List<String> filterDatabases(List<String> dbList) throws MetaException
MetaStoreFilterHookfilterDatabases in interface MetaStoreFilterHookMetaExceptionpublic Database filterDatabase(Database dataBase) throws NoSuchObjectException
MetaStoreFilterHookfilterDatabase in interface MetaStoreFilterHookNoSuchObjectExceptionpublic List<String> filterTableNames(String dbName, List<String> tableList) throws MetaException
MetaStoreFilterHookfilterTableNames in interface MetaStoreFilterHookMetaExceptionpublic Table filterTable(Table table) throws NoSuchObjectException
MetaStoreFilterHookfilterTable in interface MetaStoreFilterHookNoSuchObjectExceptionpublic List<Table> filterTables(List<Table> tableList) throws MetaException
MetaStoreFilterHookfilterTables in interface MetaStoreFilterHookMetaExceptionpublic List<Partition> filterPartitions(List<Partition> partitionList) throws MetaException
MetaStoreFilterHookfilterPartitions in interface MetaStoreFilterHookMetaExceptionpublic List<PartitionSpec> filterPartitionSpecs(List<PartitionSpec> partitionSpecList) throws MetaException
MetaStoreFilterHookfilterPartitionSpecs in interface MetaStoreFilterHookMetaExceptionpublic Partition filterPartition(Partition partition) throws NoSuchObjectException
MetaStoreFilterHookfilterPartition in interface MetaStoreFilterHookNoSuchObjectExceptionpublic List<String> filterPartitionNames(String dbName, String tblName, List<String> partitionNames) throws MetaException
MetaStoreFilterHookfilterPartitionNames in interface MetaStoreFilterHookMetaExceptionpublic Index filterIndex(Index index) throws NoSuchObjectException
filterIndex in interface MetaStoreFilterHookNoSuchObjectExceptionpublic List<String> filterIndexNames(String dbName, String tblName, List<String> indexList) throws MetaException
MetaStoreFilterHookfilterIndexNames in interface MetaStoreFilterHookMetaExceptionpublic List<Index> filterIndexes(List<Index> indexeList) throws MetaException
MetaStoreFilterHookfilterIndexes in interface MetaStoreFilterHookMetaExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.