Class FlowPlanner
Object
org.apache.spark.sql.pipelines.graph.FlowPlanner
Plans execution of
Flows in a DataflowGraph by converting Flows into
'FlowExecution's.
param: graph DataflowGraph to help plan based on relationship to other elements.
param: updateContext PipelineUpdateContext for this pipeline update (shared across flows).
param: triggerFor Function that returns the correct streaming Trigger for the specified
Flow.
-
Constructor Summary
ConstructorsConstructorDescriptionFlowPlanner(DataflowGraph graph, PipelineUpdateContext updateContext, scala.Function1<Flow, Trigger> triggerFor) -
Method Summary
Modifier and TypeMethodDescriptionplan(ResolvedFlow flow) Turns aFlowinto an executableFlowExecution.
-
Constructor Details
-
FlowPlanner
public FlowPlanner(DataflowGraph graph, PipelineUpdateContext updateContext, scala.Function1<Flow, Trigger> triggerFor)
-
-
Method Details
-
plan
Turns aFlowinto an executableFlowExecution.- Parameters:
flow- (undocumented)- Returns:
- (undocumented)
-