Hierarchy
⤷
⤷
Properties
| Class | CL_ESH_FED_QUERY_TRANSFORMATOR | |
| Short Description | Query Transformator | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_ESH_ENG_FEDERATION | Federation |
| Created | 20090810 | SAP |
| Last change | 20130531 | 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
Class CL_ESH_FED_QUERY_TRANSFORMATOR has no interface implemented.
Friends
Class CL_ESH_FED_QUERY_TRANSFORMATOR has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ESH_QP_CH_PARSER | SearchTerms query parser | 20090810 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ESH_FED_REQUEST_DATA | Search request data | 20090810 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | ESH_T_FED_QUERY_ENTRY | Query | 20090810 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | ESH_T_FED_QUERY_ENTRY | Query | 20090810 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | ESH_T_FED_QUERY_ENTRY | Query | 20090810 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | ESH_T_FED_QUERY_ENTRY | Query | 20090810 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | ESH_T_FED_QUERY_ENTRY | Query | 20090810 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | ESH_T_FED_QUERY_ENTRY | Query | 20090810 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | ESH_T_FED_QUERY_ENTRY | Query | 20100802 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | Do query parsing | 20100823 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | Parse and adapt the scope from the search string | 20110614 | |||
| 12 | Instance attribute | Private | Object reference (TYPE REF TO) | CX_ESH_IF_ENGINE | ESH interface exception | 20090810 |
Methods
Events
Class CL_ESH_FED_QUERY_TRANSFORMATOR has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | S_PROCESS_LIST | Private | See coding | 20100217 | BEGIN OF s_process_list,
id TYPE int4,
obj TYPE REF TO cl_esh_if_query_part,
END OF s_process_list
|
||
| 2 | S_VISITED_PART | Private | See coding | 20100217 | BEGIN OF s_visited_part,
id TYPE int4,
query TYPE esh_t_fed_query_entry,
done TYPE abap_bool,
END OF s_visited_part
|
||
| 3 | T_PROCESS_LIST | Private | See coding | 20100217 | t_process_list TYPE TABLE OF s_process_list
|
||
| 4 | T_VISITED_PART | Private | See coding | 20100217 | t_visited_part TYPE SORTED TABLE OF s_visited_part WITH UNIQUE KEY id
|
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PARSE_SCOPE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Parse scope from search string | 20110614 | ||
| 2 | IV_WITH_QUERY_PARSING | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Do Query Parsing | 20100823 |
Method CONSTRUCTOR on class CL_ESH_FED_QUERY_TRANSFORMATOR has no exception.
Method CONVERT_ATTRIBUTE_CONDITIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_QUERY_ENTRIES | Call by reference | Type reference (TYPE) | ESH_T_FED_QUERY_ENTRY | Query | 20090814 | |||
| 2 | IT_ATTRIBUTE_CONDITIONS | Call by reference | Type reference (TYPE) | ESH_T_FED_ATTR_CONDITION | Attribute conditions for search | 20090814 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | ESH Interface Exception | 20090814 |
Method CONVERT_COMPLEX_ATTR_CONDITION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_QUERY_ENTRIES | Call by reference | Type reference (TYPE) | ESH_T_FED_QUERY_ENTRY | Query | 20090810 | |||
| 2 | IS_ATTR_CONDITION | Call by reference | Type reference (TYPE) | ESH_S_FED_ATTR_CONDITION | Attribute condition for search | 20090810 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | ESH Interface Exception | 20090810 |
Method CONVERT_SEARCH_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_QUERY_ENTRY | Call by reference | Type reference (TYPE) | ESH_T_FED_QUERY_ENTRY | Query Entries | 20100407 | |||
| 2 | ET_QUERY_ENTRY_FREESTYLE | Call by reference | Type reference (TYPE) | ESH_T_FED_QUERY_ENTRY | Query Entries | 20100407 | |||
| 3 | IV_SEARCH_STRING | Call by reference | Type reference (TYPE) | STRING | Search string | 20100407 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | ESH Interface Exception | 20100407 |
Method FINALIZE_INTERNAL_QUERY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_COLLECTION_FOUND | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100122 | ||||
| 2 | IV_NUMBER_OF_COND_PARTS | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20100831 |
Method FINALIZE_INTERNAL_QUERY on class CL_ESH_FED_QUERY_TRANSFORMATOR has no exception.
Method GET_IQ_COMPLEX_ATTR_CONDITION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_QUERY_ENTRY | Value transfer | Type reference (TYPE) | ESH_T_FED_QUERY_ENTRY | Query Entries | 20090810 | |||
| 2 | IS_SELECT_OPTION | Call by reference | Type reference (TYPE) | ESH_S_IF_SELECT_OPTIONS | Structure for select options | 20090810 | |||
| 3 | IV_ATTRIBUTE_NAME | Call by reference | Type reference (TYPE) | ESH_E_IF_ATTRIBUTE_NAME | Attribute Name | 20090810 | |||
| 4 | IV_CONTENT_TYPE | Call by reference | Type reference (TYPE) | ESH_E_IF_CONTENT_TYPE | Content Type | 20110420 | |||
| 5 | IV_FUZZY_SIMILARITY | Call by reference | Type reference (TYPE) | ESH_E_FED_FUZZY_SIMILARITY | Fuzzy Similarity 0..10000 | 20131205 | |||
| 6 | IV_SEARCH_MODE | Call by reference | Type reference (TYPE) | ESH_E_IF_SEARCH_MODE | Search Mode | 20110420 | |||
| 7 | IV_SEARCH_OPTIONS | Call by reference | Type reference (TYPE) | ESH_E_FED_SEARCH_OPTIONS | Search Options | 20131205 |
Method GET_IQ_COMPLEX_ATTR_CONDITION on class CL_ESH_FED_QUERY_TRANSFORMATOR has no exception.
Method GET_IQ_LEFT_BRACKET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_QUERY_ENTRY | Value transfer | Type reference (TYPE) | ESH_S_FED_QUERY_ENTRY | Query Entry | 20090810 | |||
| 2 | IV_QUERY_PART | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20100113 |
Method GET_IQ_LEFT_BRACKET on class CL_ESH_FED_QUERY_TRANSFORMATOR has no exception.
Method GET_IQ_OPERATOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_QUERY_ENTRY | Value transfer | Type reference (TYPE) | ESH_S_FED_QUERY_ENTRY | Query Entry | 20090810 | |||
| 2 | IV_OPERATOR | Call by reference | Type reference (TYPE) | STRING | Operator (AND, OR) | 20090810 | |||
| 3 | IV_QUERY_PART | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20100113 |
Method GET_IQ_OPERATOR on class CL_ESH_FED_QUERY_TRANSFORMATOR has no exception.
Method GET_IQ_PARSED_ATTR_CONDITION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_QUERY | Call by reference | Type reference (TYPE) | ESH_T_FED_QUERY_ENTRY | Query | 20090810 | |||
| 2 | IS_QUERY_ENTRY | Call by reference | Type reference (TYPE) | ESH_S_FED_QUERY_ENTRY | Query Entry | 20090810 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | ESH Interface Exception | 20090810 |
Method GET_IQ_PARSED_SEARCH_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_QUERY_ENTRY | Call by reference | Type reference (TYPE) | ESH_T_FED_QUERY_ENTRY | Query Entries | 20090810 | |||
| 2 | ET_QUERY_ENTRY_FREESTYLE | Call by reference | Type reference (TYPE) | ESH_T_FED_QUERY_ENTRY | Query Entries | 20090810 | |||
| 3 | IV_SEARCH_STRING | Call by reference | Type reference (TYPE) | STRING | Search string | 20090810 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | ESH Interface Exception | 20090810 |
Method GET_IQ_RIGHT_BRACKET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_QUERY_ENTRY | Value transfer | Type reference (TYPE) | ESH_S_FED_QUERY_ENTRY | Query Entry | 20090810 | |||
| 2 | IV_QUERY_PART | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20100113 |
Method GET_IQ_RIGHT_BRACKET on class CL_ESH_FED_QUERY_TRANSFORMATOR has no exception.
Method GET_IQ_SEARCH_TEXT_ENTRY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_QUERY_ENTRY | Value transfer | Type reference (TYPE) | ESH_S_FED_QUERY_ENTRY | Query Entry | 20090810 | |||
| 2 | IV_FOR_FREESTYLE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20090810 | ||||
| 3 | IV_SEARCH_MODE | Call by reference | Type reference (TYPE) | TREXD_TERM_ACTION | Term action (Exact, fuzzy, linquistic search) | 20090810 | |||
| 4 | IV_SEARCH_STRING | Call by reference | Type reference (TYPE) | STRING | Search string | 20090810 |
Method GET_IQ_SEARCH_TEXT_ENTRY on class CL_ESH_FED_QUERY_TRANSFORMATOR has no exception.
Method GET_IQ_SIMPLE_ATTR_CONDITION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_QUERY_ENTRY | Value transfer | Type reference (TYPE) | ESH_S_FED_QUERY_ENTRY | Query Entry | 20090810 | |||
| 2 | IV_ATTRIBUTE_NAME | Call by reference | Type reference (TYPE) | ESH_E_IF_ATTRIBUTE_NAME | 20090810 | ||||
| 3 | IV_CONTENT_TYPE | Call by reference | Type reference (TYPE) | ESH_E_IF_CONTENT_TYPE | Content Type | 20110420 | |||
| 4 | IV_FUZZY_SIMILARITY | Call by reference | Type reference (TYPE) | ESH_E_FED_FUZZY_SIMILARITY | Fuzzy Similarity 0..10000 | 20131205 | |||
| 5 | IV_SEARCH_MODE | Call by reference | Type reference (TYPE) | ESH_E_IF_SEARCH_MODE | Search Mode | 20110420 | |||
| 6 | IV_SEARCH_OPTIONS | Call by reference | Type reference (TYPE) | ESH_E_FED_SEARCH_OPTIONS | Search Options | 20131205 | |||
| 7 | IV_VALUE | Call by reference | Type reference (TYPE) | ESH_E_IF_ATTRIBUTE_VALUE | Attribute Value | 20090810 |
Method GET_IQ_SIMPLE_ATTR_CONDITION on class CL_ESH_FED_QUERY_TRANSFORMATOR has no exception.
Method GET_QUERY_PARSER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_QUERY_PARSER | Value transfer | Object reference (TYPE REF TO) | CL_ESH_QP_CH_PARSER | SearchTerms Query Parser | 20100906 |
Method GET_QUERY_PARSER on class CL_ESH_FED_QUERY_TRANSFORMATOR has no exception.
Method PROCESS_ATTRIBUTE_CONDITIONS Signature
Method PROCESS_ATTRIBUTE_CONDITIONS on class CL_ESH_FED_QUERY_TRANSFORMATOR has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | ESH Interface Exception | 20090810 |
Method PROCESS_INTERNAL_QUERY Signature
Method PROCESS_INTERNAL_QUERY on class CL_ESH_FED_QUERY_TRANSFORMATOR has no parameter.
Method PROCESS_INTERNAL_QUERY on class CL_ESH_FED_QUERY_TRANSFORMATOR has no exception.
Method PROCESS_QUERY_PARTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_COLLECTIONS_FOUND | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100122 | ||||
| 2 | EV_NUMBER_OF_COND_PARTS | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20100831 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | ESH Interface Exception | 20090814 |
Method PROCESS_SEARCH_STRING Signature
Method PROCESS_SEARCH_STRING on class CL_ESH_FED_QUERY_TRANSFORMATOR has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | ESH Interface Exception | 20090810 |
Method SET_FUZZY_IN_QUERY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_QUERY_ENTRIES | Call by reference | Type reference (TYPE) | ESH_T_FED_QUERY_ENTRY | Query | 20100802 |
Method SET_FUZZY_IN_QUERY on class CL_ESH_FED_QUERY_TRANSFORMATOR has no exception.
Method SET_PART_IN_QUERY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_QUERY_ENTRIES | Call by reference | Type reference (TYPE) | ESH_T_FED_QUERY_ENTRY | Query | 20090903 | |||
| 2 | IV_PART_NO | Call by reference | Type reference (TYPE) | INT2 | Part number | 20090903 |
Method SET_PART_IN_QUERY on class CL_ESH_FED_QUERY_TRANSFORMATOR has no exception.
Method SET_RANK_WEIGHT_IN_QUERY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_QUERY_ENTRIES | Call by reference | Type reference (TYPE) | ESH_T_FED_QUERY_ENTRY | Query | 20090817 | |||
| 2 | IV_RANK_WEIGHT | Call by reference | Type reference (TYPE) | ESH_E_IF_RANK_WEIGHT | Weight for ranking (1..10) | 20090817 |
Method SET_RANK_WEIGHT_IN_QUERY on class CL_ESH_FED_QUERY_TRANSFORMATOR has no exception.
Method TRANSFORM_QUERY_TO_INTERNAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_REQUEST_DATA | Call by reference | Object reference (TYPE REF TO) | CL_ESH_FED_REQUEST_DATA | Search Request Data | 20090810 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | ESH Interface Exception | 20090810 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 730 |