Package org.apache.calcite.rel.rules
Interface CoerceInputsRule.Config
- All Superinterfaces:
RelRule.Config
- Enclosing class:
CoerceInputsRule
Rule configuration.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionClass ofRelNodeto coerce to.default booleanWhether to coerce names.default CoerceInputsRuletoRule()Creates a rule that uses this configuration.withCoerceNames(boolean coerceNames) SetsisCoerceNames().withConsumerRelClass(Class<? extends RelNode> relClass) SetsconsumerRelClass().default CoerceInputsRule.ConfigwithOperandFor(Class<? extends RelNode> consumerRelClass) 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.ConfigCreates a rule that uses this configuration. Sub-class must override.- Specified by:
toRulein interfaceRelRule.Config
-
isCoerceNames
@Default default boolean isCoerceNames()Whether to coerce names. -
withCoerceNames
SetsisCoerceNames(). -
consumerRelClass
Class ofRelNodeto coerce to. -
withConsumerRelClass
SetsconsumerRelClass(). -
withOperandFor
Defines an operand tree for the given classes.
-