Share via


DataStreamWriter.Foreach(IForeachWriter) Method

Definition

Sets the output of the streaming query to be processed using the provided writer object. See IForeachWriter for more details on the lifecycle and semantics.

[Microsoft.Spark.Since("2.4.0")]
public Microsoft.Spark.Sql.Streaming.DataStreamWriter Foreach (Microsoft.Spark.Sql.IForeachWriter writer);
[<Microsoft.Spark.Since("2.4.0")>]
member this.Foreach : Microsoft.Spark.Sql.IForeachWriter -> Microsoft.Spark.Sql.Streaming.DataStreamWriter
Public Function Foreach (writer As IForeachWriter) As DataStreamWriter

Parameters

Returns

This DataStreamWriter object

Attributes

Applies to