Class FlinkCalcMergeRule
- java.lang.Object
-
- org.apache.calcite.plan.RelOptRule
-
- org.apache.calcite.plan.RelRule<FlinkCalcMergeRule.FlinkCalcMergeRuleConfig>
-
- org.apache.flink.table.planner.plan.rules.logical.FlinkCalcMergeRule
-
@Enclosing public class FlinkCalcMergeRule extends org.apache.calcite.plan.RelRule<FlinkCalcMergeRule.FlinkCalcMergeRuleConfig>
Planner rule that merges aCalc
onto aCalc
.The resulting
Calc
has the same project list as the upperCalc
, but expressed in terms of the lowerCalc
's inputs.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
FlinkCalcMergeRule.FlinkCalcMergeRuleConfig
Rule configuration.-
Nested classes/interfaces inherited from class org.apache.calcite.plan.RelRule
org.apache.calcite.plan.RelRule.Config, org.apache.calcite.plan.RelRule.Done, org.apache.calcite.plan.RelRule.MatchHandler<R extends org.apache.calcite.plan.RelOptRule>, org.apache.calcite.plan.RelRule.OperandBuilder, org.apache.calcite.plan.RelRule.OperandDetailBuilder<R extends org.apache.calcite.rel.RelNode>, org.apache.calcite.plan.RelRule.OperandTransform
-
-
Field Summary
Fields Modifier and Type Field Description static FlinkCalcMergeRule
INSTANCE
static FlinkCalcMergeRule
STREAM_PHYSICAL_INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description protected
FlinkCalcMergeRule(FlinkCalcMergeRule.FlinkCalcMergeRuleConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(org.apache.calcite.plan.RelOptRuleCall call)
void
onMatch(org.apache.calcite.plan.RelOptRuleCall call)
-
Methods 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 Detail
-
INSTANCE
public static final FlinkCalcMergeRule INSTANCE
-
STREAM_PHYSICAL_INSTANCE
public static final FlinkCalcMergeRule STREAM_PHYSICAL_INSTANCE
-
-
Constructor Detail
-
FlinkCalcMergeRule
protected FlinkCalcMergeRule(FlinkCalcMergeRule.FlinkCalcMergeRuleConfig config)
-
-