org.eigenbase.relopt.volcano
Class VolcanoPlannerTest.PhysLeafRel

java.lang.Object
  extended by org.eigenbase.rel.AbstractRelNode
      extended by org.eigenbase.relopt.volcano.VolcanoPlannerTest.TestLeafRel
          extended by org.eigenbase.relopt.volcano.VolcanoPlannerTest.PhysLeafRel
All Implemented Interfaces:
Cloneable, RelNode
Enclosing class:
VolcanoPlannerTest

private static class VolcanoPlannerTest.PhysLeafRel
extends VolcanoPlannerTest.TestLeafRel


Field Summary
 
Fields inherited from class org.eigenbase.rel.AbstractRelNode
digest, id, rowType, traits
 
Fields inherited from interface org.eigenbase.rel.RelNode
emptyArray
 
Constructor Summary
VolcanoPlannerTest.PhysLeafRel(RelOptCluster cluster, String label)
           
 
Method Summary
 RelOptCost computeSelfCost(RelOptPlanner planner)
          Returns the cost of this plan (not including children).
 
Methods inherited from class org.eigenbase.relopt.volcano.VolcanoPlannerTest.TestLeafRel
clone, deriveRowType, explain, getLabel
 
Methods inherited from class org.eigenbase.rel.AbstractRelNode
childrenAccept, cloneTraits, collectVariablesSet, collectVariablesUsed, computeDigest, getChildExps, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getInputs, getOrCreateCorrelVariable, getQuery, getRelTypeName, getRows, getRowType, getTable, getTraits, getVariablesStopped, inheritTraitsFrom, isAccessTo, isDistinct, isValid, onRegister, recomputeDigest, register, registerCorrelVariable, replaceInput, setCorrelVariable, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VolcanoPlannerTest.PhysLeafRel

VolcanoPlannerTest.PhysLeafRel(RelOptCluster cluster,
                               String label)
Method Detail

computeSelfCost

public RelOptCost computeSelfCost(RelOptPlanner planner)
Description copied from interface: RelNode
Returns the cost of this plan (not including children). The base implementation throws an error; derived classes should override.

NOTE jvs 29-Mar-2006: Don't call this method directly. Instead, use RelMetadataQuery.getNonCumulativeCost(org.eigenbase.rel.RelNode), which gives plugins a chance to override the rel's default ideas about cost.

Specified by:
computeSelfCost in interface RelNode
Overrides:
computeSelfCost in class VolcanoPlannerTest.TestLeafRel