/AWS1/CL_LM2ALYSSESSIONMETRIC¶
Contains the metric and the summary statistic you want to calculate, and the order in which to sort the results, for the user sessions with the bot.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_name TYPE /AWS1/LM2ALYSSESSIONMETRICNAME /AWS1/LM2ALYSSESSIONMETRICNAME¶
The metric for which you want to get session summary statistics.
Count– The number of sessions.
Success– The number of sessions that succeeded.
Failure– The number of sessions that failed.
Dropped– The number of sessions that the user dropped.
Duration– The duration of sessions.
TurnsPerSession– The number of turns in the sessions.
Concurrency– The number of sessions occurring in the same period of time.
iv_statistic TYPE /AWS1/LM2ALYSMETRICSTATISTIC /AWS1/LM2ALYSMETRICSTATISTIC¶
The summary statistic to calculate.
Sum– The total count for the category you provide inname.
Average– The total count divided by the number of sessions in the category you provide inname.
Max– The highest count in the category you provide inname.
Optional arguments:¶
iv_order TYPE /AWS1/LM2ANALYTICSSORTORDER /AWS1/LM2ANALYTICSSORTORDER¶
Specifies whether to sort the results in ascending or descending order.
Queryable Attributes¶
name¶
The metric for which you want to get session summary statistics.
Count– The number of sessions.
Success– The number of sessions that succeeded.
Failure– The number of sessions that failed.
Dropped– The number of sessions that the user dropped.
Duration– The duration of sessions.
TurnsPerSession– The number of turns in the sessions.
Concurrency– The number of sessions occurring in the same period of time.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_NAME() |
Getter for NAME, with configurable default |
ASK_NAME() |
Getter for NAME w/ exceptions if field has no value |
HAS_NAME() |
Determine if NAME has a value |
statistic¶
The summary statistic to calculate.
Sum– The total count for the category you provide inname.
Average– The total count divided by the number of sessions in the category you provide inname.
Max– The highest count in the category you provide inname.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STATISTIC() |
Getter for STATISTIC, with configurable default |
ASK_STATISTIC() |
Getter for STATISTIC w/ exceptions if field has no value |
HAS_STATISTIC() |
Determine if STATISTIC has a value |
order¶
Specifies whether to sort the results in ascending or descending order.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ORDER() |
Getter for ORDER, with configurable default |
ASK_ORDER() |
Getter for ORDER w/ exceptions if field has no value |
HAS_ORDER() |
Determine if ORDER 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_ANALYTICSSESSIONMETRICS¶
TYPES TT_ANALYTICSSESSIONMETRICS TYPE STANDARD TABLE OF REF TO /AWS1/CL_LM2ALYSSESSIONMETRIC WITH DEFAULT KEY
.