SAP ABAP Class CL_ESH_CO_SEARCH_LOG_READER (OBSOLETE: Reader for Search Request Logs)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-EIM-ESH (Application Component) NetWeaver Enterprise Search
     S_ESH_ENG_QUERY_LOGGING (Package) Query Logging
Properties
Class CL_ESH_CO_SEARCH_LOG_READER  
Short Description OBSOLETE: Reader for Search Request Logs    
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 20080627   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_ESH_CO_SEARCH_LOGGING Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_ESH_CO_SEARCH_LOG_READER has no interface implemented.
Friends
Class CL_ESH_CO_SEARCH_LOG_READER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MT_QLOG Instance attribute Protected Type reference (TYPE) ESH_T_CO_QLOG Search request log 20080707
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor 20080627
2 DESERIALIZE_QUERY Instance method Public Method Deserialize Query XML -> Terms/Select Options 20090717
3 GET_QLOG_CONTENT Instance method Public Method Get content by selection criteria 20080627
4 GET_QLOG_ENTRY Instance method Public Method Get content by ID 20081121
5 GET_QUERY Instance method Public Method Get the query details for QLog entry 20080627
6 GET_SEARCH_TERM_STATISTICS Instance method Public Method Get search term statistics 20090717
7 REEXECUTE_QUERY Instance method Public Method Execute a query again 20080627
8 REORG_QLOG Instance method Public Method Reorganize old entries 20080627
Events
Class CL_ESH_CO_SEARCH_LOG_READER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 LTY_S_STATISTICS Public See coding 20090717 BEGIN OF lty_s_statistics, occurrences TYPE i, search_text TYPE string, complex_query TYPE char01, query TYPE cl_esh_co_search_logging=>lty_t_query_input, scopes TYPE SORTED TABLE OF esh_e_if_search_connector_id WITH UNIQUE KEY table_line, hits_found TYPE char01, END OF lty_s_statistics
2 LTY_T_STATISTICS Public See coding 20090717 lty_t_statistics TYPE TABLE OF lty_s_statistics WITH KEY occurrences search_text
Method Signatures

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_ESH_CO_SEARCH_LOG_READER has no parameter.
Method CONSTRUCTOR on class CL_ESH_CO_SEARCH_LOG_READER has no exception.

Method DESERIALIZE_QUERY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_QUERY Call by reference Type reference (TYPE) CL_ESH_CO_SEARCH_LOGGING=>LTY_T_QUERY_INPUT Query 20090717
2 Importing IV_QUERY_CONTENT_XML Call by reference Type reference (TYPE) STRING Query content in serialized format 20090717

Method DESERIALIZE_QUERY on class CL_ESH_CO_SEARCH_LOG_READER has no exception.

Method GET_QLOG_CONTENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_QLOG Call by reference Object reference (TYPE REF TO) DATA Search Request Log 20080707
2 Importing IV_CONNECTOR_ID Call by reference Type reference (TYPE) ESH_E_IF_SEARCH_CONNECTOR_ID Search Connector ID 20080627
3 Importing IV_EXCEPTIONS_ONLY Call by reference Type reference (TYPE) ESH_E_CO_BOOLEAN Get Logged Exceptions Only 20080627
4 Importing IV_EXEC_MODE Call by reference Type reference (TYPE) ESH_E_CO_EXEC_MODE Execution Type 20081121
5 Importing IV_FROM_TSP Call by reference Type reference (TYPE) TIMESTAMP From 20081121
6 Importing IV_MAX_NO_OF_HITS Value transfer Type reference (TYPE) I Max Number of Hits 20080707
7 Importing IV_TO_TSP Call by reference Type reference (TYPE) TIMESTAMP To 20080627
8 Importing IV_UNAME Call by reference Type reference (TYPE) USERNAME User 20080627

Method GET_QLOG_CONTENT on class CL_ESH_CO_SEARCH_LOG_READER has no exception.

Method GET_QLOG_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_SEARCH_REQUEST_ID Call by reference Type reference (TYPE) ESH_E_CO_REQ_ID Search Request ID 20081121
2 Importing IV_SUBQUERY_ID Call by reference Type reference (TYPE) ESH_E_CO_SUBQ_ID Subquery ID 20081124
3 Returning RT_QLOG Value transfer Type reference (TYPE) ESH_T_CO_QLOG Search Request Log 20081124

Method GET_QLOG_ENTRY on class CL_ESH_CO_SEARCH_LOG_READER has no exception.

Method GET_QUERY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_OUTXML Call by reference Type reference (TYPE) ESH_E_CO_QUERY_CONTENT Query Content 20080627
2 Exporting EV_REPRES Call by reference Type reference (TYPE) ESH_E_CO_QUERY_REPRES Query Representation 20080630
3 Importing IV_HASHKEY Call by reference Type reference (TYPE) ESH_E_CO_QUERY_HKY Query Hashkey 20080627

Method GET_QUERY on class CL_ESH_CO_SEARCH_LOG_READER has no exception.

Method GET_SEARCH_TERM_STATISTICS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_STATISTICS Call by reference Type reference (TYPE) LTY_T_STATISTICS Search Term Statistics 20090717
2 Importing IV_FROM_TSP Call by reference Type reference (TYPE) TIMESTAMP From 20090717
3 Importing IV_TO_TSP Call by reference Type reference (TYPE) TIMESTAMP To 20090717
4 Importing IV_UNAME Call by reference Type reference (TYPE) USERNAME User 20090717

Method GET_SEARCH_TERM_STATISTICS on class CL_ESH_CO_SEARCH_LOG_READER has no exception.

Method REEXECUTE_QUERY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_SEARCH_REQ_ID Call by reference Type reference (TYPE) ESH_E_CO_REQ_ID Search Request ID 20081124
2 Importing IV_SUBQUERY_ID Call by reference Type reference (TYPE) ESH_E_CO_SUBQ_ID Subquery ID 20081124
3 Returning RO_RESPONSES Value transfer Object reference (TYPE REF TO) CL_ESH_IF_SEARCH_RESPONSES Responses 20081124
# Exception Resumable Description Created on
1 CX_ESH_IF_ENGINE ESH Interface Exception 20081124

Method REORG_QLOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_REORG_LIMIT Call by reference Type reference (TYPE) INT4 '30' Only reorganize data older than ... [Days] 20080701

Method REORG_QLOG on class CL_ESH_CO_SEARCH_LOG_READER has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 712