net.sf.farrago.test
Class Rex2CalcPlanTest.TesterImpl.MyRelOptRuleCall
java.lang.Object
org.eigenbase.relopt.RelOptRuleCall
net.sf.farrago.test.Rex2CalcPlanTest.TesterImpl.MyRelOptRuleCall
- Enclosing class:
- Rex2CalcPlanTest.TesterImpl
private class Rex2CalcPlanTest.TesterImpl.MyRelOptRuleCall
- extends RelOptRuleCall
Method Summary |
void |
transformTo(RelNode rel)
Called by the rule whenever it finds a match. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rel
private RelNode rel
Rex2CalcPlanTest.TesterImpl.MyRelOptRuleCall
public Rex2CalcPlanTest.TesterImpl.MyRelOptRuleCall(RelOptRuleOperand operand,
RelNode[] rels)
transformTo
public void transformTo(RelNode rel)
- Description copied from class:
RelOptRuleCall
- Called by the rule whenever it finds a match. The implementation of this
method will guarantee that the original relational expression (e.g.,
this.rels[0]
) 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
this.rels[0].getTraitSet()
.
- Specified by:
transformTo
in class RelOptRuleCall