SAP ABAP Class CL_RSDBC_METADATA (Method to Describe DB Objects)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-WHM-DST (Application Component) Data Staging
⤷
RSDL (Package) BW: DB Connect - SDK Connect
⤷
⤷
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_RSDBC_METADATA_HANA_SDA | HANA Smart Data Access | 20130806 |
| 2 | Inheritance (c INHERITING FROM c_ref) | CL_RSDBC_METADATA_HDB | SQL Metadata with long names for HDB | 20130716 |
Properties
| Class | CL_RSDBC_METADATA | |
| Short Description | Method to Describe DB Objects | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RSDL | BW: DB Connect - SDK Connect |
| Created | 20130715 | SAP |
| Last change | 20140121 | 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) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_RSDBC_METADATA has no interface implemented.
Friends
Class CL_RSDBC_METADATA has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | ADBC_IDENTIFIER_STORE_METHOD | 'L' | 20130715 | |||
| 2 | Constant | Public | Type reference (TYPE) | ADBC_IDENTIFIER_STORE_METHOD | 'M' | 20130715 | |||
| 3 | Constant | Public | Type reference (TYPE) | ADBC_TABLE_TYPE | 'M' | 20130715 | |||
| 4 | Constant | Public | Type reference (TYPE) | ADBC_TABLE_TYPE | 'R' | 20130715 | |||
| 5 | Constant | Public | Type reference (TYPE) | ADBC_TABLE_TYPE | 'S' | 20130715 | |||
| 6 | Constant | Public | Type reference (TYPE) | ADBC_TABLE_TYPE | 'T' | 20130715 | |||
| 7 | Constant | Public | Type reference (TYPE) | ADBC_TABLE_TYPE | 'V' | 20130715 | |||
| 8 | Constant | Public | Type reference (TYPE) | ADBC_IDENTIFIER_STORE_METHOD | 'U' | 20130715 | |||
| 9 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_SQL_METADATA | Method to Describe DB Objects | 20130715 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Constructor | Constructor | 20130715 | |
| 2 | Static method | Public | Method | 20130822 | ||
| 3 | Static method | Public | Method | 20130715 | ||
| 4 | Instance method | Public | Method | Supplies All Columns of Table | 20130715 | |
| 5 | Instance method | Public | Method | Supplies the DB Connection That Creates the Metadata Object | 20130715 | |
| 6 | Instance method | Public | Method | Describes Storage Form of Identifiers in DB Catalog | 20130715 | |
| 7 | Instance method | Public | Method | 20130715 | ||
| 8 | Instance method | Public | Method | Returns the Primary Key Fields of a Table | 20130715 | |
| 9 | Instance method | Public | Method | Supplies All DB Schemas for Specified Selection Criteria | 20130715 | |
| 10 | Instance method | Public | Method | Supplies All Tables for Specified Selection Criteria | 20130715 | |
| 11 | Instance method | Public | Method | Supplies Defined Text of DB View | 20130715 | |
| 12 | Static method | Protected | Method | 20130715 | ||
| 13 | Static method | Protected | Method | 20130715 | ||
| 14 | Instance method | Protected | Method | 20130716 | ||
| 15 | Instance method | Protected | Method | 20130716 |
Events
Class CL_RSDBC_METADATA has no event.
Types
Class CL_RSDBC_METADATA has no local type.
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_CONNECTION | Call by reference | Object reference (TYPE REF TO) | CL_SQL_CONNECTION | Database Connection | 20130715 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Superclass for Parameter Error | 20130715 |
Method ENHANCE_COLUMN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_S_COLUMN | Call by reference | Type reference (TYPE) | RSDBC_S_FIE | 20130822 | ||||
| 2 | I_BIGINT_INT8 | Call by reference | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | Boolean | 20130912 |
Method ENHANCE_COLUMN on class CL_RSDBC_METADATA has no exception.
Method FACTORY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_CONNECTION | Call by reference | Object reference (TYPE REF TO) | CL_SQL_CONNECTION | Database Connection | 20130715 | |||
| 2 | R_R_METADATA | Value transfer | Object reference (TYPE REF TO) | CL_RSDBC_METADATA | Method to Describe DB Objects | 20130715 |
Method FACTORY on class CL_RSDBC_METADATA has no exception.
Method GET_COLUMNS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_COLUMN | Call by reference | Type reference (TYPE) | RSDBC_T_FIE | Table with Column Headings | 20130715 | |||
| 2 | I_SCHEMA_NAME | Call by reference | Type reference (TYPE) | RSDBC_NAME | Database Schema | 20130715 | |||
| 3 | I_TABLE_NAME | Call by reference | Type reference (TYPE) | RSDBC_NAME | Table Name | 20130715 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20130715 |
Method GET_CONNECTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_R_CONNECTION | Value transfer | Object reference (TYPE REF TO) | CL_SQL_CONNECTION | Database Connection | 20130715 |
Method GET_CONNECTION on class CL_RSDBC_METADATA has no exception.
Method GET_IDENTIFIER_STORE_METHOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_STORE_METHOD | Value transfer | Type reference (TYPE) | CHAR1 | Single-Character Flag | 20130715 |
Method GET_IDENTIFIER_STORE_METHOD on class CL_RSDBC_METADATA has no exception.
Method GET_INDEX_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_INDEX | Call by reference | Type reference (TYPE) | RSDBC_T_INDEX | 20130715 | ||||
| 2 | I_INDEX_NAME | Call by reference | Type reference (TYPE) | RSDBC_NAME | 20130715 | ||||
| 3 | I_SCHEMA_NAME | Call by reference | Type reference (TYPE) | RSDBC_NAME | 20130715 | ||||
| 4 | I_TABLE_NAME | Call by reference | Type reference (TYPE) | RSDBC_NAME | 20130715 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130715 |
Method GET_PRIMARY_KEYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_PRIMARY_KEY_NAME | Call by reference | Type reference (TYPE) | RSDBC_NAME | Name of Primary Key | 20130715 | |||
| 2 | E_T_PRIMARY_KEY | Call by reference | Type reference (TYPE) | RSDBC_T_SCHEMAS | Table with Key Fields | 20130715 | |||
| 3 | I_SCHEMA_NAME | Call by reference | Type reference (TYPE) | RSDBC_NAME | Database Schema | 20130715 | |||
| 4 | I_TABLE_NAME | Call by reference | Type reference (TYPE) | RSDBC_NAME | Table Name | 20130715 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20130715 |
Method GET_SCHEMAS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_SCHEMA | Call by reference | Type reference (TYPE) | RSDBC_T_SCHEMAS | Table of Selected Schemas | 20130715 | |||
| 2 | I_RT_SCHEMA | Call by reference | Type reference (TYPE) | RSDBC_RT_NAME | Range Table to Delimit Schemas | 20130715 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20130715 |
Method GET_TABLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_TAB | Call by reference | Type reference (TYPE) | RSDBC_T_TAB | Internal Table with Selected Tables | 20130715 | |||
| 2 | I_RT_SCHEMA | Call by reference | Type reference (TYPE) | RSDBC_RT_NAME | Database Schema | 20130715 | |||
| 3 | I_RT_TABLE | Call by reference | Type reference (TYPE) | RSDBC_RT_NAME | Range Table To Delimit Tables | 20130715 | |||
| 4 | I_TABLE_TYPES | Call by reference | Type reference (TYPE) | STRING | List of Table Types | 20130715 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20130715 |
Method GET_VIEWTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SCHEMA_NAME | Call by reference | Type reference (TYPE) | RSDBC_NAME | Database Schema | 20130715 | |||
| 2 | I_VIEW_NAME | Call by reference | Type reference (TYPE) | RSDBC_NAME | View Name | 20130715 | |||
| 3 | R_TEXT | Value transfer | Type reference (TYPE) | STRING | View text | 20130715 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20130715 |
Method MOVE_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ANY | Call by reference | Type reference (TYPE) | CSEQUENCE | 20130715 | ||||
| 2 | R_NAME | Value transfer | Type reference (TYPE) | ADBC_NAME | 20130715 |
Method MOVE_NAME on class CL_RSDBC_METADATA has no exception.
Method MOVE_RANGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_RT_NAME | Call by reference | Type reference (TYPE) | RSDBC_RT_NAME | 20130715 | ||||
| 2 | R_RT_NAME | Value transfer | Type reference (TYPE) | ADBC_NAME_RGTAB | 20130715 |
Method MOVE_RANGE on class CL_RSDBC_METADATA has no exception.
Method TRF_RGTAB_TO_SQLEXPR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_COLUMN_NAME | Call by reference | Type reference (TYPE) | RSDBC_NAME | Name of the DB field | 20130716 | |||
| 2 | I_RT_NAME | Call by reference | Type reference (TYPE) | RSDBC_RT_NAME | Range of Table | 20130716 | |||
| 3 | R_COLUMN_COND | Value transfer | Type reference (TYPE) | STRING | SQL Condition | 20130716 |
Method TRF_RGTAB_TO_SQLEXPR on class CL_RSDBC_METADATA has no exception.
Method TRF_RG_TO_SQLCOND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_COLUMN_NAME | Call by reference | Type reference (TYPE) | RSDBC_NAME | Name of the DB field | 20130716 | |||
| 2 | I_R_RANGE_COND | Call by reference | Type reference (TYPE) | RSDBC_R_NAME | Row of Range Table | 20130716 | |||
| 3 | R_SIMPLE_COND | Value transfer | Type reference (TYPE) | STRING | Simple Field Comparison | 20130716 |
Method TRF_RG_TO_SQLCOND on class CL_RSDBC_METADATA has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |