Class PlannerTest.MockJdbcProjectRule

  • Enclosing class:
    PlannerTest

    private class PlannerTest.MockJdbcProjectRule
    extends org.apache.calcite.rel.convert.ConverterRule
    Rule to convert a EnumerableProject to an JdbcRules.JdbcProject.
    • Field Summary

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

        description, operands, relBuilderFactory
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private MockJdbcProjectRule​(org.apache.calcite.adapter.jdbc.JdbcConvention out)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.calcite.rel.RelNode convert​(org.apache.calcite.rel.RelNode rel)  
      • Methods inherited from class org.apache.calcite.rel.convert.ConverterRule

        getInTrait, getOutConvention, getOutTrait, getTraitDef, isGuaranteed, onMatch
      • Methods inherited from class org.apache.calcite.plan.RelOptRule

        any, convert, convert, convertList, convertOperand, convertOperand, equals, equals, getOperand, getOperands, hashCode, matches, none, operand, operand, operand, operand, operand, operandJ, operandJ, some, toString, unordered
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MockJdbcProjectRule

        private MockJdbcProjectRule​(org.apache.calcite.adapter.jdbc.JdbcConvention out)
    • Method Detail

      • convert

        public org.apache.calcite.rel.RelNode convert​(org.apache.calcite.rel.RelNode rel)
        Specified by:
        convert in class org.apache.calcite.rel.convert.ConverterRule