SAP ABAP Class CL_RSDRH_HIER_CACHE (Hierarchy Cache)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-BEX-OT (Application Component) OLAP Technology
⤷
RSDRC (Package) Data Manager InfoProvider Read Access

⤷

⤷

Meta Relationship - Used By
# | Relationship type | Used by | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_RSDRH_HIER_CACHE_DB | Hierarchy Cache in DataBase | 20040524 |
2 | Inheritance (c INHERITING FROM c_ref) | CL_RSDRH_HIER_CACHE_TREX | Hierarchy Cache in DataBase | 20040628 |
Properties
Class | CL_RSDRH_HIER_CACHE | |
Short Description | Hierarchy Cache | |
Super Class | ||
Instantiability of a Class | 1 | Protected |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | RSDRC | Data Manager InfoProvider Read Access |
Created | 20040517 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
2 | ![]() |
Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
3 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
4 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
5 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_RSDRH_HIER_CACHE has no interface implemented.
Friends
# | Friend | Modeled only | Created on | Description |
---|---|---|---|---|
1 | CL_RSDRH_HIER_REST | 20040518 | Hierarchy Restriction |
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Public | Type reference (TYPE) | DBCON_NAME | IF_RSDRH_HIER_STORAGE=>N_C_HIER_CON | Database Connection | 20051207 | |
2 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | RS_BOOL | rs_c_true | Commit on default connection allowed | 20060602 | |
3 | ![]() |
Constant | Protected | Type reference (TYPE) | RSTIMESTMP | 0 | Initial timestamp | 20040524 | |
4 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | RSD_TABLNM | Directory Table for cache entries | 20040517 | ||
5 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | IF_RSDRH_HIER_STORAGE | Reference to a storage object | 20040518 | ||
6 | ![]() |
Instance attribute | Private | Type reference (TYPE) | TP_TH_MEM_CACHE | Cached restrictions of actual query | 20050211 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Protected | Method | Check whether entry is already buffered | 20050211 |
2 | ![]() |
Instance method | Protected | Method | Check whether entry is already buffered | 20040517 |
3 | ![]() |
Instance method | Protected | Method | Check whether entry is already buffered | 20050211 |
4 | ![]() |
Instance method | Protected | Method | Shrink the cache up to the specified threshold | 20040525 |
5 | ![]() |
Instance method | Public | Method | Cleanup a single entry after a query | 20040524 |
6 | ![]() |
Instance method | Public | Method | Cleans the complete Cache | 20040525 |
7 | ![]() |
Static method | Private | Method | Compare two hierarchy result tables | 20040524 |
8 | ![]() |
Instance method | Public | Constructor | CONSTRUCTOR | 20040518 |
9 | ![]() |
Instance method | Public | Method | Drops an entry of the cache | 20040517 |
10 | ![]() |
Instance method | Protected | Method | Insert new cache entry | 20040517 |
11 | ![]() |
Instance method | Public | Method | Invalidates a cache entry | 20040517 |
12 | ![]() |
Instance method | Public | Method | Invalidate all entries belonging to the specified hierarchy | 20040527 |
13 | ![]() |
Instance method | Protected | Method | Lock a buffer entry | 20040517 |
14 | ![]() |
Static method | Private | Method | 20040524 | |
15 | ![]() |
Instance method | Public | Method | Read a cache entry for a query | 20040517 |
16 | ![]() |
Instance method | Protected | Method | Unlock a cache entry | 20040517 |
17 | ![]() |
Instance method | Public | Method | Verify a single Cache Entry | 20040525 |
18 | ![]() |
Instance method | Public | Method | Verify the complete cache | 20040524 |
19 | ![]() |
Static method | Protected | Method | Append Message to table with messages | 20040525 |
Events
Class CL_RSDRH_HIER_CACHE has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TP_S_MEM_CACHE | Private | See coding | 20050211 | begin of TP_S_MEM_CACHE,
s_rest TYPE CL_RSDRH_HIER_REST=>TN_S_HIER_REST,
r_storage TYPE ref to IF_RSDRH_HIER_STORAGE,
end of tp_s_mem_cache
|
||
2 | TP_TH_MEM_CACHE | Private | See coding | 20050211 | TP_TH_MEM_CACHE type hashed table of tp_s_mem_cache
with unique key s_rest initial size 0
|
Method Signatures
Method ADD_MEM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_R_HIER_REST | Call by reference | Object reference (TYPE REF TO) | CL_RSDRH_HIER_REST | Hierarchy Resolution to read | 20050211 |
Method ADD_MEM on class CL_RSDRH_HIER_CACHE has no exception.
Method CHECK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_R_HIER_REST | Call by reference | Object reference (TYPE REF TO) | CL_RSDRH_HIER_REST | Hierarchy Resolution to read | 20040518 | ||
2 | ![]() |
I_TIMESTMP | Call by reference | Type reference (TYPE) | RSTIMESTMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20040518 |
Method CHECK on class CL_RSDRH_HIER_CACHE has no exception.
Method CHECK_MEM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_R_HIER_REST | Call by reference | Object reference (TYPE REF TO) | CL_RSDRH_HIER_REST | Hierarchy Resolution to read | 20050211 |
Method CHECK_MEM on class CL_RSDRH_HIER_CACHE has no exception.
Method CHECK_SHRINK Signature
Method CHECK_SHRINK on class CL_RSDRH_HIER_CACHE has no parameter.
Method CHECK_SHRINK on class CL_RSDRH_HIER_CACHE has no exception.
Method CLEANUP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_ACCESS_ID | Call by reference | Type reference (TYPE) | I | 20050429 | |||
2 | ![]() |
I_SEQ_NR | Value transfer | Type reference (TYPE) | I | 0 | Query Sequence Number | 20040524 | |
3 | ![]() |
I_TABLNM | Call by reference | Type reference (TYPE) | RSD_TABLNM | 20040524 |
Method CLEANUP on class CL_RSDRH_HIER_CACHE has no exception.
Method CLEANUP_ALL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
R_T_MSG | Value transfer | Type reference (TYPE) | RS_T_MSG | Messages | 20040525 |
Method CLEANUP_ALL on class CL_RSDRH_HIER_CACHE has no exception.
Method COMPARE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_TS_ADDITIONAL | Call by reference | Type reference (TYPE) | RRHI_TS_NODELEAF | 20040524 | |||
2 | ![]() |
E_TS_DIFFERENT | Call by reference | Type reference (TYPE) | RRHI_TS_NODELEAF | 20040524 | |||
3 | ![]() |
E_TS_MISSING | Call by reference | Type reference (TYPE) | RRHI_TS_NODELEAF | 20040524 | |||
4 | ![]() |
I_TH_CACHE_HIER | Call by reference | Type reference (TYPE) | IF_RSDRH_HIER_STORAGE=>TN_TH_HIER | Hierarchy from cache | 20040524 | ||
5 | ![]() |
I_TH_HIER | Call by reference | Type reference (TYPE) | IF_RSDRH_HIER_STORAGE=>TN_TH_HIER | hierarchy result to compare with | 20040524 |
Method COMPARE on class CL_RSDRH_HIER_CACHE has no exception.
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_COMMIT_ALLOWED | Call by reference | Type reference (TYPE) | RS_BOOL | Commit on default connection allowed | 20060602 | ||
2 | ![]() |
I_DIR_TABLE | Call by reference | Type reference (TYPE) | RSD_TABLNM | Directory Table | 20040518 | ||
3 | ![]() |
I_R_STORAGE | Call by reference | Object reference (TYPE REF TO) | IF_RSDRH_HIER_STORAGE | Dummy storage object | 20040524 |
Method CONSTRUCTOR on class CL_RSDRH_HIER_CACHE has no exception.
Method DROP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_S_HIER | Call by reference | Type reference (TYPE) | CL_RSDRH_HIER_REST=>TN_S_HIER_REST | Hierarchy Resolution to drop | 20040517 | ||
2 | ![]() |
I_TABLNM | Call by reference | Type reference (TYPE) | RSD_TABLNM | Name of table for Hierachy Resolution | 20040524 |
Method DROP on class CL_RSDRH_HIER_CACHE has no exception.
Method INSERT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_R_HIER_REST | Call by reference | Object reference (TYPE REF TO) | CL_RSDRH_HIER_REST | Hierarchy Restriction | 20040518 | ||
2 | ![]() |
I_TIMESTMP | Call by reference | Type reference (TYPE) | RSTIMESTMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20040518 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Kein Commit bei Query-Bearbeitung erlaubt | 20060602 | |
2 | ![]() |
Hierarchie-Objekt (Knoten/Blatt) nicht gefunden | 20040518 | |
3 | ![]() |
Hierarchie nicht gefunden | 20040518 |
Method INVALIDATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_S_HIER | Call by reference | Type reference (TYPE) | CL_RSDRH_HIER_REST=>TN_S_HIER_REST | Hierarchy Resolution to invalidate | 20040517 |
Method INVALIDATE on class CL_RSDRH_HIER_CACHE has no exception.
Method INVALIDATE_HIERARCHY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_HIESID | Call by reference | Type reference (TYPE) | RRHI_HIESID | Hierarchy to invalidate | 20040527 | ||
2 | ![]() |
I_NODESID | Call by reference | Type reference (TYPE) | RSSID | Stammdaten ID | 20050620 | ||
3 | ![]() |
I_SVER | Call by reference | Type reference (TYPE) | RRHI_SVER | Version of Hierarchy | 20040527 |
Method INVALIDATE_HIERARCHY on class CL_RSDRH_HIER_CACHE has no exception.
Method LOCK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_DEL_TIMESTMP | Call by reference | Type reference (TYPE) | RSTIMESTMP | O_C_TIMESTMP_INI | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20040524 | |
2 | ![]() |
I_S_HIER | Call by reference | Type reference (TYPE) | CL_RSDRH_HIER_REST=>TN_S_HIER_REST | Hierarchy Resolution to read | 20040518 |
Method LOCK on class CL_RSDRH_HIER_CACHE has no exception.
Method MESSAGE_APPEND Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
C_T_MSG | Call by reference | Type reference (TYPE) | RS_T_MSG | BW: Tabelle mit Nachrichten (Application Log Protokoll) | 20040524 | ||
2 | ![]() |
I_MSGNO | Call by reference | Type reference (TYPE) | RS_S_MSG-MSGNO | 20040524 | |||
3 | ![]() |
I_TS_NODELEAF | Call by reference | Type reference (TYPE) | RRHI_TS_NODELEAF | 20040524 |
Method MESSAGE_APPEND on class CL_RSDRH_HIER_CACHE has no exception.
Method READ Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_R_HIER_REST | Call by reference | Object reference (TYPE REF TO) | CL_RSDRH_HIER_REST | Hierarchy Resolution to read | 20040518 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Kein Commit bei Query-Bearbeitung erlaubt | 20060602 | |
2 | ![]() |
Hierarchie-Objekt (Knoten/Blatt) nicht gefunden | 20040518 | |
3 | ![]() |
Hierarchie nicht gefunden | 20040518 |
Method UNLOCK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_DEL_TIMESTMP | Call by reference | Type reference (TYPE) | RSTIMESTMP | O_C_TIMESTMP_INI | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20040524 | |
2 | ![]() |
I_S_HIER | Call by reference | Type reference (TYPE) | CL_RSDRH_HIER_REST=>TN_S_HIER_REST | Hierarchy Resolution to read | 20040518 |
Method UNLOCK on class CL_RSDRH_HIER_CACHE has no exception.
Method VERIFY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_TS_ADDITIONAL | Call by reference | Type reference (TYPE) | RRHI_TS_NODELEAF | 20040525 | |||
2 | ![]() |
E_TS_DIFFERENT | Call by reference | Type reference (TYPE) | RRHI_TS_NODELEAF | 20040525 | |||
3 | ![]() |
E_TS_MISSING | Call by reference | Type reference (TYPE) | RRHI_TS_NODELEAF | 20040525 | |||
4 | ![]() |
I_S_HIER | Call by reference | Type reference (TYPE) | CL_RSDRH_HIER_REST=>TN_S_HIER_REST | 20040525 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Kein Commit bei Query-Bearbeitung erlaubt | 20060602 | |
2 | ![]() |
Hierarchie-Objekt (Knoten/Blatt) nicht gefunden | 20040525 | |
3 | ![]() |
Hierarchie nicht gefunden | 20040525 |
Method VERIFY_ALL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
R_T_MSG | Value transfer | Type reference (TYPE) | RS_T_MSG | BW: Tabelle mit Nachrichten (Application Log Protokoll) | 20040524 |
Method VERIFY_ALL on class CL_RSDRH_HIER_CACHE has no exception.
Method WRITE_MSG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
C_T_MSG | Call by reference | Type reference (TYPE) | RS_T_MSG | BW: Tabelle mit Nachrichten (Application Log Protokoll) | 20040525 | ||
2 | ![]() |
I_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | 'DBMAN' | Nachrichten, Nachrichtenklasse | 20040525 | |
3 | ![]() |
I_MSGNO | Call by reference | Type reference (TYPE) | RS_S_MSG-MSGNO | 20040525 | |||
4 | ![]() |
I_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | 'E' | Nachrichten, Nachrichtentyp | 20040525 | |
5 | ![]() |
I_MSGV1 | Call by reference | Type reference (TYPE) | C | 20040525 | |||
6 | ![]() |
I_MSGV2 | Call by reference | Type reference (TYPE) | C | 20040525 | |||
7 | ![]() |
I_MSGV3 | Call by reference | Type reference (TYPE) | C | 20040525 | |||
8 | ![]() |
I_MSGV4 | Call by reference | Type reference (TYPE) | C | 20040525 |
Method WRITE_MSG on class CL_RSDRH_HIER_CACHE has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 400 |