public static interface RelRule.Config
| Modifier and Type | Field and Description |
|---|---|
static RelRule.Config |
EMPTY
Empty configuration.
|
| Modifier and Type | Method and Description |
|---|---|
default <T> T |
as(Class<T> class_)
Casts this configuration to another type, usually a sub-class.
|
String |
description()
Description of the rule instance.
|
RelRule.OperandTransform |
operandSupplier()
Creates the operands for the rule instance.
|
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(String description)
Sets
description(). |
RelRule.Config |
withOperandSupplier(RelRule.OperandTransform transform)
Sets
operandSupplier(). |
RelRule.Config |
withRelBuilderFactory(RelBuilderFactory factory)
Sets
relBuilderFactory(). |
static final RelRule.Config EMPTY
RelOptRule toRule()
default <T> T as(Class<T> class_)
RelBuilderFactory relBuilderFactory()
RelBuilder during rule invocations.RelRule.Config withRelBuilderFactory(RelBuilderFactory factory)
relBuilderFactory().String description()
RelRule.Config withDescription(String description)
description().RelRule.OperandTransform operandSupplier()
RelRule.Config withOperandSupplier(RelRule.OperandTransform transform)
operandSupplier().Copyright © 2012-2020 Apache Software Foundation. All Rights Reserved.