Hierarchy

⤷

⤷

Properties
Class | /BCV/CL_QRM_CACHE | |
Short Description | Query result caching | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | /BCV/QRM | BCV Query Management Layer |
Created | 20090113 | SAP |
Last change | 20130531 | 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 /BCV/CL_QRM_CACHE has no interface implemented.
Friends
Class /BCV/CL_QRM_CACHE has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Private | Type reference (TYPE) | /BCV/QRM_CACHE_DURATION | '10000' | Cache duration | 20090123 | |
2 | ![]() |
Constant | Private | Type reference (TYPE) | /BCV/QRM_RELATION_ID | 'ST' | Relation ID | 20090121 | |
3 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'RESULT_ID' | 20090116 | ||
4 | ![]() |
Constant | Public | Type reference (TYPE) | /BCV/QRM_CACHE_STATUS | 'C' | Cache status | 20090119 | |
5 | ![]() |
Constant | Public | Type reference (TYPE) | /BCV/QRM_CACHE_STATUS | 'U' | Cache status | 20090119 | |
6 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'TIME_END' | 20090123 | ||
7 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'TIME_START' | 20090116 | ||
8 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'VARIABLE_DATA' | 20090116 | ||
9 | ![]() |
Static Attribute | Private | Type reference (TYPE) | /BCV/T_QRM_CACHE_DURATION | Query cache durations | 20090430 | ||
10 | ![]() |
Static Attribute | Private | Type reference (TYPE) | /BCV/QRM_CACHE_AUTO_DELETE | ABAP_TRUE | Automatical cache clean up | 20090210 | |
11 | ![]() |
Static Attribute | Private | Type reference (TYPE) | /BCV/QRM_CACHE_DURATION | '10000' | Cache duration | 20090210 | |
12 | ![]() |
Static Attribute | Private | Type reference (TYPE) | TIMESTAMP | Now | 20090121 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Private | Method | Clean up the users cache if possible | 20090121 |
2 | ![]() |
Static method | Private | Method | Create hash key | 20090119 |
3 | ![]() |
Static method | Private | Method | Create ID | 20090122 |
4 | ![]() |
Static method | Private | Method | Create mapping between REQUEST_ID and RESULT_ID | 20090116 |
5 | ![]() |
Static method | Public | Method | Create result | 20090212 |
6 | ![]() |
Static method | Private | Method | Create workarea for cache data | 20090116 |
7 | ![]() |
Static method | Private | Method | Create internal table for cache data | 20090116 |
8 | ![]() |
Static method | Public | Method | Delete cache data that was created before a given date | 20090126 |
9 | ![]() |
Static method | Public | Method | Delete cache data for given queries | 20090304 |
10 | ![]() |
Static method | Public | Method | Delete cache data for given search IDs | 20090309 |
11 | ![]() |
Static method | Public | Method | Delete expired cache data of given user | 20090126 |
12 | ![]() |
Static method | Public | Method | Delete all cache data of given user | 20090210 |
13 | ![]() |
Static method | Private | Method | Delete the cache data from the database | 20090304 |
14 | ![]() |
Static method | Public | Method | Delete orphaned cache data | 20090126 |
15 | ![]() |
Static method | Private | Method | Get duration of cache validity period | 20090119 |
16 | ![]() |
Static method | Public | Method | Get result | 20090212 |
17 | ![]() |
Static method | Private | Method | Get result ID | 20090114 |
18 | ![]() |
Static method | Private | Method | Get expiry time of cache data | 20090114 |
19 | ![]() |
Static method | Private | Method | Get TIME_NOW | 20090123 |
20 | ![]() |
Static method | Private | Method | Get creation time of cache data | 20090119 |
21 | ![]() |
Static method | Private | Method | Check if given time is still in validity period | 20090119 |
22 | ![]() |
Static method | Private | Method | Lock cache | 20090122 |
23 | ![]() |
Static method | Private | Method | Set duration of cache validity period | 20090429 |
24 | ![]() |
Static method | Private | Method | Set TIME_NOW | 20090121 |
25 | ![]() |
Static method | Private | Method | Skip caching? | 20090123 |
26 | ![]() |
Static method | Public | Method | Split requests into new and old ones | 20090116 |
27 | ![]() |
Static method | Private | Method | Unlock cache | 20090122 |
Events
Class /BCV/CL_QRM_CACHE has no event.
Types
Class /BCV/CL_QRM_CACHE has no local type.
Method Signatures
Method CLEAN_UP Signature
Method CLEAN_UP on class /BCV/CL_QRM_CACHE has no parameter.
Method CLEAN_UP on class /BCV/CL_QRM_CACHE has no exception.
Method CREATE_HASH_KEY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_DATA | Call by reference | Type reference (TYPE) | ANY | 20090119 | |||
2 | ![]() |
RV_HASH_KEY | Value transfer | Type reference (TYPE) | /BCV/QRM_CACHE_HASH_KEY | Hash key | 20090119 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception class for QRM Cache | 20090120 |
Method CREATE_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RV_ID | Value transfer | Type reference (TYPE) | /BCV/QRM_ID | ID | 20090122 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception class for QRM Cache | 20090122 |
Method CREATE_REQRES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_CACHE_ID | Call by reference | Type reference (TYPE) | /BCV/QRM_CACHE_ID | Cache ID | 20090121 | ||
2 | ![]() |
IV_QUERY_ID | Call by reference | Type reference (TYPE) | /BCV/QRM_QUERY_ID | Query ID | 20090304 | ||
3 | ![]() |
IV_REQUEST_ID | Call by reference | Type reference (TYPE) | /BCV/QRM_QUERY_REQUEST_ID | Query Request ID | 20090116 | ||
4 | ![]() |
IV_RESULT_ID | Call by reference | Type reference (TYPE) | /BCV/QRM_RESULT_ID | Result ID | 20090116 | ||
5 | ![]() |
IV_STATUS | Call by reference | Type reference (TYPE) | /BCV/QRM_CACHE_STATUS | Cache status | 20090119 |
Method CREATE_REQRES on class /BCV/CL_QRM_CACHE has no exception.
Method CREATE_RESULT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_RESULT | Call by reference | Type reference (TYPE) | INDEX TABLE | 20090212 | |||
2 | ![]() |
IT_EXCEPTION | Call by reference | Type reference (TYPE) | /BCV/T_FND_EXCEPTION | Exeptions table | 20090212 | ||
3 | ![]() |
IT_MESSAGE | Call by reference | Type reference (TYPE) | /BCV/T_FND_MESSAGES | Messages | 20090212 | ||
4 | ![]() |
IT_METADATA | Call by reference | Type reference (TYPE) | /BCV/T_QRM_QUERY_RES_ATTR_EXT | 20090212 | |||
5 | ![]() |
IV_QUERY | Call by reference | Type reference (TYPE) | /BCV/QRM_QUERY_ID | 20090212 | |||
6 | ![]() |
IV_REQUEST_ID | Call by reference | Type reference (TYPE) | /BCV/QRM_QUERY_REQUEST_ID | 20090212 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception class for QRM Cache | 20090212 |
Method CREATE_STRUCTURE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ER_STRUCTURE | Value transfer | Object reference (TYPE REF TO) | DATA | Reference to cache structure | 20090116 | ||
2 | ![]() |
IV_QUERY_ID | Call by reference | Type reference (TYPE) | /BCV/QRM_QUERY_ID | Query ID | 20090119 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception class for QRM Cache | 20090120 |
Method CREATE_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ER_TABLE | Value transfer | Object reference (TYPE REF TO) | DATA | Reference to cache table | 20090116 | ||
2 | ![]() |
IV_QUERY_ID | Call by reference | Type reference (TYPE) | /BCV/QRM_QUERY_ID | Query ID | 20090119 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception class for QRM Cache | 20090120 |
Method DELETE_BY_DATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_TIME_START | Call by reference | Type reference (TYPE) | /BCV/QRM_CACHE_TIME_START | Timestamp when cache was created | 20090126 |
Method DELETE_BY_DATE on class /BCV/CL_QRM_CACHE has no exception.
Method DELETE_BY_QUERY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_QUERY_ID | Call by reference | Type reference (TYPE) | /BCV/T_QRM_QUERY_ID | Query ID Table | 20090304 |
Method DELETE_BY_QUERY on class /BCV/CL_QRM_CACHE has no exception.
Method DELETE_BY_SEARCH_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_SEARCH_ID | Call by reference | Type reference (TYPE) | /BCV/T_SIN_SEARCH_ID | Search ID Table | 20090309 |
Method DELETE_BY_SEARCH_ID on class /BCV/CL_QRM_CACHE has no exception.
Method DELETE_BY_USER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_UNAME | Call by reference | Type reference (TYPE) | /BCV/QRM_CACHE_UNAME | SY-UNAME | User Name | 20090126 |
Method DELETE_BY_USER on class /BCV/CL_QRM_CACHE has no exception.
Method DELETE_BY_USER2 Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_UNAME | Call by reference | Type reference (TYPE) | /BCV/QRM_CACHE_UNAME | SY-UNAME | User Name | 20090210 |
Method DELETE_BY_USER2 on class /BCV/CL_QRM_CACHE has no exception.
Method DELETE_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_CACHE_ID | Call by reference | Type reference (TYPE) | /BCV/T_QRM_CACHE_ID | Table of cache IDs | 20090304 | ||
2 | ![]() |
IT_REQRES | Call by reference | Type reference (TYPE) | /BCV/T_QRM_REQRES | Mapping table between query requests and results | 20090304 | ||
3 | ![]() |
IT_RESULT_ID | Call by reference | Type reference (TYPE) | /BCV/T_QRM_RESULT_ID | Table of result IDs | 20090304 |
Method DELETE_DATA on class /BCV/CL_QRM_CACHE has no exception.
Method DELETE_ORPHANS Signature
Method DELETE_ORPHANS on class /BCV/CL_QRM_CACHE has no parameter.
Method DELETE_ORPHANS on class /BCV/CL_QRM_CACHE has no exception.
Method GET_DURATION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RV_DURATION | Value transfer | Type reference (TYPE) | /BCV/QRM_CACHE_DURATION | Cache duration | 20090119 |
Method GET_DURATION on class /BCV/CL_QRM_CACHE has no exception.
Method GET_RESULT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_RESULT | Call by reference | Type reference (TYPE) | /BCV/S_QRM_RESULT | Query result cache | 20090212 | ||
2 | ![]() |
ET_METADATA | Call by reference | Type reference (TYPE) | /BCV/T_QRM_QUERY_RES_ATTR_EXT | Query Result Attribute Table (external view) | 20090212 | ||
3 | ![]() |
EV_FOUND | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20090212 | ||
4 | ![]() |
IV_QUERY_ID | Call by reference | Type reference (TYPE) | /BCV/QRM_QUERY_ID | Query ID | 20090212 | ||
5 | ![]() |
IV_REQUEST_ID | Call by reference | Type reference (TYPE) | /BCV/QRM_QUERY_REQUEST_ID | Query Request ID | 20090212 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception class for QRM Cache | 20090212 |
Method GET_RESULT_ID 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) | /BCV/QRM_QUERY_REQUEST_ID | Query Request ID | 20090114 | ||
2 | ![]() |
RV_RESULT_ID | Value transfer | Type reference (TYPE) | /BCV/QRM_RESULT_ID | Result ID | 20090114 |
Method GET_RESULT_ID on class /BCV/CL_QRM_CACHE has no exception.
Method GET_TIME_END Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RV_TIME_END | Value transfer | Type reference (TYPE) | /BCV/QRM_CACHE_TIME_END | Timestamp when cache validity expires | 20090114 |
Method GET_TIME_END on class /BCV/CL_QRM_CACHE has no exception.
Method GET_TIME_NOW Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RV_TIME_NOW | Value transfer | Type reference (TYPE) | TIMESTAMP | Now | 20090123 |
Method GET_TIME_NOW on class /BCV/CL_QRM_CACHE has no exception.
Method GET_TIME_START Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RV_TIME_START | Value transfer | Type reference (TYPE) | /BCV/QRM_CACHE_TIME_START | Timestamp when cache was created | 20090119 |
Method GET_TIME_START on class /BCV/CL_QRM_CACHE has no exception.
Method IS_VALID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_TIME_END | Call by reference | Type reference (TYPE) | /BCV/QRM_CACHE_TIME_END | Timestamp when cache validity expires | 20090123 | ||
2 | ![]() |
RV_VALID | Value transfer | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20090119 |
Method IS_VALID on class /BCV/CL_QRM_CACHE has no exception.
Method LOCK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_CONTEXT_KEY | Call by reference | Type reference (TYPE) | /BCV/FND_CONTEXT_KEY | Context Key | 20090122 | ||
2 | ![]() |
IV_QUERY_ID | Call by reference | Type reference (TYPE) | /BCV/QRM_QUERY_ID | Query ID | 20090122 | ||
3 | ![]() |
IV_UNAME | Call by reference | Type reference (TYPE) | /BCV/QRM_CACHE_UNAME | User Name | 20090122 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception class for QRM Cache | 20090122 |
Method SET_DURATION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_CONTEXT_KEY | Call by reference | Type reference (TYPE) | /BCV/FND_CONTEXT_KEY | Context Key | 20090429 | ||
2 | ![]() |
IV_QUERY_ID | Call by reference | Type reference (TYPE) | /BCV/QRM_QUERY_ID | Query ID | 20090429 |
Method SET_DURATION on class /BCV/CL_QRM_CACHE has no exception.
Method SET_TIME_NOW Signature
Method SET_TIME_NOW on class /BCV/CL_QRM_CACHE has no parameter.
Method SET_TIME_NOW on class /BCV/CL_QRM_CACHE has no exception.
Method SKIP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RV_SKIP | Value transfer | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20090123 |
Method SKIP on class /BCV/CL_QRM_CACHE has no exception.
Method SPLIT_REQUEST Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_REQUEST_NEW | Call by reference | Type reference (TYPE) | /BCV/T_QRM_QUERY_REQUEST | Query request table | 20090116 | ||
2 | ![]() |
ET_REQUEST_OLD | Call by reference | Type reference (TYPE) | /BCV/T_QRM_QUERY_REQUEST | Query request table | 20090116 | ||
3 | ![]() |
IT_REQUEST | Call by reference | Type reference (TYPE) | /BCV/T_QRM_QUERY_REQUEST | Query request table | 20090116 | ||
4 | ![]() |
IV_REFRESH | Call by reference | Type reference (TYPE) | /BCV/QRM_CACHE_REFRESH | ABAP_FALSE | Refresh cache | 20090119 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception class for QRM Cache | 20090120 |
Method UNLOCK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_CONTEXT_KEY | Call by reference | Type reference (TYPE) | /BCV/FND_CONTEXT_KEY | Context Key | 20090122 | ||
2 | ![]() |
IV_QUERY_ID | Call by reference | Type reference (TYPE) | /BCV/QRM_QUERY_ID | Query ID | 20090122 | ||
3 | ![]() |
IV_UNAME | Call by reference | Type reference (TYPE) | /BCV/QRM_CACHE_UNAME | User Name | 20090122 |
Method UNLOCK on class /BCV/CL_QRM_CACHE has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 702 |