Class PlannerTest.MockJdbcTableScan

  • All Implemented Interfaces:
    java.lang.Cloneable, org.apache.calcite.adapter.jdbc.JdbcRel, org.apache.calcite.plan.RelOptNode, org.apache.calcite.rel.RelNode
    Enclosing class:
    PlannerTest

    private class PlannerTest.MockJdbcTableScan
    extends org.apache.calcite.rel.core.TableScan
    implements org.apache.calcite.adapter.jdbc.JdbcRel
    Relational expression representing a "mock" scan of a table in a JDBC data source.
    • 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.core.TableScan

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

        digest, id, rowType, traitSet
    • Constructor Summary

      Constructors 
      Constructor Description
      MockJdbcTableScan​(org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.plan.RelOptTable table, org.apache.calcite.adapter.jdbc.JdbcConvention jdbcConvention)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.calcite.rel.RelNode copy​(org.apache.calcite.plan.RelTraitSet traitSet, java.util.List<org.apache.calcite.rel.RelNode> inputs)  
      org.apache.calcite.rel.rel2sql.SqlImplementor.Result implement​(org.apache.calcite.adapter.jdbc.JdbcImplementor implementor)  
      void register​(org.apache.calcite.plan.RelOptPlanner planner)  
      • Methods inherited from class org.apache.calcite.rel.core.TableScan

        accept, computeSelfCost, deriveRowType, estimateRowCount, explainTerms, getCollationList, getTable, identity, identity, project
      • Methods inherited from class org.apache.calcite.rel.AbstractRelNode

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

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.apache.calcite.rel.RelNode

        accept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, computeSelfCost, estimateRowCount, explain, getChildExps, getCollationList, getConvention, getCorrelVariable, getExpectedInputRowType, getInput, getInputs, getQuery, getRelTypeName, getRows, getRowType, getTable, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, replaceInput
      • Methods inherited from interface org.apache.calcite.plan.RelOptNode

        getCluster, getDescription, getDigest, getId, getTraitSet
    • Constructor Detail

      • MockJdbcTableScan

        MockJdbcTableScan​(org.apache.calcite.plan.RelOptCluster cluster,
                          org.apache.calcite.plan.RelOptTable table,
                          org.apache.calcite.adapter.jdbc.JdbcConvention jdbcConvention)
    • Method Detail

      • 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
      • register

        public void register​(org.apache.calcite.plan.RelOptPlanner planner)
        Specified by:
        register in interface org.apache.calcite.rel.RelNode
        Overrides:
        register in class org.apache.calcite.rel.AbstractRelNode
      • implement

        public org.apache.calcite.rel.rel2sql.SqlImplementor.Result implement​(org.apache.calcite.adapter.jdbc.JdbcImplementor implementor)
        Specified by:
        implement in interface org.apache.calcite.adapter.jdbc.JdbcRel