Package org.apache.spark.sql.streaming
Interface QueryInfo
- All Superinterfaces:
Serializable
Represents the query info provided to the stateful processor used in the arbitrary state API v2
to easily identify task retries on the same partition.
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the batch id associated with stateful operatorReturns the streaming query id associated with stateful operatorgetRunId()
Returns the streaming query runId associated with stateful operatortoString()
Returns the string representation of QueryInfo object
-
Method Details
-
getBatchId
long getBatchId()Returns the batch id associated with stateful operator -
getQueryId
UUID getQueryId()Returns the streaming query id associated with stateful operator -
getRunId
UUID getRunId()Returns the streaming query runId associated with stateful operator -
toString
String toString()Returns the string representation of QueryInfo object
-