A handle to a query that is executing continuously in the background as new data arrives. All these methods are thread-safe.
This API is evolving.
Waits for the termination of this query, either by
query.stop()or by an exception.
Prints the (logical and physical) plans to the console for debugging purpose.
Blocks until all available data in the source has been processed and committed to the sink.
Stop this streaming query.
Returns the unique id of this query that persists across restarts from checkpoint data.
Whether this streaming query is currently active or not.
Returns the most recent
StreamingQueryProgressupdate of this streaming query or None if there were no progress updates
Returns the user-specified name of the query, or null if not specified.
Returns an array of the most recent [[StreamingQueryProgress]] updates for this query.
Returns the unique id of this query that does not persist across restarts.
Returns the current status of the query.