SAP ABAP Class CL_SHDB_DDL (encapsulation of HANA DDL commands)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
HAN-DB (Application Component) SAP HANA Database
⤷
SHDB (Package) Basis Package for HDB
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_SHDB_BASE | base class for HANA DB objects | 20121127 |
Properties
| Class | CL_SHDB_DDL | |
| Short Description | encapsulation of HANA DDL commands | |
| Super Class | CL_SHDB_BASE | base class for HANA DB objects |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SHDB | Basis Package for HDB |
| Created | 20120907 | 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) |
Interfaces
Class CL_SHDB_DDL has no interface implemented.
Friends
Class CL_SHDB_DDL has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | CX_SQL_EXCEPTION | 20121127 | ||||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_SQL_STATEMENT | 20121127 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | ALTER TABLE | 20121127 | |
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20121127 | |
| 3 | Instance method | Public | Method | Creates a new table on HANA DB | 20131016 | |
| 4 | Instance method | Public | Method | Drops a table from HANA DB | 20130814 | |
| 5 | Instance method | Public | Method | Checks whether a table exists on HANA DB | 20131016 |
Events
Class CL_SHDB_DDL has no event.
Types
Class CL_SHDB_DDL has no local type.
Method Signatures
Method ALTER_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_PARAMS | Call by reference | Object reference (TYPE REF TO) | IF_LIB_KEYVAL | interface for key-value-pairs | 20121127 | |||
| 2 | IV_CLAUSE | Call by reference | Type reference (TYPE) | STRING | 20121127 | ||||
| 3 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Tabellenname | 20121127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | exceptions of HANA DB objects | 20130605 |
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_SHDB_DDL has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | exceptions of HANA DB objects | 20131016 |
Method CREATE_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_PARAMS | Call by reference | Object reference (TYPE REF TO) | IF_LIB_KEYVAL | 20131016 | ||||
| 2 | IV_COL_DEF | Call by reference | Type reference (TYPE) | STRING | 20131016 | ||||
| 3 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | 20131016 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20131016 |
Method DROP_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_TABLE | Call by reference | Type reference (TYPE) | TABNAME | Tabellenname | 20130814 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | exceptions of HANA DB objects | 20130814 |
Method EXISTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | 20131016 | ||||
| 2 | RV_EXISTS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20131016 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20131016 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |