org.eigenbase.relopt.volcano
Class VolcanoPlannerTraitTest.TestSingleRel
java.lang.Object
org.eigenbase.rel.AbstractRelNode
org.eigenbase.rel.SingleRel
org.eigenbase.relopt.volcano.VolcanoPlannerTraitTest.TestSingleRel
- All Implemented Interfaces:
- Cloneable, RelNode
- Direct Known Subclasses:
- VolcanoPlannerTraitTest.IterSingleRel, VolcanoPlannerTraitTest.NoneSingleRel
- Enclosing class:
- VolcanoPlannerTraitTest
private abstract static class VolcanoPlannerTraitTest.TestSingleRel
- extends SingleRel
Methods inherited from class org.eigenbase.rel.AbstractRelNode |
clone, cloneTraits, collectVariablesSet, collectVariablesUsed, computeDigest, 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 |
VolcanoPlannerTraitTest.TestSingleRel
protected VolcanoPlannerTraitTest.TestSingleRel(RelOptCluster cluster,
RelTraitSet traits,
RelNode child)
computeSelfCost
public RelOptCost computeSelfCost(RelOptPlanner planner)
- Description copied from interface:
RelNode
- Returns the cost of this plan (not including children). The base
implementation throws an error; derived classes should override.
NOTE jvs 29-Mar-2006: Don't call this method directly. Instead, use
RelMetadataQuery.getNonCumulativeCost(org.eigenbase.rel.RelNode)
, which gives plugins a
chance to override the rel's default ideas about cost.
- Specified by:
computeSelfCost
in interface RelNode
- Overrides:
computeSelfCost
in class AbstractRelNode
deriveRowType
protected RelDataType deriveRowType()
- Overrides:
deriveRowType
in class SingleRel