public static interface RelRule.Config
| Modifier and Type | Method and Description |
|---|---|
default <T> T |
as(Class<T> class_)
Casts this configuration to another type, usually a sub-class.
|
@Nullable String |
description()
Description of the rule instance.
|
default RelRule.OperandTransform |
operandSupplier()
Creates the operands for the rule instance.
|
default RelBuilderFactory |
relBuilderFactory()
The factory that is used to create a
RelBuilder during rule invocations. |
RelOptRule |
toRule()
Creates a rule that uses this configuration.
|
RelRule.Config |
withDescription(@Nullable String description)
Sets
description(). |
RelRule.Config |
withOperandSupplier(RelRule.OperandTransform transform)
Sets
operandSupplier(). |
RelRule.Config |
withRelBuilderFactory(RelBuilderFactory factory)
Sets
relBuilderFactory(). |
RelOptRule toRule()
default <T> T as(Class<T> class_)
@Value.Default default RelBuilderFactory relBuilderFactory()
RelBuilder during rule invocations.RelRule.Config withRelBuilderFactory(RelBuilderFactory factory)
relBuilderFactory().RelRule.Config withDescription(@Nullable String description)
description().@Value.Default default RelRule.OperandTransform operandSupplier()
RelRule.Config withOperandSupplier(RelRule.OperandTransform transform)
operandSupplier().Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.