class StreamingQueryProgress extends Serializable
Information about progress made in the execution of a StreamingQuery during a trigger. Each event relates to processing done for a single trigger of the streaming query. Events are emitted even when no new data is available to be processed.
- Annotations
- @Evolving()
- Source
- progress.scala
- Since
2.1.0
- Alphabetic
- By Inheritance
- StreamingQueryProgress
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
- val batchDuration: Long
- val batchId: Long
- val durationMs: Map[String, Long]
- val eventTime: Map[String, String]
- val id: UUID
-
def
inputRowsPerSecond: Double
The aggregate (across all sources) rate of data arriving.
-
def
json: String
The compact JSON representation of this progress.
- val name: String
-
def
numInputRows: Long
The aggregate (across all sources) number of records processed in a trigger.
- val observedMetrics: Map[String, Row]
-
def
prettyJson: String
The pretty (i.e.
The pretty (i.e. indented) JSON representation of this progress.
-
def
processedRowsPerSecond: Double
The aggregate (across all sources) rate at which Spark is processing data.
- val runId: UUID
- val sink: SinkProgress
- val sources: Array[SourceProgress]
- val stateOperators: Array[StateOperatorProgress]
- val timestamp: String
-
def
toString(): String
- Definition Classes
- StreamingQueryProgress → AnyRef → Any