SAP ABAP Class /BCV/CL_QRM_QUERY_STAT (Query Statistics)
Hierarchy
☛
SAP_BS_FND (Software Component) SAP Business Suite Foundation
⤷
CA-EPT-BCV (Application Component) Business Context Viewer
⤷
/BCV/QRM (Package) BCV Query Management Layer
⤷
⤷
Properties
| Class | /BCV/CL_QRM_QUERY_STAT | |
| Short Description | Query Statistics | |
| 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 | 20090211 | 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 /BCV/CL_QRM_QUERY_STAT has no interface implemented.
Friends
Class /BCV/CL_QRM_QUERY_STAT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | STRING | '/BCV/D_QSTAT' | Name of Query Statistics Table in DB | 20090211 | ||
| 2 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_ABAP_RUNTIME | Timer | 20090211 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | BOOLE_D | Query Processing Aborted | 20090211 | |||
| 4 | Static Attribute | Private | Type reference (TYPE) | BOOLE_D | Query Result Read from Cache | 20090211 | |||
| 5 | Static Attribute | Private | Type reference (TYPE) | /BCV/QRM_QUERY_ID | ID of Query Currently Measured | 20090211 | |||
| 6 | Static Attribute | Private | Type reference (TYPE) | INT4 | Number of Query Result Lines | 20090211 | |||
| 7 | Static Attribute | Private | Type reference (TYPE) | SYDATUM | Date of Measurement Start | 20090211 | |||
| 8 | Static Attribute | Private | Type reference (TYPE) | INT4 | Value of Timer at Start of Measurement | 20090211 | |||
| 9 | Static Attribute | Private | Type reference (TYPE) | INT4 | Value of Timer at Stop of Measurement | 20090211 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20090211 | |
| 2 | Static method | Public | Method | Delete Query Statistics from DB | 20091022 | |
| 3 | Static method | Public | Method | Read Query Statistics from DB | 20090211 | |
| 4 | Static method | Public | Method | Start Measurement of Query Processing | 20090211 | |
| 5 | Static method | Public | Method | Stop Measurement of Query Processing | 20090211 | |
| 6 | Static method | Public | Method | Update Query Statistics in DB by Latest Measurement | 20090211 |
Events
Class /BCV/CL_QRM_QUERY_STAT has no event.
Types
Class /BCV/CL_QRM_QUERY_STAT has no local type.
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class /BCV/CL_QRM_QUERY_STAT has no parameter.
Method CLASS_CONSTRUCTOR on class /BCV/CL_QRM_QUERY_STAT has no exception.
Method DELETE_STATISTICS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_QUERY_ID | Call by reference | Type reference (TYPE) | /BCV/QRM_QUERY_ID | Query ID | 20091022 |
Method DELETE_STATISTICS on class /BCV/CL_QRM_QUERY_STAT has no exception.
Method READ_STATISTICS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_STATISTICS | Call by reference | Type reference (TYPE) | /BCV/S_QRM_QUERY_STATISTICS | Statistics of Given Query | 20090211 | |||
| 2 | ET_STATISTICS | Call by reference | Type reference (TYPE) | /BCV/T_QRM_QUERY_STATISTICS | Statistics of All Queries (if Query ID not Provided) | 20090211 | |||
| 3 | IV_QUERY_ID | Call by reference | Type reference (TYPE) | /BCV/QRM_QUERY_ID | Query ID | 20090211 |
Method READ_STATISTICS on class /BCV/CL_QRM_QUERY_STAT has no exception.
Method START_MEASUREMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_QUERY_ID | Call by reference | Type reference (TYPE) | /BCV/QRM_QUERY_ID | Query ID | 20090211 |
Method START_MEASUREMENT on class /BCV/CL_QRM_QUERY_STAT has no exception.
Method STOP_MEASUREMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ABORTED | Call by reference | Type reference (TYPE) | BOOLE_D | ABAP_FALSE | Query Processing Aborted | 20090211 | ||
| 2 | IV_CACHED | Call by reference | Type reference (TYPE) | BOOLE_D | ABAP_FALSE | Query Result Read from Cache | 20090211 | ||
| 3 | IV_RESULT_LINES | Call by reference | Type reference (TYPE) | INT4 | 0 | Number of Query Result Lines | 20090211 |
Method STOP_MEASUREMENT on class /BCV/CL_QRM_QUERY_STAT has no exception.
Method UPDATE_STATISTICS Signature
Method UPDATE_STATISTICS on class /BCV/CL_QRM_QUERY_STAT has no parameter.
Method UPDATE_STATISTICS on class /BCV/CL_QRM_QUERY_STAT has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 702 |