SAP ABAP Class /IWHDB/CL_HAI_RT_SQL_WRAPPER (Wrapper for HANA (ADBC) SQL Statements)
Hierarchy
☛
SAP_GWFND (Software Component) SAP Gateway Foundation
⤷
OPU-BSE-SDE (Application Component) Gateway SAP Data Enablement
⤷
/IWHDB/HAI_RT (Package) Gateway - HANA Analytics Integration - Runtime
⤷
⤷
Properties
| Class | /IWHDB/CL_HAI_RT_SQL_WRAPPER | |
| Short Description | Wrapper for HANA (ADBC) SQL Statements | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /IWHDB/HAI_RT | Gateway - HANA Analytics Integration - Runtime |
| Created | 20120223 | SAP |
| Last change | 20141120 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 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 /IWHDB/CL_HAI_RT_SQL_WRAPPER has no interface implemented.
Friends
Class /IWHDB/CL_HAI_RT_SQL_WRAPPER 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) | CL_SQL_STATEMENT | SQL statement | 20120223 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_SQL_CONNECTION | 20120223 | ||||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_SQL_RESULT_SET | 20120223 | ||||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | 20120223 | ||||
| 5 | Static Attribute | Public | Object reference (TYPE REF TO) | CL_SQL_METADATA | Method to Describe DB Objects | 20120223 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | DBCON_NAME | 'R/3*' | Logical name for a database connection | 20120223 | ||
| 7 | Instance attribute | Private | Type reference (TYPE) | INT4 | 20120223 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Close the connection to HANA instance | 20120430 | |
| 2 | Instance method | Public | Constructor | 20120223 | ||
| 3 | Instance method | Private | Method | Get a connection to HANA instance | 20120223 | |
| 4 | Instance method | Private | Method | 20120223 | ||
| 5 | Instance method | Public | Method | 20120223 | ||
| 6 | Instance method | Public | Method | 20120223 | ||
| 7 | Instance method | Public | Method | Execute SELECT statement | 20120223 | |
| 8 | Instance method | Public | Method | 20120223 | ||
| 9 | Instance method | Public | Method | 20120223 |
Events
Class /IWHDB/CL_HAI_RT_SQL_WRAPPER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TT_ADBC_STMNT_PARAM | Public | See coding | 20131107 | tt_adbc_stmnt_param TYPE STANDARD TABLE OF string
|
Method Signatures
Method CLOSE_CONNECTION Signature
Method CLOSE_CONNECTION on class /IWHDB/CL_HAI_RT_SQL_WRAPPER has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20120430 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CON_NAME | Call by reference | Type reference (TYPE) | /IWHDB/DEFI_HANA_DB_CON | Database connection name - Points to HANA system | 20120223 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20120223 |
Method GET_CONNECTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_CONNECTION | Value transfer | Object reference (TYPE REF TO) | CL_SQL_CONNECTION | Database Connection | 20120223 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20120223 |
Method GET_RESULT_STRUCT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RR_RESULT_STRUCT | Value transfer | Object reference (TYPE REF TO) | DATA | 20120419 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20120223 |
Method NEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_DATA_RETRIEVED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120322 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120223 |
Method NEXT_PACKAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FETCHSIZE | Call by reference | Type reference (TYPE) | INT4 | 20120223 | ||||
| 2 | RV_DATA_RETRIEVED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120322 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120223 |
Method SELECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_STATEMENT_PARAM | Call by reference | Type reference (TYPE) | /IWHDB/CL_HAI_RT_SQL_WRAPPER=>TT_ADBC_STMNT_PARAM | 20131107 | ||||
| 2 | IV_STATEMENT | Call by reference | Type reference (TYPE) | STRING | 20120223 | ||||
| 3 | RR_DATA | Value transfer | Object reference (TYPE REF TO) | DATA | 20120223 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120223 |
Method SELECT_INTO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20120223 | ||||
| 2 | IV_FETCHSIZE | Call by reference | Type reference (TYPE) | INT4 | 20120223 | ||||
| 3 | IV_STATEMENT | Call by reference | Type reference (TYPE) | STRING | 20120223 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120223 |
Method VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_VALUE | Value transfer | Type reference (TYPE) | ANY | 20120223 | ||||
| 2 | IV_FIELDNAME | Call by reference | Type reference (TYPE) | FIELDNAME | 20120223 |
Method VALUE on class /IWHDB/CL_HAI_RT_SQL_WRAPPER has no exception.
History
| Last changed by/on | SAP | 20141120 |
| SAP Release Created in | 100 |