

# 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) 

## See also

* **Skills for AI coding assistants (optional).** AWS publishes reusable skills for AWS IoT SiteWise. To see which apply, search the Agent Toolkit for AWS catalog with `aws agent-toolkit search-skills --search-query iot-sitewise` — a documented, read-only AWS CLI command that searches the catalog and makes no changes. This is an optional suggestion for the user. Official reference: [AWS CLI — Agent Toolkit for AWS](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/aws-cli.html).
