Package org.apache.calcite.rel.rules
Interface SortUnionTransposeRule.Config
- All Superinterfaces:
RelRule.Config
- Enclosing class:
SortUnionTransposeRule
Rule configuration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SortUnionTransposeRule.Configstatic final SortUnionTransposeRule.Config -
Method Summary
Modifier and TypeMethodDescriptiondefault booleanWhether to match a Sort whoseSort.fetchis null.default SortUnionTransposeRuletoRule()Creates a rule that uses this configuration.withMatchNullFetch(boolean matchNullFetch) SetsmatchNullFetch().default SortUnionTransposeRule.ConfigwithOperandFor(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
-
MATCH_NULL_FETCH
-
-
Method Details
-
toRule
Description copied from interface:RelRule.ConfigCreates a rule that uses this configuration. Sub-class must override.- Specified by:
toRulein interfaceRelRule.Config
-
matchNullFetch
@Default default boolean matchNullFetch()Whether to match a Sort whoseSort.fetchis 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.
-