Package org.apache.calcite.rel.rules
Interface ProjectMergeRule.Config
- All Superinterfaces:
RelRule.Config
- Enclosing class:
ProjectMergeRule
Rule configuration.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault intbloat()Limit how much complexity can increase during merging.default booleanforce()Whether to always merge projects, default true.default ProjectMergeRuletoRule()Creates a rule that uses this configuration.withBloat(int bloat) Setsbloat().withForce(boolean force) Setsforce().default ProjectMergeRule.ConfigwithOperandFor(Class<? extends Project> projectClass) 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
-
bloat
@Default default int bloat()Limit how much complexity can increase during merging. Default isRelOptUtil.DEFAULT_BLOAT(100). -
withBloat
Setsbloat(). -
force
@Default default boolean force()Whether to always merge projects, default true. -
withForce
Setsforce(). -
withOperandFor
Defines an operand tree for the given classes.
-