SingleSourcePlanNode¶
SingleSourcePlanNode is an extension of the PlanNode abstraction for PlanNodes with a single source (hence the name).
Implementations¶
AggregateNodeFilterNode- FlatMapNode
- OutputNode
PreJoinRepartitionNodeProjectNodeQueryFilterNodeQueryLimitNodeSuppressNodeUserRepartitionNode
Creating Instance¶
SingleSourcePlanNode takes the following to be created:
-
PlanNodeId -
DataSourceType - Source Name
- Source
Abstract Class
SingleSourcePlanNode is an abstract class and cannot be created directly. It is created indirectly for the concrete SingleSourcePlanNodes.
Source PlanNode¶
SingleSourcePlanNode is given a single source PlanNode when created.
getSources¶
List<PlanNode> getSources()
getSources is part of the PlanNode abstraction.
getSources returns the source PlanNode.