Class FlowFunctionResult
Object
org.apache.spark.sql.pipelines.graph.FlowFunctionResult
- All Implemented Interfaces:
Serializable
,scala.Equals
,scala.Product
Holds the DataFrame returned by a
FlowFunction
along with the inputs used to
construct it.
param: batchInputs the complete inputs read by the flow
param: streamingInputs the incremental inputs read by the flow
param: usedExternalInputs the identifiers of the external inputs read by the flow
param: dataFrame the DataFrame expression executed by the flow if the flow can be resolved- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFlowFunctionResult
(scala.collection.immutable.Set<org.apache.spark.sql.catalyst.TableIdentifier> requestedInputs, scala.collection.immutable.Set<ResolvedInput> batchInputs, scala.collection.immutable.Set<ResolvedInput> streamingInputs, scala.collection.immutable.Set<org.apache.spark.sql.catalyst.TableIdentifier> usedExternalInputs, scala.util.Try<org.apache.spark.sql.classic.Dataset<Row>> dataFrame, scala.collection.immutable.Map<String, String> sqlConf, scala.collection.immutable.Seq<AnalysisWarning> analysisWarnings) -
Method Summary
Modifier and TypeMethodDescriptionscala.collection.immutable.Seq<AnalysisWarning>
abstract static R
apply
(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7) scala.collection.immutable.Set<ResolvedInput>
scala.util.Try<org.apache.spark.sql.classic.Dataset<Row>>
scala.collection.immutable.Seq<Throwable>
failure()
Returns errors that occurred when attempting to analyze thisFlow
.scala.collection.immutable.Set<org.apache.spark.sql.catalyst.TableIdentifier>
inputs()
scala.collection.immutable.Set<org.apache.spark.sql.catalyst.TableIdentifier>
final boolean
resolved()
Whether thisFlow
is successfully analyzed.sqlConf()
scala.collection.immutable.Set<ResolvedInput>
static String
toString()
scala.collection.immutable.Set<org.apache.spark.sql.catalyst.TableIdentifier>
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
FlowFunctionResult
public FlowFunctionResult(scala.collection.immutable.Set<org.apache.spark.sql.catalyst.TableIdentifier> requestedInputs, scala.collection.immutable.Set<ResolvedInput> batchInputs, scala.collection.immutable.Set<ResolvedInput> streamingInputs, scala.collection.immutable.Set<org.apache.spark.sql.catalyst.TableIdentifier> usedExternalInputs, scala.util.Try<org.apache.spark.sql.classic.Dataset<Row>> dataFrame, scala.collection.immutable.Map<String, String> sqlConf, scala.collection.immutable.Seq<AnalysisWarning> analysisWarnings)
-
-
Method Details
-
apply
public abstract static R apply(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7) -
toString
-
requestedInputs
public scala.collection.immutable.Set<org.apache.spark.sql.catalyst.TableIdentifier> requestedInputs() -
batchInputs
-
streamingInputs
-
usedExternalInputs
public scala.collection.immutable.Set<org.apache.spark.sql.catalyst.TableIdentifier> usedExternalInputs() -
dataFrame
-
sqlConf
-
analysisWarnings
-
inputs
public scala.collection.immutable.Set<org.apache.spark.sql.catalyst.TableIdentifier> inputs()Returns the names of all of theInput
s used when resolving thisFlow
. If the flow failed to resolve, we return the all the datasets that were requested when evaluating the flow.- Returns:
- (undocumented)
-
failure
Returns errors that occurred when attempting to analyze thisFlow
. -
resolved
public final boolean resolved()Whether thisFlow
is successfully analyzed.
-