net.sf.saffron.oj.rel
Class SingleTerminatorRel

java.lang.Object
  |
  +--net.sf.saffron.rel.SaffronRel
        |
        +--net.sf.saffron.rel.SingleRel
              |
              +--net.sf.saffron.oj.rel.SingleTerminatorRel
All Implemented Interfaces:
TerminatorRel
Direct Known Subclasses:
ForTerminatorRel

public abstract class SingleTerminatorRel
extends SingleRel
implements TerminatorRel

A SingleTerminatorRel is an abstract base for Terminators with one input.


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
(package private) SingleTerminatorRel(VolcanoCluster cluster, SaffronRel child)
           
 
Method Summary
 PlanCost computeSelfCost(SaffronPlanner planner)
          Returns the cost of this plan (not including children).
protected  SaffronType deriveRowType()
           
 CallingConvention getConvention()
          Returns a value from CallingConvention.
 
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, 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

SingleTerminatorRel

SingleTerminatorRel(VolcanoCluster cluster,
                    SaffronRel child)
Method Detail

getConvention

public CallingConvention getConvention()
Description copied from class: SaffronRel
Returns a value from CallingConvention.

Overrides:
getConvention in class SaffronRel

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