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 SummaryModifier and TypeMethodDescriptionlongFunction to return unique batch id associated with stateful operator.Function to return unique streaming query id associated with stateful operator.getRunId()Function to return unique streaming query run id associated with stateful operator.toString()Function to return string representation of the query info.
- 
Method Details- 
getBatchIdlong getBatchId()Function to return unique batch id associated with stateful operator.- Returns:
- - the unique batch id.
 
- 
getQueryIdUUID getQueryId()Function to return unique streaming query id associated with stateful operator.- Returns:
- - the unique query id.
 
- 
getRunIdUUID getRunId()Function to return unique streaming query run id associated with stateful operator.- Returns:
- - the unique query run id.
 
- 
toStringString toString()Function to return string representation of the query info.
 
-