Package org.apache.spark.sql.streaming
Class StreamingQueryListener.QueryIdleEvent
Object
org.apache.spark.sql.streaming.StreamingQueryListener.QueryIdleEvent
- All Implemented Interfaces:
Serializable,SparkListenerEvent,StreamingQueryListener.Event
- Enclosing class:
- StreamingQueryListener
public static class StreamingQueryListener.QueryIdleEvent
extends Object
implements StreamingQueryListener.Event, Serializable
Event representing that query is idle and waiting for new data to process.
param: id
A unique query id that persists across restarts. See StreamingQuery.id().
param: runId
A query id that is unique for every start/restart. See StreamingQuery.runId().
param: timestamp
The timestamp when the latest no-batch trigger happened.
- Since:
- 3.5.0
- See Also:
-
Method Details
-
id
-
runId
-
timestamp
-
json
-