Package org.apache.calcite.plan.volcano
Class TraitPropagationTest
- java.lang.Object
-
- org.apache.calcite.plan.volcano.TraitPropagationTest
-
public class TraitPropagationTest extends java.lang.Object
Tests that determine whether trait propagation work in Volcano Planner.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static interface
TraitPropagationTest.Phys
Market interface for Phys nodesprivate static class
TraitPropagationTest.PhysAgg
Physical Aggregate RelNodeprivate static class
TraitPropagationTest.PhysAggRule
Rule for PhysAggprivate static class
TraitPropagationTest.PhysProj
Physical Project RelNodeprivate static class
TraitPropagationTest.PhysProjRule
Rule for PhysProjprivate static class
TraitPropagationTest.PhysSort
Physical Sort RelNodeprivate static class
TraitPropagationTest.PhysSortRule
Rule for PhysSortprivate static class
TraitPropagationTest.PhysTable
Physical Table RelNodeprivate static class
TraitPropagationTest.PhysTableRule
Rule for PhysTableprivate static class
TraitPropagationTest.PropAction
Materialized anonymous class for simplicity
-
Constructor Summary
Constructors Constructor Description TraitPropagationTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.apache.calcite.plan.RelOptRuleOperand
anyChild(java.lang.Class<? extends org.apache.calcite.rel.RelNode> first)
private static org.apache.calcite.rel.RelNode
run(TraitPropagationTest.PropAction action, org.apache.calcite.tools.RuleSet rules)
void
testOne()
-
-
-
Method Detail
-
testOne
public void testOne() throws java.lang.Exception
- Throws:
java.lang.Exception
-
anyChild
public static org.apache.calcite.plan.RelOptRuleOperand anyChild(java.lang.Class<? extends org.apache.calcite.rel.RelNode> first)
-
run
private static org.apache.calcite.rel.RelNode run(TraitPropagationTest.PropAction action, org.apache.calcite.tools.RuleSet rules) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-