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 Type
    Method
    Description
    static org.apache.calcite.rel.RelNode
    convert(org.apache.calcite.rel.RelNode rootRel, org.apache.calcite.rex.RexBuilder rexBuilder, boolean needFinalTimeIndicatorConversion)
     
    org.apache.calcite.rel.RelNode
    visit(org.apache.calcite.rel.logical.LogicalCalc calc)
     
    org.apache.calcite.rel.RelNode
    visit(org.apache.calcite.rel.logical.LogicalTableModify modify)
     
    org.apache.calcite.rel.RelNode
    visit(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, visit

    Methods inherited from class org.apache.calcite.rel.RelShuttleImpl

    visitChild, visitChildren

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      visit in interface org.apache.calcite.rel.RelShuttle
      Overrides:
      visit in class org.apache.calcite.rel.RelShuttleImpl
    • visit

      public org.apache.calcite.rel.RelNode visit(org.apache.calcite.rel.logical.LogicalCalc calc)
      Specified by:
      visit in interface org.apache.calcite.rel.RelShuttle
      Overrides:
      visit in class org.apache.calcite.rel.RelHomogeneousShuttle
    • visit

      public org.apache.calcite.rel.RelNode visit(org.apache.calcite.rel.logical.LogicalTableModify modify)
      Specified by:
      visit in interface org.apache.calcite.rel.RelShuttle
      Overrides:
      visit in class org.apache.calcite.rel.RelHomogeneousShuttle