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
Modifier and TypeFieldDescriptionstatic final ExchangeRemoveConstantKeysRule.Config
static final ExchangeRemoveConstantKeysRule.Config
-
Method Summary
Modifier and TypeMethodDescriptionForwards a call toRelOptRule.onMatch(RelOptRuleCall)
.default ExchangeRemoveConstantKeysRule
toRule()
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.Config
Creates a rule that uses this configuration. Sub-class must override.- Specified by:
toRule
in 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.
-