net.sf.saffron.rel
Class OneRowRel
java.lang.Object
|
+--net.sf.saffron.rel.SaffronRel
|
+--net.sf.saffron.rel.OneRowRel
- Direct Known Subclasses:
- IterOneRowRel, JavaOneRowRel
- public class OneRowRel
- extends SaffronRel
OneRowRel
always returns one row, zero columns.
- Since:
- 23 September, 2001
- Version:
- $Id: //open/saffron/src/net/sf/saffron/rel/OneRowRel.java#5 $
- Author:
- jhyde
Methods inherited from class net.sf.saffron.rel.SaffronRel |
childrenAccept, computeDigest, explain, getChildExps, getCluster, getConvention, getCorrelVariable, getId, getInput, getInputs, getOrCreateCorrelVariable, getQualifier, getQuery, getRelTypeName, getRows, getRowType, getTable, getVariablesStopped, implement, implementFieldAccess, isAccessTo, isDistinct, onRegister, recomputeDigest, register, registerCorrelVariable, replaceInput, setCorrelVariable, toString |
OneRowRel
public OneRowRel(VolcanoCluster cluster)
- Creates an
OneRow
.
- Parameters:
cluster
- VolcanoCluster
this relational expression
belongs to
clone
public Object clone()
- Specified by:
clone
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()
- Specified by:
deriveRowType
in class SaffronRel