Class PlannerTests.PhysLeafRel

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

    static class PlannerTests.PhysLeafRel
    extends PlannerTests.TestLeafRel
    Relational expression with zero inputs and convention PHYS.
    • Nested Class Summary

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

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

      Fields 
      Modifier and Type Field Description
      (package private) org.apache.calcite.plan.Convention convention  
      • Fields inherited from class org.apache.calcite.rel.AbstractRelNode

        digest, id, rowType, traitSet
    • Constructor Summary

      Constructors 
      Constructor Description
      PhysLeafRel​(org.apache.calcite.plan.RelOptCluster cluster, java.lang.String label)  
      PhysLeafRel​(org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.plan.Convention convention, java.lang.String label)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.calcite.plan.RelOptCost computeSelfCost​(org.apache.calcite.plan.RelOptPlanner planner, org.apache.calcite.rel.metadata.RelMetadataQuery mq)  
      org.apache.calcite.rel.RelNode copy​(org.apache.calcite.plan.RelTraitSet traitSet, java.util.List<org.apache.calcite.rel.RelNode> inputs)  
      • Methods inherited from class org.apache.calcite.rel.AbstractRelNode

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

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

      • convention

        org.apache.calcite.plan.Convention convention
    • Constructor Detail

      • PhysLeafRel

        PhysLeafRel​(org.apache.calcite.plan.RelOptCluster cluster,
                    java.lang.String label)
      • PhysLeafRel

        PhysLeafRel​(org.apache.calcite.plan.RelOptCluster cluster,
                    org.apache.calcite.plan.Convention convention,
                    java.lang.String label)
    • Method Detail

      • computeSelfCost

        public org.apache.calcite.plan.RelOptCost computeSelfCost​(org.apache.calcite.plan.RelOptPlanner planner,
                                                                  org.apache.calcite.rel.metadata.RelMetadataQuery mq)
        Specified by:
        computeSelfCost in interface org.apache.calcite.rel.RelNode
        Overrides:
        computeSelfCost in class PlannerTests.TestLeafRel
      • copy

        public org.apache.calcite.rel.RelNode copy​(org.apache.calcite.plan.RelTraitSet traitSet,
                                                   java.util.List<org.apache.calcite.rel.RelNode> inputs)
        Specified by:
        copy in interface org.apache.calcite.rel.RelNode
        Overrides:
        copy in class org.apache.calcite.rel.AbstractRelNode