public class HiveRelOptMaterialization
extends org.apache.calcite.plan.RelOptMaterialization
RelOptMaterialization
.Modifier and Type | Class and Description |
---|---|
static class |
HiveRelOptMaterialization.IncrementalRebuildMode |
static class |
HiveRelOptMaterialization.RewriteAlgorithm
Enumeration of Materialized view query rewrite algorithms.
|
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) |
Modifier and Type | Method and Description |
---|---|
HiveRelOptMaterialization |
copyToNewCluster(org.apache.calcite.plan.RelOptCluster optCluster) |
HiveRelOptMaterialization.IncrementalRebuildMode |
getRebuildMode() |
EnumSet<HiveRelOptMaterialization.RewriteAlgorithm> |
getScope() |
boolean |
isSourceTablesCompacted() |
boolean |
isSourceTablesUpdateDeleteModified() |
boolean |
isSupported(EnumSet<HiveRelOptMaterialization.RewriteAlgorithm> scope)
Is this materialized view applicable to the specified scope.
|
HiveRelOptMaterialization |
updateInvalidation(Materialization materialization) |
public 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)
public EnumSet<HiveRelOptMaterialization.RewriteAlgorithm> getScope()
public boolean isSupported(EnumSet<HiveRelOptMaterialization.RewriteAlgorithm> scope)
scope
- Set of algorithmspublic boolean isSourceTablesUpdateDeleteModified()
public boolean isSourceTablesCompacted()
public HiveRelOptMaterialization.IncrementalRebuildMode getRebuildMode()
public HiveRelOptMaterialization updateInvalidation(Materialization materialization)
public HiveRelOptMaterialization copyToNewCluster(org.apache.calcite.plan.RelOptCluster optCluster)
Copyright © 2022 The Apache Software Foundation. All rights reserved.