public interface EnumerableRel extends PhysicalNode
EnumerableConvention calling
conventions.| Modifier and Type | Interface and Description |
|---|---|
static class |
EnumerableRel.Prefer
Preferred physical type.
|
static class |
EnumerableRel.Result
Result of implementing an enumerable relational expression by generating
Java code.
|
RelNode.Context| Modifier and Type | Method and Description |
|---|---|
default @Nullable Pair<RelTraitSet,List<RelTraitSet>> |
deriveTraits(RelTraitSet childTraits,
int childId)
Derive traitset from child node, returns a pair of traits after
traits derivation.
|
default DeriveMode |
getDeriveMode()
Returns mode of derivation.
|
EnumerableRel.Result |
implement(EnumerableRelImplementor implementor,
EnumerableRel.Prefer pref)
Creates a plan for this expression according to a calling convention.
|
default @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.
|
derive, 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, getTraitSetdefault @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 PhysicalNodedefault @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 PhysicalNodedefault DeriveMode getDeriveMode()
PhysicalNodegetDeriveMode in interface PhysicalNodeEnumerableRel.Result implement(EnumerableRelImplementor implementor, EnumerableRel.Prefer pref)
implementor - Implementorpref - Preferred representation for rows in result expressionCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.