| Package | Description |
|---|---|
| org.apache.hadoop.hive.ql.metadata | |
| org.apache.hadoop.hive.ql.optimizer.calcite | |
| org.apache.hadoop.hive.ql.parse |
| Modifier and Type | Field and Description |
|---|---|
static EnumSet<RewriteAlgorithm> |
RewriteAlgorithm.ALL |
static Predicate<Set<RewriteAlgorithm>> |
RewriteAlgorithm.ANY |
static Predicate<Set<RewriteAlgorithm>> |
RewriteAlgorithm.NON_CALCITE |
| Modifier and Type | Method and Description |
|---|---|
static RewriteAlgorithm |
RewriteAlgorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RewriteAlgorithm[] |
RewriteAlgorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Set<RewriteAlgorithm> |
HiveRelOptMaterialization.getScope() |
Set<RewriteAlgorithm> |
MaterializationValidationResult.getSupportedRewriteAlgorithms() |
| Modifier and Type | Method and Description |
|---|---|
HiveRelOptMaterialization |
HiveMaterializedViewsRegistry.getRewritingMaterializedView(String dbName,
String viewName,
EnumSet<RewriteAlgorithm> scope)
Returns the materialized views in the cache for the given database.
|
boolean |
HiveRelOptMaterialization.isSupported(EnumSet<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,
Set<RewriteAlgorithm> scope,
HiveRelOptMaterialization.IncrementalRebuildMode rebuildMode,
ASTNode ast) |
MaterializationValidationResult(EnumSet<RewriteAlgorithm> supportedRewriteAlgorithms,
String errorMessage) |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.calcite.rel.RelNode |
HiveMaterializedViewASTSubQueryRewriteShuttle.getMaterializedViewByAST(ASTNode expandedAST,
org.apache.calcite.plan.RelOptCluster optCluster,
Predicate<Set<RewriteAlgorithm>> filter,
Hive db,
Set<TableName> tablesUsedByOriginalPlan,
HiveTxnManager txnManager)
1.
|
| Modifier and Type | Method and Description |
|---|---|
Set<RewriteAlgorithm> |
CBOPlan.getSupportedRewriteAlgorithms()
Returns an error message if this plan can not be a definition of a Materialized view which is an input of
Calcite based materialized view query rewrite.
|
| Constructor and Description |
|---|
CBOPlan(ASTNode ast,
org.apache.calcite.rel.RelNode plan,
Set<RewriteAlgorithm> supportedRewriteAlgorithms) |
Copyright © 2024 The Apache Software Foundation. All rights reserved.