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 procressed 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 startOffset()
public String endOffset()
public long numInputRows()
public double inputRowsPerSecond()
public double processedRowsPerSecond()
public String json()
public String prettyJson()
public String toString()
toString
in class Object