Class PushWatermarkIntoTableSourceScanAcrossCalcRule
java.lang.Object
org.apache.calcite.plan.RelOptRule
org.apache.flink.table.planner.plan.rules.logical.PushWatermarkIntoTableSourceScanRuleBase
org.apache.flink.table.planner.plan.rules.logical.PushWatermarkIntoTableSourceScanAcrossCalcRule
public class PushWatermarkIntoTableSourceScanAcrossCalcRule
extends PushWatermarkIntoTableSourceScanRuleBase
Rule to push the
FlinkLogicalWatermarkAssigner across the FlinkLogicalCalc to the
FlinkLogicalTableSourceScan. The rule will first look for the computed column in the
FlinkLogicalCalc and then translate the watermark expression and the computed column into
a WatermarkStrategy. With the new scan the rule will build a new FlinkLogicalCalc.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.calcite.plan.RelOptRule
org.apache.calcite.plan.RelOptRule.ConverterRelOptRuleOperand -
Field Summary
FieldsFields inherited from class org.apache.calcite.plan.RelOptRule
description, operands, relBuilderFactory -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.flink.table.planner.plan.rules.logical.PushWatermarkIntoTableSourceScanRuleBase
getNewScan, supportsWatermarkPushDownMethods inherited from class org.apache.calcite.plan.RelOptRule
any, convert, convert, convertList, convertOperand, convertOperand, equals, equals, getOperand, getOperands, getOutConvention, getOutTrait, hashCode, none, operand, operand, operand, operand, operand, operandJ, operandJ, some, toString, unordered
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
PushWatermarkIntoTableSourceScanAcrossCalcRule
public PushWatermarkIntoTableSourceScanAcrossCalcRule()
-
-
Method Details
-
matches
public boolean matches(org.apache.calcite.plan.RelOptRuleCall call) - Overrides:
matchesin classorg.apache.calcite.plan.RelOptRule
-
onMatch
public void onMatch(org.apache.calcite.plan.RelOptRuleCall call) - Specified by:
onMatchin classorg.apache.calcite.plan.RelOptRule
-