SAP ABAP Class CL_ESH_QP_METADATA_HELPER (Metadata Helper Class)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-EIM-ESH (Application Component) NetWeaver Enterprise Search
⤷
S_ESH_ENG_QUERY_PARSER_RD (Package) Recursive descent query parser
⤷
⤷
Properties
| Class | CL_ESH_QP_METADATA_HELPER | |
| Short Description | Metadata Helper Class | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_ESH_ENG_QUERY_PARSER_RD | Recursive descent query parser |
| Created | 20081217 | 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
Class CL_ESH_QP_METADATA_HELPER has no interface implemented.
Friends
Class CL_ESH_QP_METADATA_HELPER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | I | 255 | 20090115 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | ESH_T_QP_ATTRIBUTES | Search attributes | 20090112 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | ESH_T_IF_MDATA_CATEGORIES | Metadata: Category | 20090108 | |||
| 4 | Static Attribute | Private | Type reference (TYPE) | ESH_T_IF_MDATA_CONNECTORS | Metadata: Connectors | 20090108 | |||
| 5 | Static Attribute | Private | Type reference (TYPE) | ESH_T_IF_MDATA_TEMPLATES | Metadata: Templates | 20090108 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Compute distance | 20090108 | |
| 2 | Instance method | Public | Constructor | Constructor | 20081219 | |
| 3 | Static method | Public | Method | Get similar category ID | 20090109 | |
| 4 | Static method | Public | Method | Get similar category ID | 20081217 | |
| 5 | Static method | Public | Method | Get similar category ID | 20090108 | |
| 6 | Static method | Public | Method | Get similar category ID | 20090108 | |
| 7 | Static method | Public | Method | Check if input is a valid attribute ID for given scope | 20090109 | |
| 8 | Static method | Public | Method | Check if input is a valid search category ID | 20081217 | |
| 9 | Static method | Public | Method | Check if input is a valid search connector ID | 20081218 | |
| 10 | Static method | Public | Method | Check if input is a valid attribute ID | 20090305 | |
| 11 | Static method | Public | Method | Check if input is a valid search keyword | 20081217 | |
| 12 | Static method | Public | Method | Check if input is a valid request for given scope ID | 20081218 | |
| 13 | Static method | Public | Method | Check if input is a valid search template ID | 20081218 | |
| 14 | Static method | Public | Method | Check if input is a valid attribute ID | 20090309 |
Events
Class CL_ESH_QP_METADATA_HELPER has no event.
Types
Class CL_ESH_QP_METADATA_HELPER has no local type.
Method Signatures
Method COMPUTE_DISTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_DISTANCE | Value transfer | Type reference (TYPE) | I | 20090108 | ||||
| 2 | EV_MAX | Call by reference | Type reference (TYPE) | I | 20090108 | ||||
| 3 | IV_PERCENT | Call by reference | Type reference (TYPE) | I | 20090108 | ||||
| 4 | IV_STR1 | Call by reference | Type reference (TYPE) | STRING | 20090108 | ||||
| 5 | IV_STR2 | Call by reference | Type reference (TYPE) | STRING | 20090108 |
Method COMPUTE_DISTANCE on class CL_ESH_QP_METADATA_HELPER has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_ESH_QP_METADATA_HELPER has no parameter.
Method CONSTRUCTOR on class CL_ESH_QP_METADATA_HELPER has no exception.
Method GET_SIMILAR_ATTRIBUTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ATTRIBUTE_ID | Call by reference | Type reference (TYPE) | STRING | 20090109 | ||||
| 2 | IV_PERCENT | Call by reference | Type reference (TYPE) | I | 70 | 20090109 | |||
| 3 | IV_REQUEST_ID | Call by reference | Type reference (TYPE) | STRING | 'DEFAULT' | Query Parser Identifier | 20090113 | ||
| 4 | IV_SCOPE_ID | Call by reference | Type reference (TYPE) | STRING | Query Parser Identifier | 20090109 | |||
| 5 | IV_SCOPE_TYPE | Call by reference | Type reference (TYPE) | ESH_E_QP_TOKEN_TYPE | SearchTerms Token Type | 20090109 | |||
| 6 | RV_SIMILAR_ID | Value transfer | Type reference (TYPE) | ESH_E_QP_IDENTIFIER | Query Parser Identifier | 20090109 |
Method GET_SIMILAR_ATTRIBUTE on class CL_ESH_QP_METADATA_HELPER has no exception.
Method GET_SIMILAR_CATEGORY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CATEGORY_ID | Call by reference | Type reference (TYPE) | STRING | Query Parser Identifier | 20081217 | |||
| 2 | IV_PERCENT | Call by reference | Type reference (TYPE) | I | 70 | 20090108 | |||
| 3 | RV_SIMILAR_ID | Value transfer | Type reference (TYPE) | ESH_E_QP_IDENTIFIER | Query Parser Identifier | 20081217 |
Method GET_SIMILAR_CATEGORY on class CL_ESH_QP_METADATA_HELPER has no exception.
Method GET_SIMILAR_CONNECTOR 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) | STRING | 20090108 | ||||
| 2 | IV_PERCENT | Call by reference | Type reference (TYPE) | I | 70 | 20090108 | |||
| 3 | RV_SIMILAR_ID | Value transfer | Type reference (TYPE) | ESH_E_QP_IDENTIFIER | Query Parser Identifier | 20090108 |
Method GET_SIMILAR_CONNECTOR on class CL_ESH_QP_METADATA_HELPER has no exception.
Method GET_SIMILAR_TEMPLATE 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 | 20090108 | |||
| 2 | IV_TEMPLATE_ID | Call by reference | Type reference (TYPE) | STRING | 20090108 | ||||
| 3 | RV_SIMILAR_ID | Value transfer | Type reference (TYPE) | ESH_E_QP_IDENTIFIER | Query Parser Identifier | 20090108 |
Method GET_SIMILAR_TEMPLATE on class CL_ESH_QP_METADATA_HELPER has no exception.
Method IS_ATTRIBUTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ATTRIBUTE_ID | Call by reference | Type reference (TYPE) | STRING | 20090109 | ||||
| 2 | IV_REQUEST_ID | Call by reference | Type reference (TYPE) | STRING | 'DEFAULT' | 20090112 | |||
| 3 | IV_SCOPE_ID | Call by reference | Type reference (TYPE) | STRING | 20090109 | ||||
| 4 | IV_SCOPE_TYPE | Call by reference | Type reference (TYPE) | ESH_E_QP_TOKEN_TYPE | SearchTerms Token Type | 20090109 | |||
| 5 | RV_STATUS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090109 |
Method IS_ATTRIBUTE on class CL_ESH_QP_METADATA_HELPER has no exception.
Method IS_CATEGORY 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 | Query Parser Identifier | 20081217 | |||
| 2 | RV_STATUS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20081217 |
Method IS_CATEGORY on class CL_ESH_QP_METADATA_HELPER has no exception.
Method IS_CONNECTOR 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 | Query Parser Identifier | 20081218 | |||
| 2 | RV_STATUS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20081218 |
Method IS_CONNECTOR on class CL_ESH_QP_METADATA_HELPER has no exception.
Method IS_CONNECTOR_ATTRIBUTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ATTRIBUTE_ID | Call by reference | Type reference (TYPE) | STRING | 20090305 | ||||
| 2 | IV_CONNECTOR_ID | Call by reference | Type reference (TYPE) | STRING | 20090305 | ||||
| 3 | IV_REQUEST_ID | Call by reference | Type reference (TYPE) | STRING | 20090305 | ||||
| 4 | RV_STATUS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090305 |
Method IS_CONNECTOR_ATTRIBUTE on class CL_ESH_QP_METADATA_HELPER has no exception.
Method IS_KEYWORD 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 | 20081217 | ||||
| 2 | RV_STATUS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20081217 |
Method IS_KEYWORD on class CL_ESH_QP_METADATA_HELPER has no exception.
Method IS_REQUEST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_REQUEST_ID | Call by reference | Type reference (TYPE) | STRING | 20081218 | ||||
| 2 | IV_SCOPE_ID | Call by reference | Type reference (TYPE) | STRING | 20081218 | ||||
| 3 | IV_SCOPE_TYPE | Call by reference | Type reference (TYPE) | ESH_E_QP_TOKEN_TYPE | SearchTerms Token Type | 20090108 | |||
| 4 | RV_STATUS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20081218 |
Method IS_REQUEST on class CL_ESH_QP_METADATA_HELPER has no exception.
Method IS_TEMPLATE 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 | 20081218 | ||||
| 2 | RV_STATUS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20081218 |
Method IS_TEMPLATE on class CL_ESH_QP_METADATA_HELPER has no exception.
Method IS_TEMPLATE_ATTRIBUTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ATTRIBUTE_ID | Call by reference | Type reference (TYPE) | STRING | 20090309 | ||||
| 2 | IV_REQUEST_ID | Call by reference | Type reference (TYPE) | STRING | 20090309 | ||||
| 3 | IV_TEMPLATE_ID | Call by reference | Type reference (TYPE) | STRING | 20090309 | ||||
| 4 | RV_STATUS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090309 |
Method IS_TEMPLATE_ATTRIBUTE on class CL_ESH_QP_METADATA_HELPER has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 720 |