Package org.apache.calcite.rel.rules
Interface ProjectMergeRule.Config
- All Superinterfaces:
RelRule.Config
- Enclosing class:
ProjectMergeRule
Rule configuration.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
bloat()
Limit how much complexity can increase during merging.default boolean
force()
Whether to always merge projects, default true.default ProjectMergeRule
toRule()
Creates a rule that uses this configuration.withBloat
(int bloat) Setsbloat()
.withForce
(boolean force) Setsforce()
.default ProjectMergeRule.Config
withOperandFor
(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.Config
Creates a rule that uses this configuration. Sub-class must override.- Specified by:
toRule
in 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.
-