Class PlannerTests.TestSingleRel

    • Nested Class Summary

      • 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.SingleRel

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

        digest, id, rowType, traitSet
    • Constructor Summary

      Constructors 
      Constructor Description
      TestSingleRel​(org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.plan.RelTraitSet traits, org.apache.calcite.rel.RelNode input)  
    • 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)  
      protected org.apache.calcite.rel.type.RelDataType deriveRowType()  
      • Methods inherited from class org.apache.calcite.rel.SingleRel

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

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

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

      • TestSingleRel

        TestSingleRel​(org.apache.calcite.plan.RelOptCluster cluster,
                      org.apache.calcite.plan.RelTraitSet traits,
                      org.apache.calcite.rel.RelNode input)
    • 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 org.apache.calcite.rel.AbstractRelNode
      • deriveRowType

        protected org.apache.calcite.rel.type.RelDataType deriveRowType()
        Overrides:
        deriveRowType in class org.apache.calcite.rel.SingleRel