/AWS1/CL_IOT=>GETPERCENTILES()
¶
About GetPercentiles¶
Groups the aggregated values that match the query into percentile groupings. The default
percentile groupings are: 1,5,25,50,75,95,99, although you can specify your own
when you call GetPercentiles
. This function returns a value for each
percentile group specified (or the default percentile groupings). The percentile group
"1" contains the aggregated field value that occurs in approximately one percent of the
values that match the query. The percentile group "5" contains the aggregated field value
that occurs in approximately five percent of the values that match the query, and so on.
The result is an approximation, the more values that match the query, the more accurate
the percentile values.
Requires permission to access the GetPercentiles action.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_QUERYSTRING
TYPE /AWS1/IOTQUERYSTRING
/AWS1/IOTQUERYSTRING
¶
The search query string.
Optional arguments:¶
IV_INDEXNAME
TYPE /AWS1/IOTINDEXNAME
/AWS1/IOTINDEXNAME
¶
The name of the index to search.
IV_AGGREGATIONFIELD
TYPE /AWS1/IOTAGGREGATIONFIELD
/AWS1/IOTAGGREGATIONFIELD
¶
The field to aggregate.
IV_QUERYVERSION
TYPE /AWS1/IOTQUERYVERSION
/AWS1/IOTQUERYVERSION
¶
The query version.
IT_PERCENTS
TYPE /AWS1/CL_IOTPERCENTLIST_W=>TT_PERCENTLIST
TT_PERCENTLIST
¶
The percentile groups returned.