org.apache.spark.sql.streaming
Called when there is some status update (ingestion rate updated, etc.)
Called when there is some status update (ingestion rate updated, etc.)
2.0.0
This method is asynchronous. The status in StreamingQuery will always be
latest no matter when this method is called. Therefore, the status of StreamingQuery
may be changed before/when you process the event. E.g., you may find StreamingQuery
is terminated when you are processing QueryProgressEvent
.
Called when a query is started.
Called when a query is started.
2.0.0
This is called synchronously with
DataStreamWriter.start()
,
that is, onQueryStart
will be called on all listeners before
DataStreamWriter.start()
returns the corresponding StreamingQuery. Please
don't block this method as it will block your query.
Called when a query is stopped, with or without error.
Called when a query is stopped, with or without error.
2.0.0
Interface for listening to events related to StreamingQueries.
2.0.0
The methods are not thread-safe as they may be called from different threads.