@Value.Immutable public static interface JoinCommuteRule.Config extends RelRule.Config
| Modifier and Type | Field and Description |
|---|---|
static JoinCommuteRule.Config |
DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
default boolean |
isAllowAlwaysTrueCondition()
Whether to emit the new join tree if the join condition is
TRUE
(that is, cartesian joins); default true. |
default boolean |
isSwapOuter()
Whether to swap outer joins; default false.
|
default JoinCommuteRule |
toRule()
Creates a rule that uses this configuration.
|
JoinCommuteRule.Config |
withAllowAlwaysTrueCondition(boolean allowAlwaysTrueCondition)
|
default JoinCommuteRule.Config |
withOperandFor(Class<? extends Join> joinClass)
Defines an operand tree for the given classes.
|
JoinCommuteRule.Config |
withSwapOuter(boolean swapOuter)
Sets
isSwapOuter(). |
as, description, operandSupplier, relBuilderFactory, withDescription, withOperandSupplier, withRelBuilderFactorystatic final JoinCommuteRule.Config DEFAULT
default JoinCommuteRule toRule()
RelRule.ConfigtoRule in interface RelRule.Configdefault JoinCommuteRule.Config withOperandFor(Class<? extends Join> joinClass)
@Value.Default default boolean isSwapOuter()
JoinCommuteRule.Config withSwapOuter(boolean swapOuter)
isSwapOuter().@Value.Default default boolean isAllowAlwaysTrueCondition()
TRUE
(that is, cartesian joins); default true.JoinCommuteRule.Config withAllowAlwaysTrueCondition(boolean allowAlwaysTrueCondition)
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.