/AWS1/CL_WA2BOTSTATISTICS¶
Statistics about a specific bot's traffic to a path, including the bot name, request count, and percentage of traffic.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_botname TYPE /AWS1/WA2FILTERSTRING /AWS1/WA2FILTERSTRING¶
The name of the bot. For example,
gptbotorgooglebot.
iv_requestcount TYPE /AWS1/WA2REQUESTCOUNT /AWS1/WA2REQUESTCOUNT¶
The number of requests from this bot to the associated path within the specified time window.
iv_percentage TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING¶
The percentage of total requests to the associated path that came from this bot.
Queryable Attributes¶
BotName¶
The name of the bot. For example,
gptbotorgooglebot.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_BOTNAME() |
Getter for BOTNAME, with configurable default |
ASK_BOTNAME() |
Getter for BOTNAME w/ exceptions if field has no value |
HAS_BOTNAME() |
Determine if BOTNAME has a value |
RequestCount¶
The number of requests from this bot to the associated path within the specified time window.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_REQUESTCOUNT() |
Getter for REQUESTCOUNT |
Percentage¶
The percentage of total requests to the associated path that came from this bot.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PERCENTAGE() |
Getter for PERCENTAGE |
ASK_PERCENTAGE() |
Getter for PERCENTAGE w/ exceptions if field has no value |
STR_PERCENTAGE() |
String format for PERCENTAGE |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_BOTSTATISTICSLIST¶
TYPES TT_BOTSTATISTICSLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_WA2BOTSTATISTICS WITH DEFAULT KEY
.