SAP ABAP Class CL_ESH_QL_QUERY_LOG_AGGREGATOR (Query Log Analyzer)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-EIM-ESH (Application Component) NetWeaver Enterprise Search
⤷
S_ESH_ENG_QUERY_LOGGING (Package) Query Logging
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_ESH_CM_SUGGESTION_MANAGER | ESH Content Management: Suggestion Manager | 20100414 |
Properties
| Class | CL_ESH_QL_QUERY_LOG_AGGREGATOR | |
| Short Description | Query Log Analyzer | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_ESH_ENG_QUERY_LOGGING | Query Logging |
| Created | 20100414 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_ESH_CM_SUGGESTION_MANAGER | ESH Content Management: Suggestion Manager | 20100414 |
Friends
Class CL_ESH_QL_QUERY_LOG_AGGREGATOR has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | INT4 | 20000 | Aggregator block size | 20100414 | ||
| 2 | Constant | Public | Type reference (TYPE) | TBTCJOB-JOBNAME | 'ESH_QL_AGG_' | Job name prefix | 20100722 | ||
| 3 | Constant | Public | Type reference (TYPE) | ESH_S_CO_LOCKTAB-LOCKARG | 'ESH_QL_AGGREGATION~' | Lock key for tables | 20100414 | ||
| 4 | Constant | Public | Type reference (TYPE) | RSTABLE-TABNAME | 'ESH_QL_AGGREGATION' | Lock header: Query Log Aggregation | 20100414 | ||
| 5 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ESH_QL_LOG_ACCESS_RECORDER | Log access recorder (security standard compliance) | 20100414 | |||
| 6 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ESH_QT_QLOG_PROCESSOR | Evaluate query log queries | 20100414 | |||
| 7 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ESH_QL_QUERY_LOG_ACCESS_API | ESH Query Log Access API | 20100414 | |||
| 8 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ESH_QL_CUST_CONTAINER | Query log customizing container | 20100722 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | ESH_T_CO_LOCKTAB | Lock administration table | 20100414 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | CHAR01 | Aggregation has been started | 20100414 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | CHAR01 | Aggregation start has been set by caller (start timestamp) | 20100414 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | TIMESTAMPL | Aggregation start timestamp | 20100414 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | CHAR01 | Debug mode | 20100726 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | Execute search term aggregator | 20100414 | |
| 2 | Instance method | Private | Method | Search term aggregator: Get next block | 20100414 | |
| 3 | Static method | Protected | Method | Search term aggregator: Is locked | 20100414 | |
| 4 | Instance method | Protected | Method | Lock aggregator | 20100414 | |
| 5 | Instance method | Protected | Method | Unlock aggregator | 20100414 | |
| 6 | Instance method | Protected | Method | Calculate rank value range based on term frequencies | 20100414 | |
| 7 | Static method | Private | Method | Compose job name | 20100722 | |
| 8 | Instance method | Private | Method | Get aggregation metadata | 20100414 | |
| 9 | Instance method | Private | Method | Get aggregation start timestamp | 20100414 | |
| 10 | Static method | Public | Method | Get instance | 20100414 | |
| 11 | Instance method | Public | Method | Get search term statistics | 20100414 | |
| 12 | Static method | Public | Method | Query log aggregator is running | 20100722 | |
| 13 | Static method | Public | Method | Schedule query log aggregation | 20100722 | |
| 14 | Instance method | Public | Method | Set aggregation start point-of-time | 20100414 | |
| 15 | Instance method | Public | Method | Set debug mode | 20100726 |
Events
Class CL_ESH_QL_QUERY_LOG_AGGREGATOR has no event.
Types
Class CL_ESH_QL_QUERY_LOG_AGGREGATOR has no local type.
Method Signatures
Method AGGREGATOR_EXECUTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_AGGREGATED_TERMS | Call by reference | Type reference (TYPE) | ESH_T_CM_SUGGESTIONS | Aggregated Terms | 20100414 | |||
| 2 | IV_AGGREGATION_BLOCKSIZE | Call by reference | Type reference (TYPE) | INT4 | 20000 | Pre-Aggregation Blocksize | 20100414 | ||
| 3 | IV_AGGREGATION_START_TSP | Call by reference | Type reference (TYPE) | TIMESTAMPL | Aggregation Start Timestamp | 20100414 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Log Access Denied - Not Authorized | 20100804 |
Method AGGREGATOR_GET_BLOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_AGGREGATED_TERMS | Call by reference | Type reference (TYPE) | ESH_T_CM_SUGGESTIONS | Aggregated Terms | 20100414 | |||
| 2 | EV_FINISHED | Call by reference | Type reference (TYPE) | CHAR01 | Finished | 20100414 | |||
| 3 | EV_LAST_ENTRY_TSP | Call by reference | Type reference (TYPE) | TIMESTAMPL | Timestamp of last entry in aggregation | 20100414 | |||
| 4 | IV_BLOCKSIZE | Call by reference | Type reference (TYPE) | INT4 | 20000 | Get Data Blocksize (Pre-Aggregation Blocksize) | 20100414 | ||
| 5 | IV_FROM_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMPL | From Timestamp | 20100414 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Log Access Denied - Not Authorized | 20100804 |
Method AGGREGATOR_IS_LOCKED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_IS_LOCKED | Value transfer | Type reference (TYPE) | CHAR01 | Is Locked | 20100414 |
Method AGGREGATOR_IS_LOCKED on class CL_ESH_QL_QUERY_LOG_AGGREGATOR has no exception.
Method AGGREGATOR_LOCK Signature
Method AGGREGATOR_LOCK on class CL_ESH_QL_QUERY_LOG_AGGREGATOR has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Common ESH Engine Exception | 20100414 | ||
| 2 | ESH Locking Exception | 20100414 |
Method AGGREGATOR_UNLOCK Signature
Method AGGREGATOR_UNLOCK on class CL_ESH_QL_QUERY_LOG_AGGREGATOR has no parameter.
Method AGGREGATOR_UNLOCK on class CL_ESH_QL_QUERY_LOG_AGGREGATOR has no exception.
Method CALCULATE_RANK_VALUE_RANGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_RANK_VALUE_RANGE | Call by reference | Type reference (TYPE) | ESH_S_CM_RANK_VALUE_RANGE | Rank Value Normalization Range (Low/Top Values) | 20100414 | |||
| 2 | ET_TERM_STATISTICS | Call by reference | Type reference (TYPE) | ESH_T_CM_TERM_STATISTICS | Term Statistics | 20100414 | |||
| 3 | IT_AGGREGATED_TERMS | Call by reference | Type reference (TYPE) | ESH_T_CM_SUGGESTIONS | Suggested Terms | 20100414 | |||
| 4 | IV_TOPRANK_PERCENTAGE | Call by reference | Type reference (TYPE) | INT4 | 75 | Target rankvalue of most frequent term (0..100) | 20100414 |
Method CALCULATE_RANK_VALUE_RANGE on class CL_ESH_QL_QUERY_LOG_AGGREGATOR has no exception.
Method COMPOSE_JOBNAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_JOBNAME | Value transfer | Type reference (TYPE) | TBTCJOB-JOBNAME | Background job name | 20100722 |
Method COMPOSE_JOBNAME on class CL_ESH_QL_QUERY_LOG_AGGREGATOR has no exception.
Method GET_AGGREGATION_METADATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_AGGREGATION_BLOCKSIZE | Call by reference | Type reference (TYPE) | INT4 | Aggregation Blocksize | 20100414 | |||
| 2 | EV_USE_ODP | Call by reference | Type reference (TYPE) | CHAR01 | Use ODP | 20100414 |
Method GET_AGGREGATION_METADATA on class CL_ESH_QL_QUERY_LOG_AGGREGATOR has no exception.
Method GET_AGGREGATION_START_TSP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_START_TSP | Value transfer | Type reference (TYPE) | TIMESTAMPL | Aggregation start timestamp | 20100414 |
Method GET_AGGREGATION_START_TSP on class CL_ESH_QL_QUERY_LOG_AGGREGATOR has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RR_LOG_AGGREGATOR | Value transfer | Object reference (TYPE REF TO) | CL_ESH_QL_QUERY_LOG_AGGREGATOR | Query Log Aggregator | 20100414 |
Method GET_INSTANCE on class CL_ESH_QL_QUERY_LOG_AGGREGATOR has no exception.
Method GET_SEARCHTERM_STATISTICS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_TERMS | Call by reference | Type reference (TYPE) | ESH_T_QL_SEARCHTERM_STATISTICS | Searchterm Statistics, aggregated per Scope | 20100414 | |||
| 2 | EV_LAST_ENTRY_TSP | Call by reference | Type reference (TYPE) | TIMESTAMPL | Timestamp of last entry in aggregation | 20100414 | |||
| 3 | IT_SCOPE_FILTER | Call by reference | Type reference (TYPE) | ESH_T_FED_SCOPE | Search Scope | 20100414 | |||
| 4 | IV_BLOCKSIZE | Call by reference | Type reference (TYPE) | INT4 | Get Data Blocksize (Pre-Aggregation Blocksize) | 20100414 | |||
| 5 | IV_FROM_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMPL | From Timestamp | 20100414 | |||
| 6 | IV_OCCURRENCE_THRESHOLD | Call by reference | Type reference (TYPE) | INT4 | Restrict List: Only terms occurring more frequently than val | 20100414 | |||
| 7 | IV_SUCCESSF_ONLY | Call by reference | Type reference (TYPE) | CHAR01 | ABAP_TRUE | Restrict List: Successful queries only (min. 1 result item) | 20100414 | ||
| 8 | IV_TERMBASED_ONLY | Call by reference | Type reference (TYPE) | CHAR01 | ABAP_TRUE | Restrict List: Termbased queries only | 20100414 | ||
| 9 | IV_TOP_N | Call by reference | Type reference (TYPE) | INT4 | Restrict List: Only |
20100414 | |||
| 10 | IV_TO_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMPL | To Timestamp | 20100414 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Log Access Denied - Not Authorized | 20100804 |
Method IS_RUNNING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_IS_RUNNING | Value transfer | Type reference (TYPE) | CHAR01 | Query Log Aggregator Is Running | 20100722 |
Method IS_RUNNING on class CL_ESH_QL_QUERY_LOG_AGGREGATOR has no exception.
Method SCHEDULE_AGGREGATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DELAY | Call by reference | Type reference (TYPE) | INT4 | 0 | Delay Time (In Seconds) | 20100730 | ||
| 2 | IV_JOBNAME | Call by reference | Type reference (TYPE) | TBTCJOB-JOBNAME | Job name | 20100722 | |||
| 3 | IV_USERNAME | Call by reference | Type reference (TYPE) | USERNAME | User name | 20100730 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | ESH Query Logging Engine Exception | 20100722 |
Method SET_AGGREGATION_START Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FIXED_START_TSP | Call by reference | Type reference (TYPE) | TIMESTAMPL | Start aggregation at a fixed timestamp | 20100414 | |||
| 2 | IV_GET_FROM_CUSTOMIZING | Call by reference | Type reference (TYPE) | ABAP_BOOL | Get from customizing | 20100722 | |||
| 3 | IV_INTERVAL_DAYS | Call by reference | Type reference (TYPE) | ESH_E_QL_CUST_QL_AGGREG_INTERV | Aggregate over time interval (last |
20100414 | |||
| 4 | IV_UNLIMITED | Call by reference | Type reference (TYPE) | ABAP_BOOL | Aggregate all | 20100414 |
Method SET_AGGREGATION_START on class CL_ESH_QL_QUERY_LOG_AGGREGATOR has no exception.
Method SET_DEBUG_MODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DEBUG | Call by reference | Type reference (TYPE) | CHAR01 | Debug Mode | 20100726 |
Method SET_DEBUG_MODE on class CL_ESH_QL_QUERY_LOG_AGGREGATOR has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 730 |