saffron.rel
Class OneRow
java.lang.Object
|
+--saffron.rel.Rel
|
+--saffron.rel.OneRow
- Direct Known Subclasses:
- JavaOneRow
- public class OneRow
- extends Rel
OneRow
always returns one row, zero columns.
- Since:
- 23 September, 2001
- Version:
- $Id: //open/saffron/src/main/saffron/rel/OneRow.java#7 $
- Author:
- jhyde
Nested classes inherited from class saffron.rel.Rel |
|
Methods inherited from class saffron.rel.Rel |
childrenAccept, computeDigest, explain, getChildExps, getCluster, getConvention, getCorelVariable, getEnvironment, getId, getInput, getInputs, getOrCreateCorelVariable, getParentEnv, getQualifier, getQuery, getRelTypeName, getRows, getRowType, getTable, getType, getVariablesStopped, implement, implementExp, implementExps, implementFieldAccess, implementSelf, isAccessTo, isDistinct, onRegister, recomputeDigest, registerCorelVariable, replaceInput, setCorelVariable, toString |
OneRow
public OneRow(Cluster cluster)
- Creates an
OneRow
.
- Parameters:
cluster
- Cluster
this relational expression belongs to
clone
public Object clone()
- Specified by:
clone
in class Rel
deriveRowType
protected Type deriveRowType()
- Specified by:
deriveRowType
in class Rel
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
register
public static void register(Planner planner)
- See
Rel.register(saffron.Planner)
.