Class EnumerableValues
java.lang.Object
org.apache.calcite.rel.AbstractRelNode
org.apache.calcite.rel.core.Values
org.apache.calcite.adapter.enumerable.EnumerableValues
- All Implemented Interfaces:
Cloneable,EnumerableRel,RelOptNode,Hintable,PhysicalNode,RelNode
Implementation of
Values in
enumerable calling convention.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.calcite.adapter.enumerable.EnumerableRel
EnumerableRel.Prefer, EnumerableRel.ResultNested classes/interfaces inherited from interface org.apache.calcite.rel.RelNode
RelNode.Context -
Field Summary
Fields inherited from class org.apache.calcite.rel.core.Values
hints, IS_EMPTY, IS_EMPTY_J, IS_NOT_EMPTY, tuplesFields inherited from class org.apache.calcite.rel.AbstractRelNode
digest, id, rowType, traitSet -
Method Summary
Modifier and TypeMethodDescriptioncopy(RelTraitSet traitSet, List<RelNode> inputs) Creates a copy of this relational expression, perhaps changing traits and inputs.static EnumerableValuescreate(RelOptCluster cluster, RelDataType rowType, com.google.common.collect.ImmutableList<com.google.common.collect.ImmutableList<RexLiteral>> tuples) Creates an EnumerableValues.Returns mode of derivation.implement(EnumerableRelImplementor implementor, EnumerableRel.Prefer pref) Creates a plan for this expression according to a calling convention.@Nullable RelNodepassThrough(RelTraitSet required) Pass required traitset from parent node to child nodes, returns new node after traits is passed down.Methods inherited from class org.apache.calcite.rel.core.Values
computeSelfCost, deriveRowType, estimateRowCount, explainTerms, getHints, getTuples, getTuples, isEmpty, isNotEmpty, isSingleValueMethods inherited from class org.apache.calcite.rel.AbstractRelNode
accept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, deepEquals, deepHashCode, equals, explain, getCluster, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getInputs, getRelDigest, getRelTypeName, getRowType, getTable, getTraitSet, getVariablesSet, hashCode, isEnforcer, isValid, metadata, onRegister, recomputeDigest, register, replaceInput, sole, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.calcite.adapter.enumerable.EnumerableRel
deriveTraits, passThroughTraitsMethods inherited from interface org.apache.calcite.rel.hint.Hintable
attachHints, withHintsMethods inherited from interface org.apache.calcite.rel.PhysicalNode
derive, deriveMethods inherited from interface org.apache.calcite.rel.RelNode
accept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, deepEquals, deepHashCode, estimateRowCount, explain, explain, fieldIsNullable, getConvention, getCorrelVariable, getDigest, getExpectedInputRowType, getInput, getInputs, getRelDigest, getRelTypeName, getRowType, getTable, getVariablesSet, isEnforcer, isValid, metadata, onRegister, recomputeDigest, register, replaceInput, strippedMethods inherited from interface org.apache.calcite.plan.RelOptNode
getCluster, getDescription, getId, getTraitSet
-
Method Details
-
create
public static EnumerableValues create(RelOptCluster cluster, RelDataType rowType, com.google.common.collect.ImmutableList<com.google.common.collect.ImmutableList<RexLiteral>> tuples) Creates an EnumerableValues. -
copy
Description copied from interface:RelNodeCreates a copy of this relational expression, perhaps changing traits and inputs.Sub-classes with other important attributes are encouraged to create variants of this method with more parameters.
- Specified by:
copyin interfaceRelNode- Overrides:
copyin classAbstractRelNode- Parameters:
traitSet- Trait setinputs- Inputs- Returns:
- Copy of this relational expression, substituting traits and inputs
-
passThrough
Description copied from interface:PhysicalNodePass required traitset from parent node to child nodes, returns new node after traits is passed down.- Specified by:
passThroughin interfacePhysicalNode
-
getDeriveMode
Description copied from interface:PhysicalNodeReturns mode of derivation.- Specified by:
getDeriveModein interfaceEnumerableRel- Specified by:
getDeriveModein interfacePhysicalNode
-
implement
public EnumerableRel.Result implement(EnumerableRelImplementor implementor, EnumerableRel.Prefer pref) Description copied from interface:EnumerableRelCreates a plan for this expression according to a calling convention.- Specified by:
implementin interfaceEnumerableRel- Parameters:
implementor- Implementorpref- Preferred representation for rows in result expression- Returns:
- Plan for this expression according to a calling convention
-