

# QueryStatistics
<a name="API_QueryStatistics"></a>

Contains statistics about a completed query execution.

## Contents
<a name="API_QueryStatistics_Contents"></a>

 ** bytesScanned **   <a name="iotsitewise-Type-QueryStatistics-bytesScanned"></a>
The total number of bytes scanned during query execution.  
Type: Long  
Required: Yes

 ** executionTimeInMillis **   <a name="iotsitewise-Type-QueryStatistics-executionTimeInMillis"></a>
The total query execution time, in milliseconds.  
Type: Long  
Required: Yes

 ** rowCount **   <a name="iotsitewise-Type-QueryStatistics-rowCount"></a>
The total number of rows returned by the query.  
Type: Long  
Required: Yes

## See Also
<a name="API_QueryStatistics_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/iotsitewise-2019-12-02/QueryStatistics) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/iotsitewise-2019-12-02/QueryStatistics) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/iotsitewise-2019-12-02/QueryStatistics) 