Class RelTimeIndicatorConverter
java.lang.Object
org.apache.calcite.rel.RelShuttleImpl
org.apache.calcite.rel.RelHomogeneousShuttle
org.apache.flink.table.planner.calcite.RelTimeIndicatorConverter
- All Implemented Interfaces:
org.apache.calcite.rel.RelShuttle
public final class RelTimeIndicatorConverter
extends org.apache.calcite.rel.RelHomogeneousShuttle
Traverses a
RelNode tree and converts fields with TimeIndicatorRelDataType type.
If a time attribute is accessed for a calculation, it will be materialized. Forwarding is allowed
in some cases, but not all.-
Field Summary
Fields inherited from class org.apache.calcite.rel.RelShuttleImpl
stack -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.calcite.rel.RelNodeconvert(org.apache.calcite.rel.RelNode rootRel, org.apache.calcite.rex.RexBuilder rexBuilder, boolean needFinalTimeIndicatorConversion) org.apache.calcite.rel.RelNodevisit(org.apache.calcite.rel.logical.LogicalCalc calc) org.apache.calcite.rel.RelNodevisit(org.apache.calcite.rel.logical.LogicalTableModify modify) org.apache.calcite.rel.RelNodevisit(org.apache.calcite.rel.RelNode node) Methods inherited from class org.apache.calcite.rel.RelHomogeneousShuttle
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitMethods inherited from class org.apache.calcite.rel.RelShuttleImpl
visitChild, visitChildren
-
Method Details
-
convert
public static org.apache.calcite.rel.RelNode convert(org.apache.calcite.rel.RelNode rootRel, org.apache.calcite.rex.RexBuilder rexBuilder, boolean needFinalTimeIndicatorConversion) -
visit
public org.apache.calcite.rel.RelNode visit(org.apache.calcite.rel.RelNode node) - Specified by:
visitin interfaceorg.apache.calcite.rel.RelShuttle- Overrides:
visitin classorg.apache.calcite.rel.RelShuttleImpl
-
visit
public org.apache.calcite.rel.RelNode visit(org.apache.calcite.rel.logical.LogicalCalc calc) - Specified by:
visitin interfaceorg.apache.calcite.rel.RelShuttle- Overrides:
visitin classorg.apache.calcite.rel.RelHomogeneousShuttle
-
visit
public org.apache.calcite.rel.RelNode visit(org.apache.calcite.rel.logical.LogicalTableModify modify) - Specified by:
visitin interfaceorg.apache.calcite.rel.RelShuttle- Overrides:
visitin classorg.apache.calcite.rel.RelHomogeneousShuttle
-