public static class JdbcRules.JdbcProject extends Project implements JdbcRel
Project
in
jdbc calling convention
.Project.Flags
RelNode.Context
digest, id, rowType, traitSet
Constructor and Description |
---|
JdbcProject(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
java.util.List<? extends RexNode> projects,
RelDataType rowType) |
JdbcProject(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
java.util.List<RexNode> projects,
RelDataType rowType,
int flags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
RelOptCost |
computeSelfCost(RelOptPlanner planner,
RelMetadataQuery mq)
Returns the cost of this plan (not including children).
|
JdbcRules.JdbcProject |
copy(RelTraitSet traitSet,
RelNode input,
java.util.List<RexNode> projects,
RelDataType rowType)
Copies a project.
|
SqlImplementor.Result |
implement(JdbcImplementor implementor) |
accept, copy, copy, explainTerms, getChildExps, getFlags, getMapping, getMapping, getNamedProjects, getPartialMapping, getPermutation, getPermutation, getProjects, isBoxed, isMapping, isValid
childrenAccept, deriveRowType, estimateRowCount, getInput, getInputs, replaceInput
accept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, explain, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getQuery, getRelTypeName, getRows, getRowType, getTable, getTraitSet, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, metadata, onRegister, recomputeDigest, register, sole, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, copy, estimateRowCount, explain, getChildExps, getCollationList, getConvention, getCorrelVariable, getExpectedInputRowType, getInput, getInputs, getQuery, getRelTypeName, getRows, getRowType, getTable, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, register, replaceInput
getCluster, getDescription, getDigest, getId, getTraitSet
public JdbcProject(RelOptCluster cluster, RelTraitSet traitSet, RelNode input, java.util.List<? extends RexNode> projects, RelDataType rowType)
@Deprecated public JdbcProject(RelOptCluster cluster, RelTraitSet traitSet, RelNode input, java.util.List<RexNode> projects, RelDataType rowType, int flags)
public JdbcRules.JdbcProject copy(RelTraitSet traitSet, RelNode input, java.util.List<RexNode> projects, RelDataType rowType)
Project
copy
in class Project
traitSet
- Traitsinput
- Inputprojects
- Project expressionsrowType
- Output row typeProject
if any parameter differs from the value of this
Project
, or just this
if all the parameters are
the sameProject.copy(RelTraitSet, List)
public RelOptCost computeSelfCost(RelOptPlanner planner, RelMetadataQuery mq)
RelNode
NOTE jvs 29-Mar-2006: Don't call this method directly. Instead, use
RelMetadataQuery.getNonCumulativeCost(org.apache.calcite.rel.RelNode)
, which gives plugins a
chance to override the rel's default ideas about cost.
computeSelfCost
in interface RelNode
computeSelfCost
in class Project
planner
- Planner for cost calculationmq
- Metadata querypublic SqlImplementor.Result implement(JdbcImplementor implementor)
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.