public class EnumerableCalc extends Calc implements EnumerableRel
Calc in
enumerable calling convention.EnumerableRel.Prefer, EnumerableRel.ResultRelNode.Contextdigest, id, rowType, traitSet| Constructor and Description |
|---|
EnumerableCalc(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RexProgram program)
Creates an EnumerableCalc.
|
EnumerableCalc(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RexProgram program,
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.
|
@Nullable Pair<RelTraitSet,List<RelTraitSet>> |
deriveTraits(RelTraitSet childTraits,
int childId)
Derive traitset from child node, returns a pair of traits after
traits derivation.
|
RexProgram |
getProgram() |
EnumerableRel.Result |
implement(EnumerableRelImplementor implementor,
EnumerableRel.Prefer pref)
Creates a plan for this expression according to a calling convention.
|
@Nullable Pair<RelTraitSet,List<RelTraitSet>> |
passThroughTraits(RelTraitSet required)
Pass required traitset from parent node to child nodes,
returns a pair of traits after traits is passed down.
|
accept, computeSelfCost, containsOver, copy, copy, estimateRowCount, explainTerms, getHints, isValidchildrenAccept, deriveRowType, getInput, getInputs, replaceInputaccept, collectVariablesSet, collectVariablesUsed, deepEquals, deepHashCode, equals, explain, getCluster, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getRelDigest, getRelTypeName, getRowType, getTable, getTraitSet, getVariablesSet, hashCode, isEnforcer, metadata, onRegister, recomputeDigest, register, sole, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDeriveModederive, derive, passThroughaccept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, copy, deepEquals, deepHashCode, estimateRowCount, explain, explain, fieldIsNullable, getConvention, getCorrelVariable, getDigest, getExpectedInputRowType, getInput, getInputs, getRelDigest, getRelTypeName, getRowType, getTable, getVariablesSet, isEnforcer, isValid, metadata, onRegister, recomputeDigest, register, replaceInputgetCluster, getDescription, getId, getTraitSetattachHints, withHintspublic 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, List<RelCollation> collationList)
public static EnumerableCalc create(RelNode input, RexProgram program)
public EnumerableCalc copy(RelTraitSet traitSet, RelNode child, RexProgram program)
CalcCalc.copy in class CalctraitSet - 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)
EnumerableRelimplement in interface EnumerableRelimplementor - Implementorpref - Preferred representation for rows in result expressionpublic @Nullable Pair<RelTraitSet,List<RelTraitSet>> passThroughTraits(RelTraitSet required)
PhysicalNodePair.left: the new traitset
Pair.right: the list of required traitsets for child nodes
passThroughTraits in interface EnumerableRelpassThroughTraits in interface PhysicalNodepublic @Nullable Pair<RelTraitSet,List<RelTraitSet>> deriveTraits(RelTraitSet childTraits, int childId)
PhysicalNodePair.left: the new traitset
Pair.right: the list of required traitsets for child nodes
deriveTraits in interface EnumerableRelderiveTraits in interface PhysicalNodepublic RexProgram getProgram()
getProgram in class CalcCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.