Interface EnumerableRel
- All Superinterfaces:
Cloneable
,PhysicalNode
,RelNode
,RelOptNode
- All Known Implementing Classes:
CassandraToEnumerableConverter
,CsvTableScan
,CsvTableScan
,ElasticsearchToEnumerableConverter
,EnumerableAggregate
,EnumerableAsofJoin
,EnumerableBatchNestedLoopJoin
,EnumerableCalc
,EnumerableCollect
,EnumerableCorrelate
,EnumerableFilter
,EnumerableHashJoin
,EnumerableInterpreter
,EnumerableIntersect
,EnumerableLimit
,EnumerableLimitSort
,EnumerableMatch
,EnumerableMergeJoin
,EnumerableMergeUnion
,EnumerableMinus
,EnumerableNestedLoopJoin
,EnumerableProject
,EnumerableRepeatUnion
,EnumerableSort
,EnumerableSortedAggregate
,EnumerableTableFunctionScan
,EnumerableTableModify
,EnumerableTableScan
,EnumerableTableSpool
,EnumerableUncollect
,EnumerableUnion
,EnumerableValues
,EnumerableWindow
,GeodeToEnumerableConverter
,InnodbToEnumerableConverter
,JdbcToEnumerableConverter
,MongoToEnumerableConverter
,PigToEnumerableConverter
,SparkToEnumerableConverter
,SplunkTableScan
A relational expression of one of the
EnumerableConvention
calling
conventions.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Preferred physical type.static class
Result of implementing an enumerable relational expression by generating Java code.Nested classes/interfaces inherited from interface org.apache.calcite.rel.RelNode
RelNode.Context
-
Method Summary
Modifier and TypeMethodDescriptiondefault @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
Returns mode of derivation.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.Methods inherited from interface org.apache.calcite.rel.PhysicalNode
derive, derive, passThrough
Methods inherited from interface org.apache.calcite.rel.RelNode
accept, 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, replaceInput, stripped
Methods inherited from interface org.apache.calcite.plan.RelOptNode
getCluster, getDescription, getId, getTraitSet
-
Method Details
-
passThroughTraits
Description copied from interface:PhysicalNode
Pass required traitset from parent node to child nodes, returns a pair of traits after traits is passed down.Pair.left: the new traitset; Pair.right: the list of required traitsets for child nodes.
- Specified by:
passThroughTraits
in interfacePhysicalNode
-
deriveTraits
default @Nullable Pair<RelTraitSet,List<RelTraitSet>> deriveTraits(RelTraitSet childTraits, int childId) Description copied from interface:PhysicalNode
Derive traitset from child node, returns a pair of traits after traits derivation.Pair.left: the new traitset; Pair.right: the list of required traitsets for child nodes.
- Specified by:
deriveTraits
in interfacePhysicalNode
-
getDeriveMode
Description copied from interface:PhysicalNode
Returns mode of derivation.- Specified by:
getDeriveMode
in interfacePhysicalNode
-
implement
Creates a plan for this expression according to a calling convention.- Parameters:
implementor
- Implementorpref
- Preferred representation for rows in result expression- Returns:
- Plan for this expression according to a calling convention
-