Class FlowAnalysis
Object
org.apache.spark.sql.pipelines.graph.FlowAnalysis
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FlowFunction
createFlowFunctionFromLogicalPlan
(org.apache.spark.sql.catalyst.plans.logical.LogicalPlan plan) Creates aFlowFunction
that attempts to analyze the provided LogicalPlan using the existing resolved inputs.
-
Constructor Details
-
FlowAnalysis
public FlowAnalysis()
-
-
Method Details
-
createFlowFunctionFromLogicalPlan
public static FlowFunction createFlowFunctionFromLogicalPlan(org.apache.spark.sql.catalyst.plans.logical.LogicalPlan plan) Creates aFlowFunction
that attempts to analyze the provided LogicalPlan using the existing resolved inputs. - If all upstream inputs have been resolved, then analysis succeeds and the function returns aFlowFunctionResult
containing the dataframe. - If any upstream inputs are unresolved, then the function throws an exception.- Parameters:
plan
- The user-supplied LogicalPlan defining a flow.- Returns:
- A FlowFunction that attempts to analyze the provided LogicalPlan.
-