saffron.rel.java
Class SingleTerminator

java.lang.Object
  |
  +--saffron.rel.Rel
        |
        +--saffron.rel.SingleRel
              |
              +--saffron.rel.java.SingleTerminator
All Implemented Interfaces:
Terminator
Direct Known Subclasses:
ForTerminator

public abstract class SingleTerminator
extends SingleRel
implements Terminator

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


Nested Class Summary
 
Nested classes inherited from class saffron.rel.Rel
 
Field Summary
 
Fields inherited from class saffron.rel.SingleRel
child
 
Fields inherited from class saffron.rel.Rel
cluster, digest, id, rowType
 
Constructor Summary
(package private) SingleTerminator(Cluster cluster, Rel child)
           
 
Method Summary
 Cost computeSelfCost(Planner planner)
          Returns the cost of this plan (not including children).
protected  Type deriveRowType()
           
 CallingConvention getConvention()
          Returns a value from CallingConvention.
 
Methods inherited from class saffron.rel.SingleRel
childrenAccept, explain, getInputs, replaceInput
 
Methods inherited from class saffron.rel.Rel
clone, computeDigest, getChildExps, getCluster, getCorelVariable, getEnvironment, getId, getInput, getOrCreateCorelVariable, getParentEnv, getQualifier, getQuery, getRelTypeName, getRows, getRowType, getTable, getType, getVariablesStopped, implement, implementExp, implementExps, implementFieldAccess, implementSelf, isAccessTo, isDistinct, onRegister, recomputeDigest, register, registerCorelVariable, setCorelVariable, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SingleTerminator

SingleTerminator(Cluster cluster,
                 Rel child)
Method Detail

deriveRowType

protected Type deriveRowType()
Overrides:
deriveRowType in class SingleRel

computeSelfCost

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

Overrides:
computeSelfCost in class Rel

getConvention

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

Overrides:
getConvention in class Rel

SourceForge.net_Logo