A class to manage all the StreamingQuery StreamingQueries active.
New in version 2.0.0.
This API is evolving.
Register a StreamingQueryListener to receive up-calls for life cycle events of StreamingQuery.
Wait until any of the queries on the associated SparkSession has terminated since the creation of the context, or since resetTerminated() was called.
Returns an active query from this SparkSession.
Deregister a StreamingQueryListener.
Forget about past terminated queries so that awaitAnyTermination() can be used again to wait for new terminations.
Returns a list of active queries associated with this SparkSession