|Modifier and Type||Field and Description|
|Modifier||Constructor and Description|
Creates a rule call, internal, with array to hold bindings.
|Modifier and Type||Method and Description|
Called when all operands have matched.
Registers that a rule has produced an equivalent relational expression.
builder, getChildRels, getMetadataQuery, getOperand0, getParents, getPlanner, getRelList, getRels, getRule, rel, setChildRels, transformTo
protected final VolcanoPlanner volcanoPlanner
protected VolcanoRuleCall(VolcanoPlanner planner, RelOptRuleOperand operand, RelNode rels, java.util.Map<RelNode,java.util.List<RelNode>> nodeInputs)
operand- First operand of the rule
rels- Array which will hold the matched relational expressions
nodeInputs- For each node which matched with
matchAnyChildren= true, a list of the node's inputs
Called by the rule whenever it finds a match. The implementation of
this method guarantees that the original relational expression (that is,
this.rels) has its traits propagated to the new
relational expression (
rel) and its unregistered children.
Any trait not specifically set in the RelTraitSet returned by
rel.getTraits() will be copied from
protected void onMatch()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.