Class RelOptRulesTest.MyProject

  • All Implemented Interfaces:
    java.lang.Cloneable, org.apache.calcite.plan.RelOptNode, org.apache.calcite.rel.RelNode
    Enclosing class:
    RelOptRulesTest

    private static class RelOptRulesTest.MyProject
    extends org.apache.calcite.rel.core.Project
    Custom implementation of Project for use in test case to verify that ProjectMultiJoinMergeRule can be created with any Project and not limited to LogicalProject
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.calcite.rel.core.Project

        org.apache.calcite.rel.core.Project.Flags
      • Nested classes/interfaces inherited from interface org.apache.calcite.rel.RelNode

        org.apache.calcite.rel.RelNode.Context
    • Field Summary

      • Fields inherited from class org.apache.calcite.rel.core.Project

        exps
      • Fields inherited from class org.apache.calcite.rel.SingleRel

        input
      • Fields inherited from class org.apache.calcite.rel.AbstractRelNode

        digest, id, rowType, traitSet
    • Constructor Summary

      Constructors 
      Constructor Description
      MyProject​(org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.plan.RelTraitSet traitSet, org.apache.calcite.rel.RelNode input, java.util.List<? extends org.apache.calcite.rex.RexNode> projects, org.apache.calcite.rel.type.RelDataType rowType)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      RelOptRulesTest.MyProject copy​(org.apache.calcite.plan.RelTraitSet traitSet, org.apache.calcite.rel.RelNode input, java.util.List<org.apache.calcite.rex.RexNode> projects, org.apache.calcite.rel.type.RelDataType rowType)  
      • Methods inherited from class org.apache.calcite.rel.core.Project

        accept, computeSelfCost, copy, copy, explainTerms, getChildExps, getFlags, getMapping, getMapping, getNamedProjects, getPartialMapping, getPermutation, getPermutation, getProjects, isBoxed, isMapping, isValid
      • Methods inherited from class org.apache.calcite.rel.SingleRel

        childrenAccept, deriveRowType, estimateRowCount, getInput, getInputs, replaceInput
      • Methods inherited from class org.apache.calcite.rel.AbstractRelNode

        accept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, equals, explain, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getQuery, getRelTypeName, getRows, getRowType, getTable, getTraitSet, getVariablesSet, getVariablesStopped, hashCode, isDistinct, isKey, isValid, metadata, onRegister, recomputeDigest, register, sole, toString
      • Methods inherited from class java.lang.Object

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

      • MyProject

        MyProject​(org.apache.calcite.plan.RelOptCluster cluster,
                  org.apache.calcite.plan.RelTraitSet traitSet,
                  org.apache.calcite.rel.RelNode input,
                  java.util.List<? extends org.apache.calcite.rex.RexNode> projects,
                  org.apache.calcite.rel.type.RelDataType rowType)
    • Method Detail

      • copy

        public RelOptRulesTest.MyProject copy​(org.apache.calcite.plan.RelTraitSet traitSet,
                                              org.apache.calcite.rel.RelNode input,
                                              java.util.List<org.apache.calcite.rex.RexNode> projects,
                                              org.apache.calcite.rel.type.RelDataType rowType)
        Specified by:
        copy in class org.apache.calcite.rel.core.Project