Class PipelineExecution
Object
org.apache.spark.sql.pipelines.graph.PipelineExecution
Executes a
DataflowGraph
by resolving the graph, materializing datasets, and running the
flows.
param: context The context for this pipeline update.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Validates that the pipeline graph can be successfully resolved and validates it.boolean
void
Starts pipeline execution and waits for it to complete before returning.void
Starts the pipeline execution by initializing the graph and starting the graph execution thread.void
Stops the pipeline execution by stopping the graph execution thread.
-
Constructor Details
-
PipelineExecution
-
-
Method Details
-
dryRunPipeline
public void dryRunPipeline()Validates that the pipeline graph can be successfully resolved and validates it. -
executionStarted
public boolean executionStarted() -
runPipeline
public void runPipeline()Starts pipeline execution and waits for it to complete before returning. -
startPipeline
public void startPipeline()Starts the pipeline execution by initializing the graph and starting the graph execution thread. This function does not block on the completion of the graph execution thread. -
stopPipeline
public void stopPipeline()Stops the pipeline execution by stopping the graph execution thread.
-