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: latestOffset The latest offset from this source. 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.
|
String |
latestOffset() |
java.util.Map<String,String> |
metrics() |
long |
numInputRows() |
String |
prettyJson()
The pretty (i.e.
|
double |
processedRowsPerSecond() |
String |
startOffset() |
String |
toString() |
public String description()
public String startOffset()
public String endOffset()
public String latestOffset()
public long numInputRows()
public double inputRowsPerSecond()
public double processedRowsPerSecond()
public java.util.Map<String,String> metrics()
public String json()
public String prettyJson()
public String toString()
toString
in class Object