Query language reference for AWS IoT SiteWise - AWS IoT SiteWise

Query language reference for AWS IoT SiteWise

AWS IoT SiteWise supports a rich query language for working with your data. The available data types, operators, functions and constructs are described in the following topics.

See Example queries to write queries with the AWS IoT SiteWise query language.

Supported data types

AWS IoT SiteWise query language supports the following data types.

View:asset

Data type

Description

STRING

A string of maximum length 1024 bytes.

INTEGER

A signed 32-bit integer with a range from -2,147,483,648 to 2,147,483,647 .

DOUBLE

A floating point number with range from –10^100 to 10^100 and IEEE 754 double precision.

BOOLEAN

true or false.

Note

The double precision data is not exact. Some values are not converted exactly, and will not represent all real numbers due to limited precision. Floating-point data in the query may not be the same value represented internally. The value is rounded if the precision of an input number is too high.