Skip to content

/AWS1/CL_IOT=>GETBUCKETSAGGREGATION()

About GetBucketsAggregation

Aggregates on indexed data with search queries pertaining to particular fields.

Requires permission to access the GetBucketsAggregation action.

Method Signature

IMPORTING

Required arguments:

IV_QUERYSTRING TYPE /AWS1/IOTQUERYSTRING /AWS1/IOTQUERYSTRING

The search query string.

IV_AGGREGATIONFIELD TYPE /AWS1/IOTAGGREGATIONFIELD /AWS1/IOTAGGREGATIONFIELD

The aggregation field.

IO_BUCKETSAGGREGATIONTYPE TYPE REF TO /AWS1/CL_IOTBUCKETSAGGRTYPE /AWS1/CL_IOTBUCKETSAGGRTYPE

The basic control of the response shape and the bucket aggregation type to perform.

Optional arguments:

IV_INDEXNAME TYPE /AWS1/IOTINDEXNAME /AWS1/IOTINDEXNAME

The name of the index to search.

IV_QUERYVERSION TYPE /AWS1/IOTQUERYVERSION /AWS1/IOTQUERYVERSION

The version of the query.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_IOTGETBUCKETSAGGRRSP /AWS1/CL_IOTGETBUCKETSAGGRRSP