Skip to content

/AWS1/CL_IOTGETBUCKETSAGGRRSP

GetBucketsAggregationResponse

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_totalcount TYPE /AWS1/IOTCOUNT /AWS1/IOTCOUNT

The total number of things that fit the query string criteria.

it_buckets TYPE /AWS1/CL_IOTBUCKET=>TT_BUCKETS TT_BUCKETS

The main part of the response with a list of buckets. Each bucket contains a keyValue and a count.

keyValue: The aggregation field value counted for the particular bucket.

count: The number of documents that have that value.


Queryable Attributes

totalCount

The total number of things that fit the query string criteria.

Accessible with the following methods

Method Description
GET_TOTALCOUNT() Getter for TOTALCOUNT

buckets

The main part of the response with a list of buckets. Each bucket contains a keyValue and a count.

keyValue: The aggregation field value counted for the particular bucket.

count: The number of documents that have that value.

Accessible with the following methods

Method Description
GET_BUCKETS() Getter for BUCKETS, with configurable default
ASK_BUCKETS() Getter for BUCKETS w/ exceptions if field has no value
HAS_BUCKETS() Determine if BUCKETS has a value