Class CoreDataflowNodeProcessor
Object
org.apache.spark.sql.pipelines.graph.CoreDataflowNodeProcessor
Processor that is responsible for analyzing each flow and sort the nodes in
topological order
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionscala.collection.immutable.Seq<GraphElement>processNode(GraphElement node, scala.collection.immutable.Seq<GraphElement> upstreamNodes) Processes the node of the graph, re-arranging them if they are not topologically sorted.
-
Constructor Details
-
CoreDataflowNodeProcessor
-
-
Method Details
-
processNode
public scala.collection.immutable.Seq<GraphElement> processNode(GraphElement node, scala.collection.immutable.Seq<GraphElement> upstreamNodes) Processes the node of the graph, re-arranging them if they are not topologically sorted. Takes care of resolving the flows and virtualizing tables (i.e. removing tables to ensure resolution is internally consistent) if needed for the nodes.- Parameters:
node- The node to processupstreamNodes- Upstream nodes for the node- Returns:
- The resolved nodes generated by processing this element.
-