net.sf.farrago.test
Class Rex2CalcPlanTest.TesterImpl.MyRelOptRuleCall

java.lang.Object
  extended by org.eigenbase.relopt.RelOptRuleCall
      extended by net.sf.farrago.test.Rex2CalcPlanTest.TesterImpl.MyRelOptRuleCall
Enclosing class:
Rex2CalcPlanTest.TesterImpl

private class Rex2CalcPlanTest.TesterImpl.MyRelOptRuleCall
extends RelOptRuleCall


Field Summary
private  RelNode rel
           
 
Fields inherited from class org.eigenbase.relopt.RelOptRuleCall
rels, tracer
 
Constructor Summary
Rex2CalcPlanTest.TesterImpl.MyRelOptRuleCall(RelOptRuleOperand operand, RelNode[] rels)
           
 
Method Summary
 void transformTo(RelNode rel)
          Called by the rule whenever it finds a match.
 
Methods inherited from class org.eigenbase.relopt.RelOptRuleCall
getChildRels, getOperand0, getParents, getPlanner, getRels, getRule
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rel

private RelNode rel
Constructor Detail

Rex2CalcPlanTest.TesterImpl.MyRelOptRuleCall

public Rex2CalcPlanTest.TesterImpl.MyRelOptRuleCall(RelOptRuleOperand operand,
                                                    RelNode[] rels)
Method Detail

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