public class EnumerableCalc extends Calc implements EnumerableRel
Calc
in
enumerable calling convention
.EnumerableRel.Prefer, EnumerableRel.Result
RelNode.Context
digest, id, rowType, traitSet
FILTER_FACTORY, PROJECT_FACTORY
Constructor and Description |
---|
EnumerableCalc(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RexProgram program)
Creates an EnumerableCalc.
|
EnumerableCalc(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RexProgram program,
java.util.List<RelCollation> collationList)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
EnumerableCalc |
copy(RelTraitSet traitSet,
RelNode child,
RexProgram program)
Creates a copy of this
Calc . |
static EnumerableCalc |
create(RelNode input,
RexProgram program)
Creates an EnumerableCalc.
|
RexProgram |
getProgram() |
EnumerableRel.Result |
implement(EnumerableRelImplementor implementor,
EnumerableRel.Prefer pref)
Creates a plan for this expression according to a calling convention.
|
accept, computeSelfCost, copy, copy, estimateRowCount, explainTerms, isValid
childrenAccept, deriveRowType, getInput, getInputs, replaceInput
accept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, explain, getChildExps, 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, 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 EnumerableCalc(RelOptCluster cluster, RelTraitSet traitSet, RelNode input, RexProgram program)
Use create(org.apache.calcite.rel.RelNode, org.apache.calcite.rex.RexProgram)
unless you know what you're doing.
@Deprecated public EnumerableCalc(RelOptCluster cluster, RelTraitSet traitSet, RelNode input, RexProgram program, java.util.List<RelCollation> collationList)
public static EnumerableCalc create(RelNode input, RexProgram program)
public EnumerableCalc copy(RelTraitSet traitSet, RelNode child, RexProgram program)
Calc
Calc
.copy
in class Calc
traitSet
- Traitschild
- Input relationprogram
- Calc programCalc
if any parameter differs from the value of this
Calc
, or just this
if all the parameters are the sameCalc.copy(org.apache.calcite.plan.RelTraitSet, java.util.List)
public EnumerableRel.Result implement(EnumerableRelImplementor implementor, EnumerableRel.Prefer pref)
EnumerableRel
implement
in interface EnumerableRel
implementor
- Implementorpref
- Preferred representation for rows in result expressionpublic RexProgram getProgram()
getProgram
in class Calc
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.