org.eigenbase.rel
Class OneRowRel

java.lang.Object
  extended by org.eigenbase.rel.AbstractRelNode
      extended by org.eigenbase.rel.OneRowRelBase
          extended by org.eigenbase.rel.OneRowRel
All Implemented Interfaces:
Cloneable, RelNode

public final class OneRowRel
extends OneRowRelBase

OneRowRel always returns one row, one column (containing the value 0).

Since:
23 September, 2001
Version:
$Id: //open/dev/farrago/src/org/eigenbase/rel/OneRowRel.java#13 $
Author:
jhyde

Field Summary
 
Fields inherited from class org.eigenbase.rel.AbstractRelNode
digest, id, nextId, rowType, traits
 
Fields inherited from interface org.eigenbase.rel.RelNode
emptyArray
 
Constructor Summary
OneRowRel(RelOptCluster cluster)
          Creates a OneRowRel.
 
Method Summary
 
Methods inherited from class org.eigenbase.rel.OneRowRelBase
clone, computeSelfCost, deriveOneRowType, deriveRowType
 
Methods inherited from class org.eigenbase.rel.AbstractRelNode
childrenAccept, cloneTraits, collectVariablesSet, collectVariablesUsed, computeDigest, explain, getChildExps, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getInputs, getOrCreateCorrelVariable, getQuery, getRelTypeName, getRows, getRowType, getTable, getTraits, getVariablesStopped, inheritTraitsFrom, isAccessTo, isDistinct, isValid, onRegister, recomputeDigest, register, registerCorrelVariable, replaceInput, setCorrelVariable, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OneRowRel

public OneRowRel(RelOptCluster cluster)
Creates a OneRowRel.

Parameters:
cluster - RelOptCluster this relational expression belongs to