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)
MetaStoreFilterHookfilterDatabases in interface MetaStoreFilterHookpublic Database filterDatabase(Database dataBase) throws NoSuchObjectException
MetaStoreFilterHookfilterDatabase in interface MetaStoreFilterHookNoSuchObjectExceptionpublic List<String> filterTableNames(String dbName, List<String> tableList)
MetaStoreFilterHookfilterTableNames in interface MetaStoreFilterHookpublic Table filterTable(Table table) throws NoSuchObjectException
MetaStoreFilterHookfilterTable in interface MetaStoreFilterHookNoSuchObjectExceptionpublic List<Table> filterTables(List<Table> tableList)
MetaStoreFilterHookfilterTables in interface MetaStoreFilterHookpublic List<Partition> filterPartitions(List<Partition> partitionList)
MetaStoreFilterHookfilterPartitions in interface MetaStoreFilterHookpublic List<PartitionSpec> filterPartitionSpecs(List<PartitionSpec> partitionSpecList)
MetaStoreFilterHookfilterPartitionSpecs in interface MetaStoreFilterHookpublic Partition filterPartition(Partition partition) throws NoSuchObjectException
MetaStoreFilterHookfilterPartition in interface MetaStoreFilterHookNoSuchObjectExceptionpublic List<String> filterPartitionNames(String dbName, String tblName, List<String> partitionNames)
MetaStoreFilterHookfilterPartitionNames in interface MetaStoreFilterHookpublic Index filterIndex(Index index) throws NoSuchObjectException
filterIndex in interface MetaStoreFilterHookNoSuchObjectExceptionpublic List<String> filterIndexNames(String dbName, String tblName, List<String> indexList)
MetaStoreFilterHookfilterIndexNames in interface MetaStoreFilterHookpublic List<Index> filterIndexes(List<Index> indexeList)
MetaStoreFilterHookfilterIndexes in interface MetaStoreFilterHookCopyright © 2016 Cloudera. All rights reserved.