SAP ABAP Class CL_ESH_HANA_CALCATTR_COMPILER (Calculated Attribute Compiler)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-EIM-ESH (Application Component) NetWeaver Enterprise Search
⤷
S_ESH_ENG_TREX (Package) TREX handling for Enterprise Search
⤷
⤷
Properties
| Class | CL_ESH_HANA_CALCATTR_COMPILER | |
| Short Description | Calculated Attribute Compiler | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_ESH_ENG_TREX | TREX handling for Enterprise Search |
| Created | 20130911 | SAP |
| Last change | 20141121 | |
| 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_HANA_CALCATTR_COMPILER has no interface implemented.
Friends
Class CL_ESH_HANA_CALCATTR_COMPILER 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) | IF_ESH_OM_APPLOG | Application Log | 20130917 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ESH_TREX_PROXY_ADMIN | HANA Proxy | 20130918 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | ESH_T_HDB_CALC | Calculated Attributes on HDB Tables: Create | 20130918 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | ESH_T_HDB_CALC | Calculated Attributes on HDB Tables: Drop | 20130918 | |||
| 5 | Static Attribute | Protected | Type reference (TYPE) | ESH_E_HDB_CA_CONV_ROUTINE | Calculated Attribute Conversion Routine for DATE/TIMESTAMP | 20131002 | |||
| 6 | Static Attribute | Protected | Type reference (TYPE) | CHAR01 | Set Calculated Attributes for Cross-Type Join Conditions | 20131002 | |||
| 7 | Static Attribute | Protected | Type reference (TYPE) | CHAR01 | Set Calculated Attributes for ALPHANUM | 20131002 | |||
| 8 | Static Attribute | Protected | Type reference (TYPE) | CHAR01 | Set Calculated Attributes for DATE/TIMESTAMP | 20131002 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Adjust Calculated Attributes on HDB Tables | 20130917 | |
| 2 | Instance method | Private | Method | Check Calculated Attribute: Used on other clients? | 20130918 | |
| 3 | Instance method | Private | Method | Check Calculated Attribute: Used by other objects? | 20130918 | |
| 4 | Static method | Public | Constructor | Class constructor | 20131002 | |
| 5 | Static method | Public | Method | Compose Calculated-Attribute Name | 20130911 | |
| 6 | Static method | Public | Method | Decompose Calculated-Attribute Name | 20130911 | |
| 7 | Static method | Public | Method | Get Calculated Attributes from ESH_HDB_CALC | 20130918 | |
| 8 | Static method | Public | Method | Get Instance | 20130917 | |
| 9 | Static method | Public | Method | Get Supported Cases | 20131002 | |
| 10 | Instance method | Public | Method | Register Task: Create Fulltext Index | 20130917 | |
| 11 | Instance method | Public | Method | Register Task: Drop Fulltext Index | 20130917 |
Events
Class CL_ESH_HANA_CALCATTR_COMPILER has no event.
Types
Class CL_ESH_HANA_CALCATTR_COMPILER has no local type.
Method Signatures
Method ADJUST_CALCULATED_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_SUPPRESS_EXCEPTIONS | Call by reference | Type reference (TYPE) | CHAR01 | Suppress Exceptions | 20131002 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Calculated Attribute Compiler Exception | 20130918 |
Method CHECK_CALC_ATTRIBUTE_CROSSCLNT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CALC_ATTRIBUTE | Call by reference | Type reference (TYPE) | ESH_E_HDB_CALC_ATTRIBUTE | Calculated Attribute | 20130919 | |||
| 2 | IV_SCHEMA_NAME | Call by reference | Type reference (TYPE) | ESH_E_HDB_DBSCHEMA | Database Schema | 20130919 | |||
| 3 | IV_TABLE_NAME | Call by reference | Type reference (TYPE) | ESH_E_HDB_DBTABNAME | Table Name | 20130919 | |||
| 4 | RV_USED_CROSSCLNT | Value transfer | Type reference (TYPE) | CHAR01 | Used Cross-Client | 20130918 |
Method CHECK_CALC_ATTRIBUTE_CROSSCLNT on class CL_ESH_HANA_CALCATTR_COMPILER has no exception.
Method CHECK_CALC_ATTRIBUTE_CROSSOBJ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_CURR_CALCATTR_DROP | Call by reference | Type reference (TYPE) | ESH_T_HDB_CALC | Current List: Calculated Attributes to Drop | 20130919 | |||
| 2 | IV_CALC_ATTRIBUTE | Call by reference | Type reference (TYPE) | ESH_E_HDB_CALC_ATTRIBUTE | Calculated Attribute | 20130919 | |||
| 3 | IV_CURR_NODE | Call by reference | Type reference (TYPE) | ESH_E_OM_NODE_NAME | Current Node | 20130919 | |||
| 4 | IV_CURR_OBJECT_TYPE | Call by reference | Type reference (TYPE) | ESH_E_OM_OBJECT_TYPE | Current Object Type | 20130919 | |||
| 5 | IV_SCHEMA_NAME | Call by reference | Type reference (TYPE) | ESH_E_HDB_DBSCHEMA | Database Schema | 20130919 | |||
| 6 | IV_TABLE_NAME | Call by reference | Type reference (TYPE) | ESH_E_HDB_DBTABNAME | Table Name | 20130919 | |||
| 7 | RV_USED_CROSSOBJ | Value transfer | Type reference (TYPE) | CHAR01 | Is Used (Different object type/node) | 20130918 |
Method CHECK_CALC_ATTRIBUTE_CROSSOBJ on class CL_ESH_HANA_CALCATTR_COMPILER has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_ESH_HANA_CALCATTR_COMPILER has no parameter.
Method CLASS_CONSTRUCTOR on class CL_ESH_HANA_CALCATTR_COMPILER has no exception.
Method COMPOSE_CALCULATED_ATTR_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_CALCULATED_ATTR | Call by reference | Type reference (TYPE) | ESH_E_HDB_CALC_ATTRIBUTE | Calculated Attribute | 20130911 | |||
| 2 | EV_ID | Call by reference | Type reference (TYPE) | ESH_E_HDB_CALC_ATTR_ID | Calculated Attribute ID | 20130911 | |||
| 3 | IV_CONV_ROUTINE | Call by reference | Type reference (TYPE) | ESH_E_HDB_CA_CONV_ROUTINE | Calculated Attribute Conversion Routine | 20130911 | |||
| 4 | IV_LENGTH | Call by reference | Type reference (TYPE) | INT4 | Length | 20130911 | |||
| 5 | IV_REF_ATTRIBUTE | Call by reference | Type reference (TYPE) | ESH_E_HDB_DBATTRIBUTE | Database Table Attribute Name | 20130911 | |||
| 6 | IV_REF_DBTABNAME | Call by reference | Type reference (TYPE) | ESH_E_HDB_DBTABNAME | Database table name | 20130911 | |||
| 7 | IV_SCALE | Call by reference | Type reference (TYPE) | INT4 | Scale (Digits After) | 20130911 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Calculated Attribute Compiler Exception | 20130911 |
Method DECOMPOSE_CALCULATED_ATTR_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_CONV_ROUTINE | Call by reference | Type reference (TYPE) | ESH_E_HDB_CA_CONV_ROUTINE | Calculated Attribute Conversion Routine | 20130911 | |||
| 2 | EV_ID | Call by reference | Type reference (TYPE) | ESH_E_HDB_CALC_ATTR_ID | Calculated Attribute ID | 20130911 | |||
| 3 | EV_LENGTH | Call by reference | Type reference (TYPE) | INT4 | Length | 20130911 | |||
| 4 | EV_REF_ATTRIBUTE | Call by reference | Type reference (TYPE) | ESH_E_HDB_DBATTRIBUTE | Database Table Attribute Name | 20130911 | |||
| 5 | EV_REF_DBTABNAME | Call by reference | Type reference (TYPE) | ESH_E_HDB_DBTABNAME | Database Table Name | 20130917 | |||
| 6 | EV_SCALE | Call by reference | Type reference (TYPE) | INT4 | Scale (Digits After) | 20130911 | |||
| 7 | IV_CALCULATED_ATTR | Call by reference | Type reference (TYPE) | ESH_E_HDB_CALC_ATTRIBUTE | Calculated Attribute | 20130911 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Calculated Attribute Compiler Exception | 20130911 |
Method GET_ESH_HDB_CALCATTR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_HDB_CALC | Call by reference | Type reference (TYPE) | ESH_T_HDB_CALC | Calculated Attributes (ESH_HDB_CALC) | 20130918 | |||
| 2 | IT_CALC_ATTRIBUTES_SORTED | Call by reference | Type reference (TYPE) | ESH_T_HDB_CALC_ATTR_NAMES_SRTD | Calculated Attributes (Sorted) | 20131002 | |||
| 3 | IV_CALC_ATTRIBUTE | Call by reference | Type reference (TYPE) | ESH_E_HDB_CALC_ATTRIBUTE | Calculated Attribute | 20130918 | |||
| 4 | IV_CALC_ATTR_ID | Call by reference | Type reference (TYPE) | ESH_E_HDB_CALC_ATTR_ID | Calculated Attribute ID | 20130918 | |||
| 5 | IV_HDB_DBSCHEMA | Call by reference | Type reference (TYPE) | ESH_E_HDB_DBSCHEMA | Database Schema | 20130918 | |||
| 6 | IV_HDB_DBTABNAME | Call by reference | Type reference (TYPE) | ESH_E_HDB_DBTABNAME | Database Table Name | 20130918 | |||
| 7 | IV_LOGSYS | Call by reference | Type reference (TYPE) | LOGSYS | Logical system | 20130918 | |||
| 8 | IV_NODE_NAME | Call by reference | Type reference (TYPE) | ESH_E_OM_NODE_NAME | Node Name | 20130918 | |||
| 9 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | ESH_E_OM_OBJECT_TYPE | Object Type | 20130918 |
Method GET_ESH_HDB_CALCATTR on class CL_ESH_HANA_CALCATTR_COMPILER has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_APPLICATION_LOG | Call by reference | Object reference (TYPE REF TO) | IF_ESH_OM_APPLOG | Application Log | 20130917 | |||
| 2 | IR_HANA_PROXY | Call by reference | Object reference (TYPE REF TO) | CL_ESH_TREX_PROXY_ADMIN | HANA Proxy | 20130920 | |||
| 3 | RR_CALCATTR_COMPILER | Value transfer | Object reference (TYPE REF TO) | CL_ESH_HANA_CALCATTR_COMPILER | Calculated Attribute Compiler | 20130917 |
Method GET_INSTANCE on class CL_ESH_HANA_CALCATTR_COMPILER has no exception.
Method GET_SUPPORTED_CASES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_DATE_TYPE_CONV_ROUTINE | Call by reference | Type reference (TYPE) | ESH_E_HDB_CA_CONV_ROUTINE | Date Type Conv Routine | 20131002 | |||
| 2 | EV_SET_CALCATTR_CROSSTYPE_JOIN | Call by reference | Type reference (TYPE) | CHAR01 | Set for Cross-Type Join Conditions | 20131002 | |||
| 3 | EV_SET_CALCATTR_FOR_ALPHANUM | Call by reference | Type reference (TYPE) | CHAR01 | Set for ALPHANUM | 20131002 | |||
| 4 | EV_SET_CALCATTR_FOR_DATES | Call by reference | Type reference (TYPE) | CHAR01 | Set for DATE/TIMESTAMP | 20131002 |
Method GET_SUPPORTED_CASES on class CL_ESH_HANA_CALCATTR_COMPILER has no exception.
Method REGISTER_TASK_CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_CALC_ATTR | Call by reference | Type reference (TYPE) | ESH_S_HDB_CALC_ATTRIBUTE_INFO | Calculated Attribute Information | 20130917 | |||
| 2 | IV_HDB_DBSCHEMA | Call by reference | Type reference (TYPE) | ESH_E_HDB_DBSCHEMA | Database Schema | 20130917 | |||
| 3 | IV_HDB_DBTABNAME | Call by reference | Type reference (TYPE) | ESH_E_HDB_DBTABNAME | Database Table | 20130918 | |||
| 4 | IV_LOGSYS | Call by reference | Type reference (TYPE) | LOGSYS | Logical System | 20130918 | |||
| 5 | IV_NODE | Call by reference | Type reference (TYPE) | ESH_E_OM_NODE_NAME | Node Name | 20130917 | |||
| 6 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | ESH_E_OM_OBJECT_TYPE | Object Type | 20130917 |
Method REGISTER_TASK_CREATE on class CL_ESH_HANA_CALCATTR_COMPILER has no exception.
Method REGISTER_TASK_DROP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ALL_CALC_ATTRIBUTES | Call by reference | Type reference (TYPE) | CHAR01 | ABAP_FALSE | All Calculated Attributes of Node (Drop) | 20130918 | ||
| 2 | IV_CALC_ATTRIBUTE | Call by reference | Type reference (TYPE) | ESH_E_HDB_CALC_ATTRIBUTE | Calculated Attribute | 20130918 | |||
| 3 | IV_CALC_ATTR_ID | Call by reference | Type reference (TYPE) | ESH_E_HDB_CALC_ATTR_ID | Calculated Attribute ID | 20131002 | |||
| 4 | IV_HDB_DBSCHEMA | Call by reference | Type reference (TYPE) | ESH_E_HDB_DBSCHEMA | Database Schema | 20130918 | |||
| 5 | IV_HDB_DBTABNAME | Call by reference | Type reference (TYPE) | ESH_E_HDB_DBTABNAME | Database Table | 20130918 | |||
| 6 | IV_LOGSYS | Call by reference | Type reference (TYPE) | LOGSYS | Logical System | 20130918 | |||
| 7 | IV_NODE | Call by reference | Type reference (TYPE) | ESH_E_OM_NODE_NAME | Node Name | 20130918 | |||
| 8 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | ESH_E_OM_OBJECT_TYPE | Object Type | 20130918 |
Method REGISTER_TASK_DROP on class CL_ESH_HANA_CALCATTR_COMPILER has no exception.
History
| Last changed by/on | SAP | 20141121 |
| SAP Release Created in | 740 |