public class SourceProgress
extends Object
implements scala.Serializable
StreamingQuery
during a trigger. See StreamingQueryProgress
for more information.
param: description Description of the source. param: startOffset The starting offset for data being read. param: endOffset The ending offset for data being read. param: numInputRows The number of records read from this source. param: inputRowsPerSecond The rate at which data is arriving from this source. param: processedRowsPerSecond The rate at which data from this source is being processed by Spark.
Modifier and Type | Method and Description |
---|---|
String |
description() |
String |
endOffset() |
double |
inputRowsPerSecond() |
String |
json()
The compact JSON representation of this progress.
|
long |
numInputRows() |
String |
prettyJson()
The pretty (i.e.
|
double |
processedRowsPerSecond() |
String |
startOffset() |
String |
toString() |
public String description()
public String endOffset()
public double inputRowsPerSecond()
public String json()
public long numInputRows()
public String prettyJson()
public double processedRowsPerSecond()
public String startOffset()
public String toString()
toString
in class Object