Class MockRelOptPlanner.MockRuleCall

  • Enclosing class:
    MockRelOptPlanner

    private class MockRelOptPlanner.MockRuleCall
    extends org.apache.calcite.plan.RelOptRuleCall
    Mock call to a planner rule.
    • Field Summary

      • Fields inherited from class org.apache.calcite.plan.RelOptRuleCall

        id, LOGGER, nodeInputs, operand0, rels, rule
    • Constructor Summary

      Constructors 
      Constructor Description
      MockRuleCall​(org.apache.calcite.plan.RelOptPlanner planner, org.apache.calcite.plan.RelOptRuleOperand operand, org.apache.calcite.rel.RelNode[] rels)
      Creates a MockRuleCall.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void transformTo​(org.apache.calcite.rel.RelNode rel, java.util.Map<org.apache.calcite.rel.RelNode,​org.apache.calcite.rel.RelNode> equiv)  
      • Methods inherited from class org.apache.calcite.plan.RelOptRuleCall

        builder, getChildRels, getMetadataQuery, getOperand0, getParents, getPlanner, getRelList, getRels, getRule, rel, setChildRels, transformTo
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MockRuleCall

        MockRuleCall​(org.apache.calcite.plan.RelOptPlanner planner,
                     org.apache.calcite.plan.RelOptRuleOperand operand,
                     org.apache.calcite.rel.RelNode[] rels)
        Creates a MockRuleCall.
        Parameters:
        planner - Planner
        operand - Operand
        rels - List of matched relational expressions
    • Method Detail

      • transformTo

        public void transformTo​(org.apache.calcite.rel.RelNode rel,
                                java.util.Map<org.apache.calcite.rel.RelNode,​org.apache.calcite.rel.RelNode> equiv)
        Specified by:
        transformTo in class org.apache.calcite.plan.RelOptRuleCall