| Package | Description |
|---|---|
| org.apache.hadoop.hive.ql.metadata | |
| org.apache.hadoop.hive.ql.optimizer.calcite |
| Modifier and Type | Field and Description |
|---|---|
static EnumSet<HiveRelOptMaterialization.RewriteAlgorithm> |
HiveRelOptMaterialization.RewriteAlgorithm.ALL |
static Predicate<EnumSet<HiveRelOptMaterialization.RewriteAlgorithm>> |
HiveRelOptMaterialization.RewriteAlgorithm.ANY |
static Predicate<EnumSet<HiveRelOptMaterialization.RewriteAlgorithm>> |
HiveRelOptMaterialization.RewriteAlgorithm.NON_CALCITE |
| Modifier and Type | Method and Description |
|---|---|
static HiveRelOptMaterialization.RewriteAlgorithm |
HiveRelOptMaterialization.RewriteAlgorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HiveRelOptMaterialization.RewriteAlgorithm[] |
HiveRelOptMaterialization.RewriteAlgorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
EnumSet<HiveRelOptMaterialization.RewriteAlgorithm> |
HiveRelOptMaterialization.getScope() |
| Modifier and Type | Method and Description |
|---|---|
HiveRelOptMaterialization |
HiveMaterializedViewsRegistry.getRewritingMaterializedView(String dbName,
String viewName,
EnumSet<HiveRelOptMaterialization.RewriteAlgorithm> scope)
Returns the materialized views in the cache for the given database.
|
boolean |
HiveRelOptMaterialization.isSupported(EnumSet<HiveRelOptMaterialization.RewriteAlgorithm> scope)
Is this materialized view applicable to the specified scope.
|
| Constructor and Description |
|---|
HiveRelOptMaterialization(org.apache.calcite.rel.RelNode tableRel,
org.apache.calcite.rel.RelNode queryRel,
org.apache.calcite.plan.RelOptTable starRelOptTable,
List<String> qualifiedTableName,
EnumSet<HiveRelOptMaterialization.RewriteAlgorithm> scope,
HiveRelOptMaterialization.IncrementalRebuildMode rebuildMode,
ASTNode ast) |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.calcite.rel.RelNode |
HiveMaterializedViewASTSubQueryRewriteShuttle.getMaterializedViewByAST(ASTNode expandedAST,
org.apache.calcite.plan.RelOptCluster optCluster,
Predicate<EnumSet<HiveRelOptMaterialization.RewriteAlgorithm>> filter,
Hive db,
Set<TableName> tablesUsedByOriginalPlan,
HiveTxnManager txnManager)
1.
|
Copyright © 2022 The Apache Software Foundation. All rights reserved.