Class TraitPropagationTest


  • public class TraitPropagationTest
    extends java.lang.Object
    Tests that determine whether trait propagation work in Volcano Planner.
    • Field Detail

      • PHYSICAL

        static final org.apache.calcite.plan.Convention PHYSICAL
      • COLLATION

        static final org.apache.calcite.rel.RelCollation COLLATION
      • RULES

        static final org.apache.calcite.tools.RuleSet RULES
    • Constructor Detail

      • TraitPropagationTest

        public TraitPropagationTest()
    • 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