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 /IWHDB/CL_HAI_RT_SQL_WRAPPER Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 ADBC 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 MO_ADBC_STATEMENT Instance attribute Private Object reference (TYPE REF TO) CL_SQL_STATEMENT SQL statement 20120223
2 MO_CONNECTION Instance attribute Private Object reference (TYPE REF TO) CL_SQL_CONNECTION 20120223
3 MO_RESULT Instance attribute Private Object reference (TYPE REF TO) CL_SQL_RESULT_SET 20120223
4 MR_DATA Instance attribute Private Object reference (TYPE REF TO) DATA 20120223
5 MR_MD Static Attribute Public Object reference (TYPE REF TO) CL_SQL_METADATA Method to Describe DB Objects 20120223
6 MV_CON_NAME Instance attribute Private Type reference (TYPE) DBCON_NAME 'R/3*' Logical name for a database connection 20120223
7 MV_FETCHSIZE Instance attribute Private Type reference (TYPE) INT4 20120223
Methods
# Method Level Visibility Method type Description Created on
1 CLOSE_CONNECTION Instance method Public Method Close the connection to HANA instance 20120430
2 CONSTRUCTOR Instance method Public Constructor 20120223
3 GET_CONNECTION Instance method Private Method Get a connection to HANA instance 20120223
4 GET_RESULT_STRUCT Instance method Private Method 20120223
5 NEXT Instance method Public Method 20120223
6 NEXT_PACKAGE Instance method Public Method 20120223
7 SELECT Instance method Public Method Execute SELECT statement 20120223
8 SELECT_INTO Instance method Public Method 20120223
9 VALUE 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 CX_SQL_EXCEPTION Exception Class for SQL Error 20120430

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing 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 CX_SQL_EXCEPTION 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 Returning RO_CONNECTION Value transfer Object reference (TYPE REF TO) CL_SQL_CONNECTION Database Connection 20120223
# Exception Resumable Description Created on
1 CX_SQL_EXCEPTION 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 Returning RR_RESULT_STRUCT Value transfer Object reference (TYPE REF TO) DATA 20120419
# Exception Resumable Description Created on
1 CX_SQL_EXCEPTION Exception Class for SQL Error 20120223

Method NEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_DATA_RETRIEVED Value transfer Type reference (TYPE) ABAP_BOOL 20120322
# Exception Resumable Description Created on
1 CX_SQL_EXCEPTION 20120223

Method NEXT_PACKAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FETCHSIZE Call by reference Type reference (TYPE) INT4 20120223
2 Returning RV_DATA_RETRIEVED Value transfer Type reference (TYPE) ABAP_BOOL 20120322
# Exception Resumable Description Created on
1 CX_SQL_EXCEPTION 20120223

Method SELECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_STATEMENT_PARAM Call by reference Type reference (TYPE) /IWHDB/CL_HAI_RT_SQL_WRAPPER=>TT_ADBC_STMNT_PARAM 20131107
2 Importing IV_STATEMENT Call by reference Type reference (TYPE) STRING 20120223
3 Returning RR_DATA Value transfer Object reference (TYPE REF TO) DATA 20120223
# Exception Resumable Description Created on
1 CX_SQL_EXCEPTION 20120223

Method SELECT_INTO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_DATA Call by reference Object reference (TYPE REF TO) DATA 20120223
2 Importing IV_FETCHSIZE Call by reference Type reference (TYPE) INT4 20120223
3 Importing IV_STATEMENT Call by reference Type reference (TYPE) STRING 20120223
# Exception Resumable Description Created on
1 CX_SQL_EXCEPTION 20120223

Method VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_VALUE Value transfer Type reference (TYPE) ANY 20120223
2 Importing 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