Package org.apache.calcite.rel.rules
Interface ExchangeRemoveConstantKeysRule.Config
- All Superinterfaces:
RelRule.Config
- Enclosing class:
ExchangeRemoveConstantKeysRule
@Immutable(singleton=false)
public static interface ExchangeRemoveConstantKeysRule.Config
extends RelRule.Config
Rule configuration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ExchangeRemoveConstantKeysRule.Configstatic final ExchangeRemoveConstantKeysRule.Config -
Method Summary
Modifier and TypeMethodDescriptionForwards a call toRelOptRule.onMatch(RelOptRuleCall).default ExchangeRemoveConstantKeysRuletoRule()Creates a rule that uses this configuration.withMatchHandler(RelRule.MatchHandler<ExchangeRemoveConstantKeysRule> matchHandler) SetsmatchHandler().default <R extends Exchange>
ExchangeRemoveConstantKeysRule.ConfigwithOperandFor(Class<R> exchangeClass, Predicate<R> predicate) 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
-
SORT
-
-
Method Details
-
toRule
Description copied from interface:RelRule.ConfigCreates a rule that uses this configuration. Sub-class must override.- Specified by:
toRulein interfaceRelRule.Config
-
matchHandler
Forwards a call toRelOptRule.onMatch(RelOptRuleCall). -
withMatchHandler
ExchangeRemoveConstantKeysRule.Config withMatchHandler(RelRule.MatchHandler<ExchangeRemoveConstantKeysRule> matchHandler) SetsmatchHandler(). -
withOperandFor
default <R extends Exchange> ExchangeRemoveConstantKeysRule.Config withOperandFor(Class<R> exchangeClass, Predicate<R> predicate) Defines an operand tree for the given classes.
-