Package org.apache.calcite.rel.rules
Class JoinExtractFilterRule
- java.lang.Object
-
- org.apache.calcite.plan.RelOptRule
-
- org.apache.calcite.rel.rules.AbstractJoinExtractFilterRule
-
- org.apache.calcite.rel.rules.JoinExtractFilterRule
-
public final class JoinExtractFilterRule extends AbstractJoinExtractFilterRule
Rule to convert aninner join
to afilter
on top of acartesian inner join
.One benefit of this transformation is that after it, the join condition can be combined with conditions and expressions above the join. It also makes the
FennelCartesianJoinRule
applicable.The constructor is parameterized to allow any sub-class of
Join
, not justLogicalJoin
.
-
-
Field Summary
Fields Modifier and Type Field Description static JoinExtractFilterRule
INSTANCE
The singleton.-
Fields inherited from class org.apache.calcite.plan.RelOptRule
description, operands, relBuilderFactory
-
-
Constructor Summary
Constructors Constructor Description JoinExtractFilterRule(java.lang.Class<? extends Join> clazz, RelBuilderFactory relBuilderFactory)
Creates a JoinExtractFilterRule.
-
Method Summary
-
Methods inherited from class org.apache.calcite.rel.rules.AbstractJoinExtractFilterRule
onMatch
-
Methods inherited from class org.apache.calcite.plan.RelOptRule
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
-
-
-
-
Field Detail
-
INSTANCE
public static final JoinExtractFilterRule INSTANCE
The singleton.
-
-
Constructor Detail
-
JoinExtractFilterRule
public JoinExtractFilterRule(java.lang.Class<? extends Join> clazz, RelBuilderFactory relBuilderFactory)
Creates a JoinExtractFilterRule.
-
-