| Package | Description |
|---|---|
| org.apache.hadoop.hive.metastore | |
| org.apache.hadoop.hive.metastore.utils |
Package consisting the utility methods for metastore.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultMetaStoreFilterHookImpl
Default no-op implementation of the MetaStoreFilterHook that returns the result as is
|
| Modifier and Type | Method and Description |
|---|---|
static void |
FilterUtils.checkDbAndTableFilters(boolean isFilterEnabled,
MetaStoreFilterHook filterHook,
String catName,
String dbName,
String tblName)
Check if the current user has access to a given database and table name.
|
static Catalog |
FilterUtils.filterCatalogIfEnabled(boolean isFilterEnabled,
MetaStoreFilterHook filterHook,
Catalog catalog)
Filter the catalog if filtering is enabled; Otherwise, return original object
|
static List<String> |
FilterUtils.filterCatalogNamesIfEnabled(boolean isFilterEnabled,
MetaStoreFilterHook filterHook,
List<String> catalogNames)
Filter list of catalog names if filtering is enabled; Otherwise, return original list
|
static GetLatestCommittedCompactionInfoResponse |
FilterUtils.filterCommittedCompactionInfoStructIfEnabled(boolean isFilterEnabled,
MetaStoreFilterHook filterHook,
String catName,
String dbName,
String tableName,
GetLatestCommittedCompactionInfoResponse response) |
static List<ShowCompactResponseElement> |
FilterUtils.filterCompactionsIfEnabled(boolean isFilterEnabled,
MetaStoreFilterHook filterHook,
String catName,
List<ShowCompactResponseElement> compactions)
Filter the list of compactions if filtering is enabled.
|
static List<String> |
FilterUtils.filterDataConnectorsIfEnabled(boolean isFilterEnabled,
MetaStoreFilterHook filterHook,
List<String> connectorNames)
Filter the list of dataconnectors if filtering is enabled.
|
static Database |
FilterUtils.filterDbIfEnabled(boolean isFilterEnabled,
MetaStoreFilterHook filterHook,
Database db)
Filter the DB if filtering is enabled.
|
static List<String> |
FilterUtils.filterDbNamesIfEnabled(boolean isFilterEnabled,
MetaStoreFilterHook filterHook,
List<String> dbNames)
Filter the list of databases if filtering is enabled.
|
static Partition |
FilterUtils.filterPartitionIfEnabled(boolean isFilterEnabled,
MetaStoreFilterHook filterHook,
Partition p)
Filter the partition if filtering is enabled.
|
static List<String> |
FilterUtils.filterPartitionNamesIfEnabled(boolean isFilterEnabled,
MetaStoreFilterHook filterHook,
String catName,
String dbName,
String tableName,
List<String> partitionNames)
Filter the list of partitions if filtering is enabled.
|
static List<Partition> |
FilterUtils.filterPartitionsIfEnabled(boolean isFilterEnabled,
MetaStoreFilterHook filterHook,
List<Partition> partitions)
Filter the list of partitions if filtering is enabled.
|
static List<PartitionSpec> |
FilterUtils.filterPartitionSpecsIfEnabled(boolean isFilterEnabled,
MetaStoreFilterHook filterHook,
List<PartitionSpec> partitionSpecs)
Filter the list of PartitionSpec if filtering is enabled; Otherwise, return original list
|
static Table |
FilterUtils.filterTableIfEnabled(boolean isFilterEnabled,
MetaStoreFilterHook filterHook,
Table table)
Filter the table if filtering is enabled.
|
static List<TableMeta> |
FilterUtils.filterTableMetasIfEnabled(boolean isFilterEnabled,
MetaStoreFilterHook filterHook,
List<TableMeta> tableMetas)
Filter list of meta data of tables if filtering is enabled.
|
static List<String> |
FilterUtils.filterTableNamesIfEnabled(boolean isFilterEnabled,
MetaStoreFilterHook filterHook,
String catName,
String dbName,
List<String> tableNames)
Filter the list of tables if filtering is enabled.
|
static List<Table> |
FilterUtils.filterTablesIfEnabled(boolean isFilterEnabled,
MetaStoreFilterHook filterHook,
List<Table> tables)
Filter the list of tables if filtering is enabled.
|
Copyright © 2024 The Apache Software Foundation. All rights reserved.