Skip to content

StreamingQueryPage

StreamingQueryPage is a WebUIPage (Spark Core) that renders the following sections as Streaming Query:

Creating Instance

StreamingQueryPage takes the following to be created:

StreamingQueryPage is created when:

Active Streaming Queries

Completed Streaming Queries

Completed Streaming Queries

Column Name Description
Name
Status
ID
Run ID
Start Time
Duration
Avg Input /sec Total of inputRowsPerSeconds of all StreamingQueryProgresses by the number of the StreamingQueryProgresses
Avg Process /sec Total of processedRowsPerSeconds of all StreamingQueryProgresses by the number of the StreamingQueryProgresses
Latest Batch batchId of the last StreamingQueryProgress
Error

Avg Input /sec

Total of inputRowsPerSeconds of all StreamingQueryProgresses by their number

Rendering Page

render(
  request: HttpServletRequest): Seq[Node]

render is part of the WebUIPage (Spark Core) abstraction.


render renders an HTML page with Streaming Query title and generateStreamingQueryTable.

generateStreamingQueryTable

generateStreamingQueryTable(
  request: HttpServletRequest): Seq[Node]

generateStreamingQueryTable requests the StreamingQueryStatusStore for allQueryUIData that is split into active and inactive queries.

generateStreamingQueryTable renders Active Streaming Queries section for the active streaming queries.

generateStreamingQueryTable renders Completed Streaming Queries section for the inactive (completed) streaming queries.