SAP ABAP Class CL_ESH_QP_METADATA_LOOKUP (Text Tokenizer)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-EIM-ESH (Application Component) NetWeaver Enterprise Search
⤷
S_ESH_ENG_QUERY_PARSER (Package) Query Parser
⤷
⤷
Properties
| Class | CL_ESH_QP_METADATA_LOOKUP | |
| Short Description | Text Tokenizer | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_ESH_ENG_QUERY_PARSER | Query Parser |
| Created | 20091118 | 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) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_ESH_QP_METADATA_LOOKUP has no interface implemented.
Friends
Class CL_ESH_QP_METADATA_LOOKUP has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | ESH_E_QP_ID_TYPE | 'AT' | Attribute | 20091201 | ||
| 2 | Constant | Public | Type reference (TYPE) | ESH_E_QP_ID_TYPE | 'CA' | Category | 20091201 | ||
| 3 | Constant | Public | Type reference (TYPE) | ESH_E_QP_ID_TYPE | 'CO' | Connector | 20091201 | ||
| 4 | Constant | Public | Type reference (TYPE) | ESH_E_QP_ID_TYPE | 'KE' | Keyword | 20091201 | ||
| 5 | Constant | Public | Type reference (TYPE) | ESH_E_QP_ID_TYPE | 'RE' | Request | 20091201 | ||
| 6 | Constant | Public | Type reference (TYPE) | ESH_E_QP_ID_TYPE | 'TE' | Template | 20091201 | ||
| 7 | Static Attribute | Private | Type reference (TYPE) | ESH_E_IF_SEARCH_CONNECTOR_ID | Category metadata connector | 20091118 | |||
| 8 | Static Attribute | Private | Type reference (TYPE) | TREXD_ATTR_NAME | 'STEXT' | Attribute name | 20091118 | ||
| 9 | Static Attribute | Private | Type reference (TYPE) | ESH_E_IF_ATTRIBUTE_NAME | 'CATEGORY' | Attribute name | 20091119 | ||
| 10 | Static Attribute | Private | Type reference (TYPE) | STRING | 'PREP_CONN' | 20091118 | |||
| 11 | Static Attribute | Private | Type reference (TYPE) | ESH_E_IF_SEARCH_CONNECTOR_ID | Connector metadata connector | 20091118 | |||
| 12 | Static Attribute | Private | Type reference (TYPE) | TREXD_ATTR_NAME | 'STEXT' | Attribute name | 20091118 | ||
| 13 | Static Attribute | Private | Type reference (TYPE) | ESH_E_IF_ATTRIBUTE_NAME | 'OBJECT_TYPE_NAME' | Attribute name | 20091119 | ||
| 14 | Static Attribute | Private | Type reference (TYPE) | STRING | 'PREP_CAT' | 20091118 | |||
| 15 | Static Attribute | Private | Type reference (TYPE) | STRING | 'LANGU' | 20091118 | |||
| 16 | Static Attribute | Private | Type reference (TYPE) | CL_ESH_QP_METADATA_CONTAINER=>TT_METATOKEN | 20091126 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Get token type | 20091118 | |
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20091118 | |
| 3 | Instance method | Private | Method | Fuzzy match in metadata token cache (lexeme) | 20091201 | |
| 4 | Static method | Private | Method | Fuzzy lookup via search connector | 20091201 | |
| 5 | Instance method | Public | Method | Lookup token in metadata description | 20091118 | |
| 6 | Static method | Public | Method | Fuzzy lookup in metadata description | 20091201 | |
| 7 | Static method | Private | Method | Fuzzy match | 20091201 | |
| 8 | Static method | Public | Method | Match ID | 20091201 | |
| 9 | Static method | Private | Method | Normalize token | 20091118 |
Events
Class CL_ESH_QP_METADATA_LOOKUP has no event.
Types
Class CL_ESH_QP_METADATA_LOOKUP has no local type.
Method Signatures
Method ADD_TYPES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_TYPES | Call by reference | Type reference (TYPE) | ESH_T_QP_CH_TYPES | 20091118 | ||||
| 2 | EV_STATUS | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20091118 | ||||
| 3 | IV_ACTION | Call by reference | Type reference (TYPE) | TREXD_TERM_ACTION | 'L' | Term action (Exact, fuzzy, linquistic search) | 20091118 | ||
| 4 | IV_OPERATOR | Call by reference | Type reference (TYPE) | CHAR2 | 20091118 | ||||
| 5 | IV_TOKEN | Call by reference | Type reference (TYPE) | STRING | Token to be searched | 20091118 | |||
| 6 | IV_TTYPE | Call by reference | Type reference (TYPE) | ESH_E_QP_ID_TYPE | SearchTerms Token Type | 20091118 |
Method ADD_TYPES on class CL_ESH_QP_METADATA_LOOKUP has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CAT_CONNECTOR | Call by reference | Type reference (TYPE) | ESH_E_IF_SEARCH_CONNECTOR_ID | 'BCE000~PREP_CAT~' | Search Connector ID | 20091118 | ||
| 2 | IV_CAT_LOCATION | Call by reference | Type reference (TYPE) | TREXD_ATTR_NAME | 'STEXT' | Attribute name | 20091118 | ||
| 3 | IV_CAT_RESULT | Call by reference | Type reference (TYPE) | ESH_E_IF_ATTRIBUTE_NAME | 'CATEGORY' | Attribute Name | 20091119 | ||
| 4 | IV_CON_CONNECTOR | Call by reference | Type reference (TYPE) | ESH_E_IF_SEARCH_CONNECTOR_ID | 'BCE000~PREP_CONN~' | Search Connector ID | 20091118 | ||
| 5 | IV_CON_LOCATION | Call by reference | Type reference (TYPE) | TREXD_ATTR_NAME | 'STEXT' | Attribute name | 20091118 | ||
| 6 | IV_CON_RESULT | Call by reference | Type reference (TYPE) | ESH_E_IF_ATTRIBUTE_NAME | 'OBJECT_TYPE_NAME' | Attribute Name | 20091119 | ||
| 7 | IV_LANGUAGE_LOCATION | Call by reference | Type reference (TYPE) | TREXD_ATTR_NAME | 'LANGU' | Attribute name | 20091118 |
Method CONSTRUCTOR on class CL_ESH_QP_METADATA_LOOKUP has no exception.
Method LOOKUP_CACHE_FUZZY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PERCENT | Call by reference | Type reference (TYPE) | I | 70 | Percent Match | 20091201 | ||
| 2 | IV_TOKEN | Call by reference | Type reference (TYPE) | STRING | Token to be looked up | 20091201 | |||
| 3 | IV_TYPE | Call by reference | Type reference (TYPE) | ESH_E_QP_ID_TYPE | Identifier Type | 20091201 | |||
| 4 | RT_IDENTIFIERS | Value transfer | Type reference (TYPE) | ESH_T_QP_CH_IDENTIFIER | Identifiers | 20091201 |
Method LOOKUP_CACHE_FUZZY on class CL_ESH_QP_METADATA_LOOKUP has no exception.
Method LOOKUP_CONNECTOR_FUZZY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CONNECTOR_ID | Call by reference | Type reference (TYPE) | ESH_E_IF_SEARCH_CONNECTOR_ID | Search Connector ID | 20091201 | |||
| 2 | IV_LOCATION | Call by reference | Type reference (TYPE) | TREXD_ATTR_NAME | Attribute name | 20091201 | |||
| 3 | IV_RESULT | Call by reference | Type reference (TYPE) | ESH_E_IF_ATTRIBUTE_NAME | Attribute Name | 20091201 | |||
| 4 | IV_TOKEN | Call by reference | Type reference (TYPE) | STRING | Token to be looked up in metadata description | 20091201 | |||
| 5 | RV_ID | Value transfer | Type reference (TYPE) | ESH_E_IF_ATTRIBUTE_VALUE | Result ID | 20091201 |
Method LOOKUP_CONNECTOR_FUZZY on class CL_ESH_QP_METADATA_LOOKUP has no exception.
Method LOOKUP_TOKEN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_SCOPE_FLAG | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Scope token (keyword, category, connector, template) | 20091210 | ||
| 2 | IV_TOKEN | Call by reference | Type reference (TYPE) | STRING | Token to be looked up | 20091118 | |||
| 3 | RT_TYPES | Value transfer | Type reference (TYPE) | ESH_T_QP_CH_TYPES | Token Types | 20091118 |
Method LOOKUP_TOKEN on class CL_ESH_QP_METADATA_LOOKUP has no exception.
Method LOOKUP_TOKEN_FUZZY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_TOKEN | Call by reference | Type reference (TYPE) | STRING | Token to be looked up | 20091201 | |||
| 2 | IV_TYPE | Call by reference | Type reference (TYPE) | ESH_E_QP_ID_TYPE | Token Type | 20091201 | |||
| 3 | RV_ID | Value transfer | Type reference (TYPE) | STRING | Result ID | 20091201 |
Method LOOKUP_TOKEN_FUZZY on class CL_ESH_QP_METADATA_LOOKUP has no exception.
Method MATCH_FUZZY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_TABLE | Call by reference | Type reference (TYPE) | SORTED TABLE | Table to be looked up | 20091201 | |||
| 2 | IV_PERCENT | Call by reference | Type reference (TYPE) | I | 70 | Percent Match | 20091201 | ||
| 3 | IV_TOKEN | Call by reference | Type reference (TYPE) | STRING | Token to be matched | 20091201 | |||
| 4 | RV_TOKEN | Value transfer | Type reference (TYPE) | STRING | Best match in it_table | 20091201 |
Method MATCH_FUZZY on class CL_ESH_QP_METADATA_LOOKUP has no exception.
Method MATCH_ID_FUZZY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ID | Call by reference | Type reference (TYPE) | STRING | 20091201 | ||||
| 2 | IV_TYPE | Call by reference | Type reference (TYPE) | ESH_E_QP_ID_TYPE | Identifier Type | 20091201 | |||
| 3 | RV_ID | Value transfer | Type reference (TYPE) | STRING | 20091201 |
Method MATCH_ID_FUZZY on class CL_ESH_QP_METADATA_LOOKUP has no exception.
Method NORMALIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_STRING | Call by reference | Type reference (TYPE) | STRING | 20091118 | ||||
| 2 | RV_STRING | Value transfer | Type reference (TYPE) | STRING | 20091118 |
Method NORMALIZE on class CL_ESH_QP_METADATA_LOOKUP has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 730 |