Package org.apache.calcite.plan.volcano
Class TraitConversionTest.SingletonLeafRel
- java.lang.Object
-
- org.apache.calcite.rel.AbstractRelNode
-
- org.apache.calcite.plan.volcano.PlannerTests.TestLeafRel
-
- org.apache.calcite.plan.volcano.TraitConversionTest.SingletonLeafRel
-
- All Implemented Interfaces:
java.lang.Cloneable
,org.apache.calcite.plan.RelOptNode
,org.apache.calcite.rel.RelNode
- Enclosing class:
- TraitConversionTest
private static class TraitConversionTest.SingletonLeafRel extends PlannerTests.TestLeafRel
Rel with singleton distribution, physical convention.
-
-
Field Summary
-
Fields inherited from class org.apache.calcite.plan.volcano.PlannerTests.TestLeafRel
label
-
-
Constructor Summary
Constructors Constructor Description SingletonLeafRel(org.apache.calcite.plan.RelOptCluster cluster, java.lang.String label)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.calcite.plan.RelOptCost
computeSelfCost(org.apache.calcite.plan.RelOptPlanner planner, org.apache.calcite.rel.metadata.RelMetadataQuery mq)
org.apache.calcite.rel.RelNode
copy(org.apache.calcite.plan.RelTraitSet traitSet, java.util.List<org.apache.calcite.rel.RelNode> inputs)
-
Methods inherited from class org.apache.calcite.plan.volcano.PlannerTests.TestLeafRel
deriveRowType, explainTerms
-
Methods inherited from class org.apache.calcite.rel.AbstractRelNode
accept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, estimateRowCount, explain, getChildExps, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getInputs, getQuery, getRelTypeName, getRows, getRowType, getTable, getTraitSet, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, register, replaceInput, sole, toString
-
-
-
-
Method Detail
-
computeSelfCost
public org.apache.calcite.plan.RelOptCost computeSelfCost(org.apache.calcite.plan.RelOptPlanner planner, org.apache.calcite.rel.metadata.RelMetadataQuery mq)
- Specified by:
computeSelfCost
in interfaceorg.apache.calcite.rel.RelNode
- Overrides:
computeSelfCost
in classPlannerTests.TestLeafRel
-
copy
public org.apache.calcite.rel.RelNode copy(org.apache.calcite.plan.RelTraitSet traitSet, java.util.List<org.apache.calcite.rel.RelNode> inputs)
- Specified by:
copy
in interfaceorg.apache.calcite.rel.RelNode
- Overrides:
copy
in classorg.apache.calcite.rel.AbstractRelNode
-
-