net.sf.saffron.oj.rel
Class IterConcatenateRel

java.lang.Object
  |
  +--net.sf.saffron.rel.SaffronRel
        |
        +--net.sf.saffron.rel.UnionRel
              |
              +--net.sf.saffron.oj.rel.IterConcatenateRel

public class IterConcatenateRel
extends UnionRel

IterConcatenateRel concatenates several iterators. It is an iterator implementation of UnionRel.


Field Summary
 
Fields inherited from class net.sf.saffron.rel.UnionRel
all, inputs
 
Fields inherited from class net.sf.saffron.rel.SaffronRel
cluster, digest, id, rowType
 
Constructor Summary
IterConcatenateRel(VolcanoCluster cluster, SaffronRel[] inputs)
           
 
Method Summary
 Object clone()
           
 PlanCost computeSelfCost(SaffronPlanner planner)
          Returns the cost of this plan (not including children).
 CallingConvention getConvention()
          Returns a value from CallingConvention.
 Object implement(RelImplementor implementor, int ordinal)
          Create a plan for this expression according to a calling convention.
 
Methods inherited from class net.sf.saffron.rel.UnionRel
deriveRowType, explain, getInputs, getRows, isDistinct, replaceInput
 
Methods inherited from class net.sf.saffron.rel.SaffronRel
childrenAccept, computeDigest, getChildExps, getCluster, getCorrelVariable, getId, getInput, getOrCreateCorrelVariable, getQualifier, getQuery, getRelTypeName, getRowType, getTable, getVariablesStopped, implementFieldAccess, isAccessTo, onRegister, recomputeDigest, register, registerCorrelVariable, setCorrelVariable, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IterConcatenateRel

public IterConcatenateRel(VolcanoCluster cluster,
                          SaffronRel[] inputs)
Method Detail

getConvention

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

Overrides:
getConvention in class SaffronRel

clone

public Object clone()
Overrides:
clone in class UnionRel

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

implement

public Object implement(RelImplementor implementor,
                        int ordinal)
Description copied from class: SaffronRel
Create a plan for this expression according to a calling convention.

Overrides:
implement in class SaffronRel
Parameters:
implementor - implementor
ordinal - indicates our position in the pre-, in- and postfix walk over the tree; ordinal is -1 when called from the parent, and i when called from the ith child.

SourceForge.net_Logo