/AWS1/CL_PZZMETRICATTRIBUTE¶
Contains information on a metric that a metric attribution reports on. For more information, see Measuring impact of recommendations.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_eventtype TYPE /AWS1/PZZEVENTTYPE /AWS1/PZZEVENTTYPE¶
The metric's event type.
iv_metricname TYPE /AWS1/PZZMETRICNAME /AWS1/PZZMETRICNAME¶
The metric's name. The name helps you identify the metric in Amazon CloudWatch or Amazon S3.
iv_expression TYPE /AWS1/PZZMETRICEXPRESSION /AWS1/PZZMETRICEXPRESSION¶
The attribute's expression. Available functions are
SUM()orSAMPLECOUNT(). For SUM() functions, provide the dataset type (either Interactions or Items) and column to sum as a parameter. For example SUM(Items.PRICE).
Queryable Attributes¶
eventType¶
The metric's event type.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_EVENTTYPE() |
Getter for EVENTTYPE, with configurable default |
ASK_EVENTTYPE() |
Getter for EVENTTYPE w/ exceptions if field has no value |
HAS_EVENTTYPE() |
Determine if EVENTTYPE has a value |
metricName¶
The metric's name. The name helps you identify the metric in Amazon CloudWatch or Amazon S3.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_METRICNAME() |
Getter for METRICNAME, with configurable default |
ASK_METRICNAME() |
Getter for METRICNAME w/ exceptions if field has no value |
HAS_METRICNAME() |
Determine if METRICNAME has a value |
expression¶
The attribute's expression. Available functions are
SUM()orSAMPLECOUNT(). For SUM() functions, provide the dataset type (either Interactions or Items) and column to sum as a parameter. For example SUM(Items.PRICE).
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_EXPRESSION() |
Getter for EXPRESSION, with configurable default |
ASK_EXPRESSION() |
Getter for EXPRESSION w/ exceptions if field has no value |
HAS_EXPRESSION() |
Determine if EXPRESSION has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_METRICATTRIBUTES¶
TYPES TT_METRICATTRIBUTES TYPE STANDARD TABLE OF REF TO /AWS1/CL_PZZMETRICATTRIBUTE WITH DEFAULT KEY
.