SAP ABAP Class CL_ESH_TREX_INDEX_COMPILER (ESH TREX Index 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_TREX_INDEX_COMPILER  
Short Description ESH TREX Index 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 20090810   SAP 
Last change 20141121    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_ESH_TREX_INDEX_COMPILER has no forward declaration.
Interfaces
Class CL_ESH_TREX_INDEX_COMPILER has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_ESH_TREX_AUTHINDEX_COMPILER 20110505 Authorization Index Compiler
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MR_AUTHINDEX_COMPILER Instance attribute Private Object reference (TYPE REF TO) CL_ESH_TREX_AUTHINDEX_COMPILER Authorization Index Compiler 20110504
2 MR_CALC_ATTR_COMPILER Instance attribute Private Object reference (TYPE REF TO) CL_ESH_HANA_CALCATTR_COMPILER Calculated Attribute Compiler 20130920
3 MR_CO_LOGGING Instance attribute Private Object reference (TYPE REF TO) IF_ESH_OM_APPLOG Logging member instance 20090917
4 MR_FULLTEXTINDEX_COMPILER Instance attribute Private Object reference (TYPE REF TO) CL_ESH_HANA_FULLTEXTINDEX Fulltext Index Compiler 20130613
5 MR_INDEX_METADATA_ACTIVE Instance attribute Private Object reference (TYPE REF TO) CL_ESH_TREX_INDEX_METADATA Model metadata active 20091209
6 MR_INDEX_METADATA_INACTIVE Instance attribute Private Object reference (TYPE REF TO) CL_ESH_TREX_INDEX_METADATA Model metadata inactive 20091209
7 MR_TREX_PROXY Instance attribute Private Object reference (TYPE REF TO) CL_ESH_TREX_PROXY_ADMIN TREX Proxy 20101129
8 MV_EXT_SYS_ID Instance attribute Private Type reference (TYPE) ESH_E_ADM_EXTERNAL_SYSTEM_ID External System ID 20090828
9 MV_LOGSYS Instance attribute Private Type reference (TYPE) LOGSYS Logsys 20090828
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor Constructor 20090810
2 CREATE_INDEX Instance method Public Method Create physical indexes / language joins for node 20090810
3 CREATE_TREX_INDEX Instance method Protected Method Create a single TREX index 20090903
4 CREATE_TREX_INDICES Instance method Private Method Create set of TREX indexes 20090824
5 DETERMINE_UPDATE_ACTION Instance method Private Method Determine update action 20091202
6 MAP_DATA_FOR_CALLER Instance method Private Method Map data to exporting structure 20091210
7 POPULATE_INDEX_META_DATA Instance method Private Method Determine the type of index to be created 20090824
8 RECREATE_INDEX Instance method Public Method Recreate a particular index / language join for a node 20120727
9 REGISTER_CALC_ATTR_UPDATES Instance method Private Method Register Calculated Attribute Updates 20130920
10 REGISTER_FULLTEXTINDEX_UPDATES Instance method Private Method Register Fulltext Index Updates 20130808
11 UPDATE_HDB_TABLE Instance method Private Method Update HDB table 20130225
12 UPDATE_INDEX Instance method Public Method Update physical indexes / language joins for node 20090903
13 UPDATE_TREX_INDEX Instance method Private Method Update a TREX index 20090904
Events
Class CL_ESH_TREX_INDEX_COMPILER has no event.
Types
Class CL_ESH_TREX_INDEX_COMPILER has no local type.
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_AUTHINDEX_COMPILER Call by reference Object reference (TYPE REF TO) CL_ESH_TREX_AUTHINDEX_COMPILER Authorization Index Compiler 20110505
2 Importing IR_CALC_ATTR_COMPILER Call by reference Object reference (TYPE REF TO) CL_ESH_HANA_CALCATTR_COMPILER Calculated Attribute Compiler 20130920
3 Importing IR_CO_LOGGING Call by reference Object reference (TYPE REF TO) IF_ESH_OM_APPLOG Log Instance 20090917
4 Importing IR_FULLTEXTINDEX_COMPILER Call by reference Object reference (TYPE REF TO) CL_ESH_HANA_FULLTEXTINDEX Fulltext Index Compiler 20130613
5 Importing IR_INDEX_META_ACTIVE Call by reference Object reference (TYPE REF TO) CL_ESH_TREX_INDEX_METADATA Model references: Old (Active) Connector Metadata 20091209
6 Importing IR_INDEX_META_INACTIVE Call by reference Object reference (TYPE REF TO) CL_ESH_TREX_INDEX_METADATA Model references: New (Inactive) Connector Metadata 20091209
7 Importing IV_EXT_SYS_ID Call by reference Type reference (TYPE) ESH_E_ADM_EXTERNAL_SYSTEM_ID Identifier for an External System 20090810
8 Importing IV_LOGSYS Call by reference Type reference (TYPE) LOGSYS Logical System 20091207
# Exception Resumable Description Created on
1 CX_ESH_CO_CONNECTION_ERROR ESH Connection Exception 20090810
2 CX_ESH_TREX_STATIC Static exception superclass for ESH-TREX 20091202

Method CREATE_INDEX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CONSTRAINTS Call by reference Type reference (TYPE) ESH_T_HDB_CONSTR Constraints for Application-Table Based Connector Nodes 20120802
2 Exporting ET_INDEX_IDS Call by reference Type reference (TYPE) ESH_T_INDEX_ID Index List 20090810
3 Importing IS_NODE_DATA Call by reference Type reference (TYPE) ESH_S_OM_TRANS_DELTA_NODES Changes in nodes 20090810
# Exception Resumable Description Created on
1 CX_ESH_TREX_DYNAMIC Dynamic superclass for NWES-TREX-API 20091203
2 CX_ESH_TREX_PROXY NWES model to TREX index transformation issue 20091202
3 CX_ESH_TREX_STATIC Static exception superclass for ESH-TREX 20091202

Method CREATE_TREX_INDEX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_INDEX_METADATA Call by reference Type reference (TYPE) ESH_S_TREX_INDEX_METADATA Meta data for a NWES specific TREX index 20090903
# Exception Resumable Description Created on
1 CX_ESH_MOD_2_TRX_IDX_TRANSFORM NWES model to TREX index transformation issue 20090903
2 CX_ESH_TREX_PROXY General ESH TREX exception 20090903

Method CREATE_TREX_INDICES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing IT_INDEX_METADATA Call by reference Type reference (TYPE) ESH_T_TREX_INDEX_METADATA 20090828
# Exception Resumable Description Created on
1 CX_ESH_MOD_2_TRX_IDX_TRANSFORM General ESH TREX exception 20090825
2 CX_ESH_TREX_PROXY General ESH TREX exception 20090825

Method DETERMINE_UPDATE_ACTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_INDEXMETA_ACTIVE Call by reference Type reference (TYPE) ESH_T_TREX_INDEX_METADATA Table for ESH_S_TREX_INDEX_META_DATA 20091202
2 Importing IT_INDEXMETA_INACTIVE Call by reference Type reference (TYPE) ESH_T_TREX_INDEX_METADATA Table for ESH_S_TREX_INDEX_META_DATA 20091202
3 Returning RV_UPDATE_ACTION Value transfer Type reference (TYPE) ESH_E_TREX_UPDATE_ACTION Update action for update index 20091202
# Exception Resumable Description Created on
1 CX_ESH_TREX_DYNAMIC Dynamic superclass for NWES-TREX-API 20091202

Method MAP_DATA_FOR_CALLER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CONSTRAINTS Call by reference Type reference (TYPE) ESH_T_HDB_CONSTR Constraints for Application-Table Based Connector Nodes 20120802
2 Exporting ET_INDEX_IDS Call by reference Type reference (TYPE) ESH_T_INDEX_ID Index List 20110511
3 Importing IT_INDEX_METADATA_I Call by reference Type reference (TYPE) ESH_T_TREX_INDEX_METADATA Index Metadata (Area I) 20110510
4 Importing IV_INS_UPD_MODE Call by reference Type reference (TYPE) CHAR3 Insert/Update Mode 20110510
# Exception Resumable Description Created on
1 CX_ESH_TREX_DYNAMIC Dynamic superclass for NWES-TREX-API 20091210

Method POPULATE_INDEX_META_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_INDEX_METADATA Call by reference Type reference (TYPE) ESH_T_TREX_INDEX_METADATA Index Metadata 20120215
2 Importing IS_NODE_DATA Call by reference Type reference (TYPE) ESH_S_OM_TRANS_DELTA_NODES Changes in nodes 20090824
3 Importing IV_AREA Call by reference Type reference (TYPE) ESH_E_OM_AREA Area to retrieve data from 20090903
# Exception Resumable Description Created on
1 CX_ESH_MOD_2_TRX_IDX_TRANSFORM NWES model to TREX index transformation issue 20090824
2 CX_ESH_TREX_DYNAMIC Dynamic superclass for NWES-TREX-API 20091203
3 CX_ESH_TREX_STATIC Static exception superclass for ESH-TREX 20091203

Method RECREATE_INDEX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_INDEX_DATA Call by reference Type reference (TYPE) ESH_CRT_INDEX Index data (ESH_CRT_INDEX record) 20120727
2 Exporting ET_CONSTRAINTS Call by reference Type reference (TYPE) ESH_T_HDB_CONSTR Constraints for Application-Table Based Connector Nodes 20120803
3 Exporting EV_INDEX_RECREATED Call by reference Type reference (TYPE) CHAR01 Index recreated 20120727
4 Importing IV_INDEX Call by reference Type reference (TYPE) TREXD_INDEX_ID Index to be recrated 20120727
5 Importing IV_NODE Call by reference Type reference (TYPE) ESH_E_OM_NODE_NAME Node Name 20120727
6 Importing IV_OBJECT_TYPE Call by reference Type reference (TYPE) ESH_E_OM_OBJECT_TYPE Object Type 20120727
7 Importing IV_SCHEMA_NAME Call by reference Type reference (TYPE) CHAR64 Schema Name 20120727
8 Importing IV_TEMPLATE_TYPE Call by reference Type reference (TYPE) ESH_E_OM_TEMPLATE_TYPE Template Type 20120727
# Exception Resumable Description Created on
1 CX_ESH_TREX_PROXY General ESH TREX Exception 20120727

Method REGISTER_CALC_ATTR_UPDATES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_INDEX_METADATA Call by reference Type reference (TYPE) ESH_T_TREX_INDEX_METADATA Index Metadata 20130920
2 Importing IT_INDEX_METADATA_OLD Call by reference Type reference (TYPE) ESH_T_TREX_INDEX_METADATA Index Metadata (Old State / A Area) 20130920

Method REGISTER_CALC_ATTR_UPDATES on class CL_ESH_TREX_INDEX_COMPILER has no exception.

Method REGISTER_FULLTEXTINDEX_UPDATES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_INDEX_METADATA Call by reference Type reference (TYPE) ESH_T_TREX_INDEX_METADATA Index Metadata 20130808
2 Importing IT_INDEX_METADATA_OLD Call by reference Type reference (TYPE) ESH_T_TREX_INDEX_METADATA Index Metadata (Old State / A Area) 20130808

Method REGISTER_FULLTEXTINDEX_UPDATES on class CL_ESH_TREX_INDEX_COMPILER has no exception.

Method UPDATE_HDB_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_FTX_ATTRIBUTES Call by reference Type reference (TYPE) ESH_T_HDB_FTX_ATTR Fulltext Index Attributes 20131030
2 Exporting EV_INDEXING Call by reference Type reference (TYPE) ESH_E_ADM_INDEXING_MODE Flag: Reindexing Required 20130225
3 Importing IT_ATTR_CHANGED Call by reference Type reference (TYPE) HDBT_ATTR_DEF Changed Attributes 20130225
4 Importing IT_ATTR_CREATED Call by reference Type reference (TYPE) HDBT_ATTR_DEF Created Attributes 20130225
5 Importing IT_ATTR_DEF Call by reference Type reference (TYPE) HDBT_ATTR_DEF Attribute Definitions (HDB Table) 20130225
6 Importing IT_ATTR_DELETED Call by reference Type reference (TYPE) HDBT_ATTR_DEF Deleted Attributes 20130225
7 Importing IV_TABLE_NAME Call by reference Type reference (TYPE) TREXD_INDEX_ID Table Name 20130225
# Exception Resumable Description Created on
1 CX_ESH_TREX_PROXY General ESH TREX Exception 20130225

Method UPDATE_INDEX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CONSTRAINTS Call by reference Type reference (TYPE) ESH_T_HDB_CONSTR Constraints for Application-Table Based Connector Nodes 20120802
2 Exporting ET_INDEX_IDS Call by reference Type reference (TYPE) ESH_T_INDEX_ID Index IDs to be set/adjusted 20090903
3 Exporting ET_INDEX_IDS_DEL Call by reference Type reference (TYPE) ESH_T_INDEX_ID Index IDs to be deleted 20110510
4 Importing IS_NODE_DATA Call by reference Type reference (TYPE) ESH_S_OM_TRANS_DELTA_NODES Node Data 20090903
# Exception Resumable Description Created on
1 CX_ESH_TREX_DYNAMIC Dynamic TREX Proxy Exception 20090903
2 CX_ESH_TREX_PROXY General ESH TREX Exception 20100407
3 CX_ESH_TREX_STATIC Static TREX Proxy Exception 20091202

Method UPDATE_TREX_INDEX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_INDEXING Call by reference Type reference (TYPE) ESH_E_ADM_INDEXING_MODE Flag: Reindexing Required 20090904
2 Importing IT_ATTR_CHANGED Call by reference Type reference (TYPE) TREXT_ATTR_DEF Changed Attributes 20090904
3 Importing IT_ATTR_CREATED Call by reference Type reference (TYPE) TREXT_ATTR_DEF Created Attributes 20090904
4 Importing IT_ATTR_DEF Call by reference Type reference (TYPE) TREXT_ATTR_DEF Attribute Definitions (TREX) 20090904
5 Importing IT_ATTR_DELETED Call by reference Type reference (TYPE) TREXT_ATTR_DEF Deleted Attributes 20090904
6 Importing IV_INDEX_ID Call by reference Type reference (TYPE) TREXD_INDEX_ID Index ID 20090904
# Exception Resumable Description Created on
1 CX_ESH_TREX_PROXY General ESH TREX exception 20090904
History
Last changed by/on SAP  20141121 
SAP Release Created in 730