Class BeamCrossJoinRule
java.lang.Object
org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelOptRule
org.apache.beam.sdk.extensions.sql.impl.rule.BeamCrossJoinRule
public class BeamCrossJoinRule
extends org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelOptRule
Rule to convert a
LogicalJoin with a cross / non-equi condition into a
BeamCrossJoinRel, but only when BOTH inputs are bounded. Equi-joins keep using the existing
CoGBK / side-input rules; those rules are gated with isJoinLegal so they no longer match
the cross / non-equi case. Unbounded cross joins are intentionally not matched (rejected).-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelOptRule
org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelOptRule.ConverterRelOptRuleOperand -
Field Summary
FieldsFields inherited from class org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelOptRule
description, operands, relBuilderFactory -
Method Summary
Methods inherited from class org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelOptRule
any, convert, convert, 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
-
-
Method Details
-
matches
public boolean matches(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelOptRuleCall call) - Overrides:
matchesin classorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelOptRule
-
onMatch
public void onMatch(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelOptRuleCall call) - Specified by:
onMatchin classorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelOptRule
-