net.sf.saffron.opt
Class VolcanoPlannerTest.TestSingleRel

java.lang.Object
  |
  +--net.sf.saffron.rel.SaffronRel
        |
        +--net.sf.saffron.rel.SingleRel
              |
              +--net.sf.saffron.opt.VolcanoPlannerTest.TestSingleRel
Direct Known Subclasses:
VolcanoPlannerTest.NoneSingleRel, VolcanoPlannerTest.PhysSingleRel
Enclosing class:
VolcanoPlannerTest

private abstract static class VolcanoPlannerTest.TestSingleRel
extends SingleRel


Field Summary
 
Fields inherited from class net.sf.saffron.rel.SingleRel
child
 
Fields inherited from class net.sf.saffron.rel.SaffronRel
cluster, digest, id, rowType
 
Constructor Summary
protected VolcanoPlannerTest.TestSingleRel(VolcanoCluster cluster, SaffronRel child)
           
 
Method Summary
 PlanCost computeSelfCost(SaffronPlanner planner)
          Returns the cost of this plan (not including children).
protected  SaffronType deriveRowType()
           
 
Methods inherited from class net.sf.saffron.rel.SingleRel
childrenAccept, explain, getInputs, getRows, replaceInput
 
Methods inherited from class net.sf.saffron.rel.SaffronRel
clone, computeDigest, getChildExps, getCluster, getConvention, getCorrelVariable, getId, getInput, getOrCreateCorrelVariable, getQualifier, getQuery, getRelTypeName, getRowType, getTable, getVariablesStopped, implement, implementFieldAccess, isAccessTo, isDistinct, onRegister, recomputeDigest, register, registerCorrelVariable, setCorrelVariable, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VolcanoPlannerTest.TestSingleRel

protected VolcanoPlannerTest.TestSingleRel(VolcanoCluster cluster,
                                           SaffronRel child)
Method Detail

computeSelfCost

public PlanCost computeSelfCost(SaffronPlanner planner)
Description copied from class: SaffronRel
Returns the cost of this plan (not including children). The base implementation throws an error; derived classes should override.

Overrides:
computeSelfCost in class SaffronRel

deriveRowType

protected SaffronType deriveRowType()
Overrides:
deriveRowType in class SingleRel

SourceForge.net_Logo