net.sf.farrago.fennel.rel
Class FennelSingleRel
java.lang.Object
org.eigenbase.rel.AbstractRelNode
org.eigenbase.rel.SingleRel
net.sf.farrago.fennel.rel.FennelSingleRel
- All Implemented Interfaces:
- Cloneable, FennelRel, RelNode
- Direct Known Subclasses:
- FennelBernoulliSamplingRel, FennelBufferRel, FennelCalcRel, FennelIdxWriteRel, FennelOptionalRel, FennelPullCollectRel, FennelPullUncollectRel, FennelRenameRel, FennelReshapeRel, FennelSortRel, FennelTempIdxSearchRel, FennelWindowRel, FtrsIndexBuilderRel, FtrsIndexSearchRel, LcsIndexBuilderRel, LcsIndexMergeRel, LcsNormalizerRel
public abstract class FennelSingleRel
- extends SingleRel
- implements FennelRel
FennelSingleRel is a FennelRel
corresponding to SingleRel
,
and which only takes a FennelRel as input.
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/fennel/rel/FennelSingleRel.java#1 $
- Author:
- John V. Sichi
Methods inherited from class org.eigenbase.rel.AbstractRelNode |
clone, cloneTraits, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, getChildExps, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getOrCreateCorrelVariable, getQuery, getRelTypeName, getRowType, getTable, getTraits, getVariablesStopped, inheritTraitsFrom, isAccessTo, isDistinct, isValid, onRegister, recomputeDigest, register, registerCorrelVariable, setCorrelVariable, toString |
Methods inherited from interface org.eigenbase.rel.RelNode |
childrenAccept, clone, collectVariablesSet, collectVariablesUsed, computeSelfCost, explain, getChildExps, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getInputs, getOrCreateCorrelVariable, getQuery, getRelTypeName, getRows, getRowType, getTable, getTraits, getVariablesStopped, isAccessTo, isDistinct, isValid, onRegister, recomputeDigest, registerCorrelVariable, replaceInput, setCorrelVariable |
FennelSingleRel
protected FennelSingleRel(RelOptCluster cluster,
RelNode child)
- Creates a new FennelSingleRel object.
- Parameters:
cluster
- RelOptCluster for this relchild
- input rel
FennelSingleRel
protected FennelSingleRel(RelOptCluster cluster,
RelTraitSet traits,
RelNode child)
- Creates a new FennelSingleRel object with specific traits.
- Parameters:
cluster
- RelOptCluster for this reltraits
- traits for this relchild
- input rel
getFarragoTypeFactory
public FarragoTypeFactory getFarragoTypeFactory()
getFennelInput
private FennelRel getFennelInput()
- NOTE: this method is intentionally private because interactions between
FennelRels must be mediated by FarragoRelImplementor.
- Returns:
- this rel's input, which must already have been converted to a
FennelRel
getCollations
public RelFieldCollation[] getCollations()
- Description copied from interface:
FennelRel
TODO: jhyde, 2006/3/28: unify with RelNode.getCollationList()
- Specified by:
getCollations
in interface FennelRel
- Returns:
- the sort order produced by this FennelRel, or an empty array if
the output is not guaranteed to be in any particular order.
implementFennelChild
public Object implementFennelChild(FennelRelImplementor implementor)
- Description copied from interface:
FennelRel
- Visits this relational expression as part of the implementation process.
Fennel relational expressions are implemented in a two-phase process:
first call this method, then call
FennelRel.toStreamDef(net.sf.farrago.query.FennelRelImplementor)
.
- Specified by:
implementFennelChild
in interface FennelRel