Class StreamingTableWrite
Object
org.apache.spark.sql.pipelines.graph.StreamingTableWrite
- All Implemented Interfaces:
org.apache.spark.internal.Logging,FlowExecution,StreamingFlowExecution
A `StreamingFlowExecution` that writes a streaming `DataFrame` to a `Table`.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.spark.internal.Logging
org.apache.spark.internal.Logging.LogStringContext, org.apache.spark.internal.Logging.SparkShellLoggingFilter -
Constructor Summary
ConstructorsConstructorDescriptionStreamingTableWrite(org.apache.spark.sql.catalyst.TableIdentifier identifier, ResolvedFlow flow, DataflowGraph graph, PipelineUpdateContext updateContext, String checkpointPath, Trigger trigger, Table destination, scala.collection.immutable.Map<String, String> sqlConf) -
Method Summary
Modifier and TypeMethodDescriptionStructured Streaming checkpoint.The destination that this `FlowExecution` is writing to.scala.concurrent.ExecutionContextThe thread execution context for the current `FlowExecution`.flow()The `ResolvedFlow` that this `StreamingFlowExecution` is executing.Origin to use when recording events for this flow.graph()org.apache.spark.sql.catalyst.TableIdentifierIdentifier of this physical flowsqlConf()Spark confs that must be set when starting this flow.Starts a stream and returns its streaming query.trigger()Structured Streaming trigger.Context about this pipeline update.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.spark.sql.pipelines.graph.FlowExecution
displayName, exception, executeAsync, getFuture, isCompleted, spark, stopMethods inherited from interface org.apache.spark.internal.Logging
initializeForcefully, initializeLogIfNecessary, initializeLogIfNecessary, initializeLogIfNecessary$default$2, isTraceEnabled, log, logBasedOnLevel, logDebug, logDebug, logDebug, logDebug, logError, logError, logError, logError, logInfo, logInfo, logInfo, logInfo, logName, LogStringContext, logTrace, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, logWarning, org$apache$spark$internal$Logging$$log_, org$apache$spark$internal$Logging$$log__$eq, withLogContextMethods inherited from interface org.apache.spark.sql.pipelines.graph.StreamingFlowExecution
executeInternal, isStreaming
-
Constructor Details
-
StreamingTableWrite
public StreamingTableWrite(org.apache.spark.sql.catalyst.TableIdentifier identifier, ResolvedFlow flow, DataflowGraph graph, PipelineUpdateContext updateContext, String checkpointPath, Trigger trigger, Table destination, scala.collection.immutable.Map<String, String> sqlConf)
-
-
Method Details
-
checkpointPath
Description copied from interface:StreamingFlowExecutionStructured Streaming checkpoint.- Specified by:
checkpointPathin interfaceStreamingFlowExecution
-
destination
Description copied from interface:FlowExecutionThe destination that this `FlowExecution` is writing to.- Specified by:
destinationin interfaceFlowExecution
-
executionContext
public scala.concurrent.ExecutionContext executionContext()Description copied from interface:FlowExecutionThe thread execution context for the current `FlowExecution`.- Specified by:
executionContextin interfaceFlowExecution
-
flow
Description copied from interface:StreamingFlowExecutionThe `ResolvedFlow` that this `StreamingFlowExecution` is executing.- Specified by:
flowin interfaceStreamingFlowExecution
-
getOrigin
Description copied from interface:FlowExecutionOrigin to use when recording events for this flow.- Specified by:
getOriginin interfaceFlowExecution- Returns:
- (undocumented)
-
graph
-
identifier
public org.apache.spark.sql.catalyst.TableIdentifier identifier()Description copied from interface:FlowExecutionIdentifier of this physical flow- Specified by:
identifierin interfaceFlowExecution
-
sqlConf
Description copied from interface:StreamingFlowExecutionSpark confs that must be set when starting this flow.- Specified by:
sqlConfin interfaceStreamingFlowExecution
-
startStream
Description copied from interface:StreamingFlowExecutionStarts a stream and returns its streaming query.- Specified by:
startStreamin interfaceStreamingFlowExecution
-
trigger
Description copied from interface:StreamingFlowExecutionStructured Streaming trigger.- Specified by:
triggerin interfaceStreamingFlowExecution
-
updateContext
Description copied from interface:FlowExecutionContext about this pipeline update.- Specified by:
updateContextin interfaceFlowExecution
-