public final class RelTimeIndicatorConverter
extends org.apache.calcite.rel.RelHomogeneousShuttle
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.Modifier and Type | Method and 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) |
public static org.apache.calcite.rel.RelNode convert(org.apache.calcite.rel.RelNode rootRel, org.apache.calcite.rex.RexBuilder rexBuilder, boolean needFinalTimeIndicatorConversion)
public org.apache.calcite.rel.RelNode visit(org.apache.calcite.rel.RelNode node)
visit
in interface org.apache.calcite.rel.RelShuttle
visit
in class org.apache.calcite.rel.RelShuttleImpl
public org.apache.calcite.rel.RelNode visit(org.apache.calcite.rel.logical.LogicalCalc calc)
visit
in interface org.apache.calcite.rel.RelShuttle
visit
in class org.apache.calcite.rel.RelHomogeneousShuttle
public org.apache.calcite.rel.RelNode visit(org.apache.calcite.rel.logical.LogicalTableModify modify)
visit
in interface org.apache.calcite.rel.RelShuttle
visit
in class org.apache.calcite.rel.RelHomogeneousShuttle
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.