Package org.apache.calcite.tools
Class PlannerTest.MockJdbcTableScan
- java.lang.Object
-
- org.apache.calcite.rel.AbstractRelNode
-
- org.apache.calcite.rel.core.TableScan
-
- org.apache.calcite.tools.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.
-
-
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, explain, getChildExps, getCluster, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getInputs, getQuery, getRelTypeName, getRows, getRowType, getTraitSet, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, replaceInput, sole, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, 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
-
-
-
-
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 interfaceorg.apache.calcite.rel.RelNode
- Overrides:
copy
in classorg.apache.calcite.rel.AbstractRelNode
-
register
public void register(org.apache.calcite.plan.RelOptPlanner planner)
- Specified by:
register
in interfaceorg.apache.calcite.rel.RelNode
- Overrides:
register
in classorg.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 interfaceorg.apache.calcite.adapter.jdbc.JdbcRel
-
-