@Value.Enclosing public class FlinkJoinReorderRule extends org.apache.calcite.plan.RelRule<FlinkJoinReorderRule.Config> implements org.apache.calcite.rel.rules.TransformationRule
It is triggered by the (MultiJoin
).
In this rule, there are two specific join reorder strategies can be chosen, one is LoptOptimizeJoinRule
, another is FlinkBushyJoinReorderRule
. Which rule is selected
depends on the parameter OptimizerConfigOptions.TABLE_OPTIMIZER_BUSHY_JOIN_REORDER_THRESHOLD
.
Modifier and Type | Class and Description |
---|---|
static interface |
FlinkJoinReorderRule.Config
Rule configuration.
|
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
Modifier and Type | Field and Description |
---|---|
static FlinkJoinReorderRule |
INSTANCE |
Modifier | Constructor and Description |
---|---|
protected |
FlinkJoinReorderRule(FlinkJoinReorderRule.Config config)
Creates an SparkJoinReorderRule.
|
|
FlinkJoinReorderRule(org.apache.calcite.tools.RelBuilderFactory relBuilderFactory)
Deprecated.
|
|
FlinkJoinReorderRule(org.apache.calcite.rel.core.RelFactories.JoinFactory joinFactory,
org.apache.calcite.rel.core.RelFactories.ProjectFactory projectFactory,
org.apache.calcite.rel.core.RelFactories.FilterFactory filterFactory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
onMatch(org.apache.calcite.plan.RelOptRuleCall call) |
any, convert, convert, convertList, convertOperand, convertOperand, equals, equals, getOperand, getOperands, getOutConvention, getOutTrait, hashCode, matches, none, operand, operand, operand, operand, operand, operandJ, operandJ, some, toString, unordered
public static final FlinkJoinReorderRule INSTANCE
protected FlinkJoinReorderRule(FlinkJoinReorderRule.Config config)
@Deprecated public FlinkJoinReorderRule(org.apache.calcite.tools.RelBuilderFactory relBuilderFactory)
@Deprecated public FlinkJoinReorderRule(org.apache.calcite.rel.core.RelFactories.JoinFactory joinFactory, org.apache.calcite.rel.core.RelFactories.ProjectFactory projectFactory, org.apache.calcite.rel.core.RelFactories.FilterFactory filterFactory)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.