SAP ABAP Class CL_HDB_EXPLAIN_INSTANCE (HDB: Instance / Result of an EXPLAIN execution)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
HAN-DB (Application Component) SAP HANA Database
⤷
SDBA_HDB (Package) DBACOCKPIT for NewDB (HDB)
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_DBA_EXPLAIN_INSTANCE | General Explain Instance | 20120402 |
Properties
| Class | CL_HDB_EXPLAIN_INSTANCE | |
| Short Description | HDB: Instance / Result of an EXPLAIN execution | |
| Super Class | CL_DBA_EXPLAIN_INSTANCE | General Explain Instance |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SDBA_HDB | DBACOCKPIT for NewDB (HDB) |
| Created | 20120402 | 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 CL_HDB_EXPLAIN_INSTANCE has no interface implemented.
Friends
Class CL_HDB_EXPLAIN_INSTANCE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | DBCON_NAME | Logical name for a database connection | 20121122 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | STRING | HDB: strin which contains the xml file for the statement | 20120515 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | DBAXPLDETOBJ_TAB | HDB: General Details Data | 20120425 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | HDB_EXPLAIN_PLAN_TAB | HDB: Table SYS.EXPLAIN_PLAN_TABLE | 20120410 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | HDB_SCHEMA_NAME | Statement name | 20120404 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | build key table with EXPLAIN objects for XML generation | 20120411 | |
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20120402 | |
| 3 | Instance method | Private | Method | HDB: create explain model column objects | 20120502 | |
| 4 | Instance method | Private | Method | HDB: create explain model index objects | 20120503 | |
| 5 | Instance method | Private | Method | HDB: Get Index Access Details | 20120508 | |
| 6 | Instance method | Private | Method | HDB: get costs detail object for given operator id | 20120416 | |
| 7 | Instance method | Private | Method | HDB: Build Table and Index Object Models | 20120424 | |
| 8 | Instance method | Private | Method | HDB: get costs detail object for given operator id | 20120416 | |
| 9 | Instance method | Private | Method | HDB: determine leg type of node (JOIN orders) | 20120416 | |
| 10 | Instance method | Private | Method | get argument list object for given operator | 20120412 | |
| 11 | Instance method | Private | Method | HDB: Paree XML and build plan nodes | 20120515 | |
| 12 | Instance method | Private | Method | HDB: Read explain tables for statement id | 20120404 |
Events
Class CL_HDB_EXPLAIN_INSTANCE has no event.
Types
Class CL_HDB_EXPLAIN_INSTANCE has no local type.
Method Signatures
Method BUILD_EXPLAIN_NODES Signature
Method BUILD_EXPLAIN_NODES on class CL_HDB_EXPLAIN_INSTANCE has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DBA Cockpit: ADBC Errors | 20120427 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DBCNAME_2 | Call by reference | Type reference (TYPE) | DBCON_NAME | Description of Database Connections | 20121122 | |||
| 2 | EXPLAIN_XML | Call by reference | Type reference (TYPE) | STRING | 20120515 | ||||
| 3 | STATEMENT_NAME | Call by reference | Type reference (TYPE) | HDB_SCHEMA_NAME | Character field length 26 | 20120404 | |||
| 4 | SYS_REF | Call by reference | Object reference (TYPE REF TO) | CL_DB6_SYS | DB6: Remote System Administration | 20120402 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DBA Cockpit: ADBC Errors | 20120515 | ||
| 2 | DBA Cockpit: XML parser error | 20120515 |
Method CREATE_XPLM_COLUMN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COLUMNS_DEF | Call by reference | Type reference (TYPE) | HDB_TABLE_COLUMNS_TAB | Table columns | 20120504 | |||
| 2 | INDEXES_DEF | Call by reference | Type reference (TYPE) | HDB_INDEXES_TAB | Fields of views INDEXES joined with INDEX_COLUMNS | 20120504 | |||
| 3 | INVOLVED_COLUMNS | Value transfer | Type reference (TYPE) | DBAXPLM_ICOL_TAB | DBA EXPLAIN Model: Table Column | 20120504 | |||
| 4 | SCHEMA_NAME | Call by reference | Type reference (TYPE) | STRING | 20120502 | ||||
| 5 | TABLE_NAME | Call by reference | Type reference (TYPE) | STRING | 20120502 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DBA Cockpit: ADBC Errors | 20120502 |
Method CREATE_XPLM_INDEX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INDEXES | Value transfer | Type reference (TYPE) | DBAXPLM_IIX_TAB | DBA EXPLAIN Model: involved index list | 20120503 | |||
| 2 | INDEX_DESCR | Call by reference | Type reference (TYPE) | HDB_INDEXES_TAB | Fields of views INDEXES joined with INDEX_COLUMNS | 20120503 | |||
| 3 | INVOLVED_COLUMNS | Call by reference | Type reference (TYPE) | DBAXPLM_ICOL_TAB | DBA EXPLAIN Model: Table of DBAXPLM_ICOL | 20120504 | |||
| 4 | SCHEMA_NAME | Call by reference | Type reference (TYPE) | STRING | 20120503 | ||||
| 5 | TABLE_NAME | Call by reference | Type reference (TYPE) | STRING | 20120503 |
Method CREATE_XPLM_INDEX on class CL_HDB_EXPLAIN_INSTANCE has no exception.
Method GET_ACCESS_DETAILS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INDEX_NAME | Value transfer | Type reference (TYPE) | STRING | 20120508 | ||||
| 2 | INVOLVED_COLUMNS | Call by reference | Type reference (TYPE) | DBAXPLM_ICOL_TAB | DBA EXPLAIN Model: Table of DBAXPLM_ICOL | 20120508 | |||
| 3 | INVOLVED_INDEXES | Call by reference | Type reference (TYPE) | DBAXPLM_IIX_TAB | DBA EXPLAIN Model: involved index list | 20120508 | |||
| 4 | KEY_COLCNT | Call by reference | Type reference (TYPE) | I | 20120508 | ||||
| 5 | KEY_COLS | Call by reference | Type reference (TYPE) | STRING | 20120508 | ||||
| 6 | OP_ID | Call by reference | Type reference (TYPE) | I | 20120508 | ||||
| 7 | SCHEMA_NAME | Value transfer | Type reference (TYPE) | STRING | 20120508 | ||||
| 8 | TABLE_NAME | Value transfer | Type reference (TYPE) | STRING | 20120508 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DBA Cockpit: ADBC Errors | 20120508 |
Method GET_ARGUMENT_DETAIL_ELEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DETAIL_OBJ | Value transfer | Object reference (TYPE REF TO) | CL_DBA_XPLM_NODEDETAILS | EXPLAIN detail table | 20120416 | |||
| 2 | IS_INDEX | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20120426 | |||
| 3 | OP_ID | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20120416 |
Method GET_ARGUMENT_DETAIL_ELEM on class CL_HDB_EXPLAIN_INSTANCE has no exception.
Method GET_CATALOG_OBJECT_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INVOLVED_COLUMNS | Call by reference | Type reference (TYPE) | DBAXPLM_ICOL_TAB | DBA EXPLAIN Model: Table of DBAXPLM_ICOL | 20120503 | |||
| 2 | INVOLVED_INDEX | Call by reference | Type reference (TYPE) | DBAXPLM_IIX_TAB | DBA EXPLAIN Model: involved index list | 20120503 | |||
| 3 | OP_ID | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20120424 | |||
| 4 | TABLE_OBJ | Value transfer | Object reference (TYPE REF TO) | CL_DBA_XPLM_TABLE | DBA EXPLAIN Model: Table | 20120424 |
Method GET_CATALOG_OBJECT_TABLE on class CL_HDB_EXPLAIN_INSTANCE has no exception.
Method GET_COST_DETAIL_ELEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DETAIL_OBJ | Value transfer | Object reference (TYPE REF TO) | CL_DBA_XPLM_NODEDETAILS | EXPLAIN detail table | 20120416 | |||
| 2 | OP_ID | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20120416 |
Method GET_COST_DETAIL_ELEM on class CL_HDB_EXPLAIN_INSTANCE has no exception.
Method GET_JOIN_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | JOIN_TYPE | Value transfer | Type reference (TYPE) | STRING | 20120416 | ||||
| 2 | OP_NAME | Call by reference | Type reference (TYPE) | STRING | 20120416 |
Method GET_JOIN_TYPE on class CL_HDB_EXPLAIN_INSTANCE has no exception.
Method GET_NODE_DETAIL_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NODE_INFO | Value transfer | Object reference (TYPE REF TO) | CL_DBA_XPLM_NODE_INFO | DBA Explain Model: Node Summary Info | 20120412 | |||
| 2 | OP_ID | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20120412 |
Method GET_NODE_DETAIL_INFO on class CL_HDB_EXPLAIN_INSTANCE has no exception.
Method PARSE_XML_AND_BUILD_PLAN_NODES Signature
Method PARSE_XML_AND_BUILD_PLAN_NODES on class CL_HDB_EXPLAIN_INSTANCE has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DBA Cockpit: XML parser error | 20120515 |
Method READ_EXPLAIN_TABLES Signature
Method READ_EXPLAIN_TABLES on class CL_HDB_EXPLAIN_INSTANCE has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DBA Cockpit: ADBC Errors | 20120404 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 740 |