Package org.apache.calcite.rel.rules
Interface JoinCommuteRule.Config
- All Superinterfaces:
RelRule.Config
- Enclosing class:
JoinCommuteRule
Rule configuration.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
Whether to emit the new join tree if the join condition isTRUE
(that is, cartesian joins); default true.default boolean
Whether to swap outer joins; default false.default JoinCommuteRule
toRule()
Creates a rule that uses this configuration.withAllowAlwaysTrueCondition
(boolean allowAlwaysTrueCondition) default JoinCommuteRule.Config
withOperandFor
(Class<? extends Join> joinClass) Defines an operand tree for the given classes.withSwapOuter
(boolean swapOuter) SetsisSwapOuter()
.Methods inherited from interface org.apache.calcite.plan.RelRule.Config
as, description, operandSupplier, relBuilderFactory, withDescription, withOperandSupplier, withRelBuilderFactory
-
Field Details
-
DEFAULT
-
-
Method Details
-
toRule
Description copied from interface:RelRule.Config
Creates a rule that uses this configuration. Sub-class must override.- Specified by:
toRule
in interfaceRelRule.Config
-
withOperandFor
Defines an operand tree for the given classes. -
isSwapOuter
@Default default boolean isSwapOuter()Whether to swap outer joins; default false. -
withSwapOuter
SetsisSwapOuter()
. -
isAllowAlwaysTrueCondition
@Default default boolean isAllowAlwaysTrueCondition()Whether to emit the new join tree if the join condition isTRUE
(that is, cartesian joins); default true. -
withAllowAlwaysTrueCondition
-