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