Package org.apache.calcite.rel.rules
Interface SortUnionTransposeRule.Config
- All Superinterfaces:
RelRule.Config
- Enclosing class:
SortUnionTransposeRule
Rule configuration.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
Whether to match a Sort whoseSort.fetch
is null.default SortUnionTransposeRule
toRule()
Creates a rule that uses this configuration.withMatchNullFetch
(boolean matchNullFetch) SetsmatchNullFetch()
.default SortUnionTransposeRule.Config
withOperandFor
(Class<? extends Sort> sortClass, Class<? extends Union> unionClass) Defines an operand tree for the given classes.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
-
matchNullFetch
@Default default boolean matchNullFetch()Whether to match a Sort whoseSort.fetch
is null. Generally this only makes sense if the Union preserves order (and merges). -
withMatchNullFetch
SetsmatchNullFetch()
. -
withOperandFor
default SortUnionTransposeRule.Config withOperandFor(Class<? extends Sort> sortClass, Class<? extends Union> unionClass) Defines an operand tree for the given classes.
-