public class HiveRowIsDeletedPropagator extends Object implements org.apache.calcite.util.ReflectiveVisitor
ReflectiveVisitor to propagate row is deleted or inserted columns to all HiveRelNodes' rowType in the plan.
General rule: we expect that these columns are the last columns in the input rowType of the current
HiveRelNode.
This class is part of incremental rebuild of materialized view plan generation.
| Modifier and Type | Class and Description |
|---|---|
static class |
HiveRowIsDeletedPropagator.Context |
| Constructor and Description |
|---|
HiveRowIsDeletedPropagator(org.apache.calcite.tools.RelBuilder relBuilder) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.calcite.rel.RelNode |
propagate(org.apache.calcite.rel.RelNode relNode) |
org.apache.calcite.rel.RelNode |
visit(HiveFilter filter,
HiveRowIsDeletedPropagator.Context context) |
org.apache.calcite.rel.RelNode |
visit(HiveJoin join,
HiveRowIsDeletedPropagator.Context context) |
org.apache.calcite.rel.RelNode |
visit(HiveProject project,
HiveRowIsDeletedPropagator.Context context) |
org.apache.calcite.rel.RelNode |
visit(HiveTableScan scan,
HiveRowIsDeletedPropagator.Context context) |
org.apache.calcite.rel.RelNode |
visit(org.apache.calcite.rel.RelNode relNode,
HiveRowIsDeletedPropagator.Context context) |
public HiveRowIsDeletedPropagator(org.apache.calcite.tools.RelBuilder relBuilder)
public org.apache.calcite.rel.RelNode propagate(org.apache.calcite.rel.RelNode relNode)
public org.apache.calcite.rel.RelNode visit(org.apache.calcite.rel.RelNode relNode,
HiveRowIsDeletedPropagator.Context context)
public org.apache.calcite.rel.RelNode visit(HiveTableScan scan, HiveRowIsDeletedPropagator.Context context)
public org.apache.calcite.rel.RelNode visit(HiveProject project, HiveRowIsDeletedPropagator.Context context)
public org.apache.calcite.rel.RelNode visit(HiveFilter filter, HiveRowIsDeletedPropagator.Context context)
public org.apache.calcite.rel.RelNode visit(HiveJoin join, HiveRowIsDeletedPropagator.Context context)
Copyright © 2024 The Apache Software Foundation. All rights reserved.