SAP ABAP Class CL_RSDB2A_SQL (DB2 Accelerator: ADBC functions)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-SYS-DB-DB2 (Application Component) BW DB2 for OS/390
⤷
RSDB2A (Package) IBM DB2 Analytics Accelerator suppport

⤷

⤷

Properties
Class | CL_RSDB2A_SQL | |
Short Description | DB2 Accelerator: ADBC functions | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | RS_DB_DB2 | |
Program status | ||
Category | 0 | |
Package | RSDB2A | IBM DB2 Analytics Accelerator suppport |
Created | 20120731 | SAP |
Last change | 20140121 | SAP |
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 | ![]() |
Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
3 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_RSDB2A_SQL has no interface implemented.
Friends
Class CL_RSDB2A_SQL has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Static Attribute | Public | Type reference (TYPE) | RSDB2A_CHAR128 | DB2 Accelerator: Character string length 128 | 20130322 | ||
2 | ![]() |
Static Attribute | Public | Type reference (TYPE) | DB2CREATOR | DB2 creator name | 20120731 | ||
3 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR8 | '#random#' | Character field, 8 characters long | 20130726 | |
4 | ![]() |
Constant | Public | Type reference (TYPE) | RSADMIN-OBJECT | 'DB2_ACCELERATORNAME' | Object Administration Business Information Warehouse | 20120731 | |
5 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR2 | '&&' | Version Number Component | 20130726 | |
6 | ![]() |
Static Attribute | Public | Type reference (TYPE) | RSDB2A_CHAR19 | DB2 Accelerator: Character string length 19 | 20120731 | ||
7 | ![]() |
Static Attribute | Public | Type reference (TYPE) | RSDB2A_CHAR128 | DB2 Accelerator: Character string length 128 | 20120731 | ||
8 | ![]() |
Static Attribute | Public | Type reference (TYPE) | DB2TABNAME | DB2 table name | 20120731 | ||
9 | ![]() |
Static Attribute | Public | Type reference (TYPE) | RSDB2A_CHAR19 | DB2 Accelerator: Character string length 19 | 20120731 | ||
10 | ![]() |
Static Attribute | Public | Type reference (TYPE) | TY_T_STRING | 20130726 | |||
11 | ![]() |
Static Attribute | Public | Type reference (TYPE) | TY_T_STRING | 20130726 | |||
12 | ![]() |
Static Attribute | Public | Type reference (TYPE) | RSDB2A_T_TABLE | DB2 Accelerator: list of tables | 20120731 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | commit | 20120731 |
2 | ![]() |
Static method | Public | Method | re-adds tables to DB2 Accelerator with structure changes | 20130726 |
3 | ![]() |
Static method | Public | Method | Runs a DB2 Accelerator stored procedure | 20120731 |
4 | ![]() |
Static method | Public | Method | executes an SQL statetment | 20120731 |
5 | ![]() |
Static method | Private | Method | generates an XML document | 20120731 |
6 | ![]() |
Static method | Public | Method | returns current and default distribution / organizing keys | 20130726 |
7 | ![]() |
Static method | Public | Method | parses an XML document | 20120731 |
8 | ![]() |
Static method | Private | Method | raises an sql exception | 20120731 |
9 | ![]() |
Static method | Public | Method | rollback | 20120731 |
10 | ![]() |
Static method | Public | Method | performs a single record SQL query | 20120731 |
11 | ![]() |
Static method | Public | Method | performs a single record SQL query | 20120731 |
12 | ![]() |
Static method | Public | Method | performs a multi record SQL query | 20120731 |
13 | ![]() |
Static method | Private | Method | sets the SAP schema, i.e. SAPR3 | 20120731 |
14 | ![]() |
Static method | Public | Method | sets the default distribution keys | 20130726 |
15 | ![]() |
Static method | Private | Method | templates for XML documents | 20120731 |
16 | ![]() |
Static method | Public | Method | converts an XML document to an internal table | 20120731 |
Events
Class CL_RSDB2A_SQL has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TY_S_KEY | Public | See coding | 20130726 | begin of TY_S_KEY,
TABNAME type RSDB2A_TABNAME,
ACCELERATED type RSDB2A_FLAG,
DISTR type RSDB2A_CHAR128,
ORGAN type RSDB2A_CHAR128,
DISTR_DEFAULT type RSDB2A_CHAR128,
ORGAN_DEFAULT type RSDB2A_CHAR128,
end of TY_S_KEY
|
||
2 | TY_S_XMLELEM | Public | See coding | 20120911 | begin of TY_S_XMLELEM,
ID type i,
PARENT_ID type i,
ELEMENT(32) type c,
PROPERTY(32) type c,
VALUE(32) type c,
TEXT type string,
DEPTH type i,
end of TY_S_XMLELEM
|
||
3 | TY_T_KEY | Public | See coding | 20130726 | TY_T_KEY type standard table of TY_S_KEY
|
||
4 | TY_T_STRING | Public | See coding | 20130726 | TY_T_STRING type standard table of string
|
||
5 | TY_T_XMLELEM | Public | See coding | 20120911 | TY_T_XMLELEM type standard table of TY_S_XMLELEM
|
||
6 | TY_XML | Public | See coding | 20120911 | TY_XML(32000) type c
|
Method Signatures
Method COMMIT 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 | 20120731 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB2 Accelerator: exception class | 20120731 |
Method CORRECT_TABLE_STRUCTURE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
C_T_MSG | Call by reference | Type reference (TYPE) | RSDB2A_T_MSG | DB2 Accelerator: Table with messages for application log | 20130726 | ||
2 | ![]() |
I_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20130726 | ||
3 | ![]() |
I_S_ACCELERATOR | Call by reference | Type reference (TYPE) | RSDB2A_ACCELPROP | DB2 Accelerator: Accelerator properties | 20130726 | ||
4 | ![]() |
I_T_TABTYPE | Call by reference | Type reference (TYPE) | RSDB2A_T_TABTYPE | DB2 Accelerator: list of table names and replication types | 20130726 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB2 Accelerator: exception class | 20130726 |
Method EXECUTE_ACCEL_PROCEDURE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
C_T_MSG | Call by reference | Type reference (TYPE) | RSDB2A_T_MSG | DB2 Accelerator: Table with messages for application log | 20121024 | ||
2 | ![]() |
E_XML_MSG | Call by reference | Type reference (TYPE) | RSDB2A_XML | DB2 Accelerator: XML document | 20120911 | ||
3 | ![]() |
I_IGNORE_MSG | Value transfer | Type reference (TYPE) | CHAR1 | Single-Character Flag | 20120731 | ||
4 | ![]() |
I_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20120731 | ||
5 | ![]() |
I_PARAM | Call by reference | Type reference (TYPE) | STRING | 20120731 | |||
6 | ![]() |
I_R_CONNECTION | Call by reference | Object reference (TYPE REF TO) | CL_SQL_CONNECTION | Database Connection | 20120731 | ||
7 | ![]() |
I_STORED_PROC | Call by reference | Type reference (TYPE) | CHAR255 | Char255 | 20120731 | ||
8 | ![]() |
I_S_ACCELERATOR | Call by reference | Type reference (TYPE) | RSDB2A_ACCELPROP | DB2 Accelerator: Accelerator properties | 20130322 | ||
9 | ![]() |
OUT_PARAM1 | Call by reference | Type reference (TYPE) | ANY | 20120731 | |||
10 | ![]() |
OUT_PARAM2 | Call by reference | Type reference (TYPE) | ANY | 20120731 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB2 Accelerator: exception class | 20120731 |
Method EXECUTE_STATEMENT Signature
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB2 Accelerator: exception class | 20120731 |
Method GENERATE_XML Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_XML | Value transfer | Type reference (TYPE) | RSDB2A_XML | DB2 Accelerator: XML document | 20120731 | ||
2 | ![]() |
I_SCHEMA | Call by reference | Type reference (TYPE) | STRING | 20120731 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB2 Accelerator: exception class | 20120731 |
Method GET_KEYS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_T_KEY | Call by reference | Type reference (TYPE) | TY_T_KEY | 20130726 | |||
2 | ![]() |
I_CURRENT_VALUES | Value transfer | Type reference (TYPE) | RSDB2A_FLAG | CL_RSDB2A=>TRUE | DB2 Accelerator: Flag | 20130726 | |
3 | ![]() |
I_DEFAULT_VALUES | Value transfer | Type reference (TYPE) | RSDB2A_FLAG | CL_RSDB2A=>TRUE | DB2 Accelerator: Flag | 20130726 | |
4 | ![]() |
I_DROP_NOTEXISTS | Value transfer | Type reference (TYPE) | RSDB2A_FLAG | CL_RSDB2A=>FALSE | DB2 Accelerator: Flag | 20130726 | |
5 | ![]() |
I_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20130726 | ||
6 | ![]() |
I_S_ACCELERATOR | Call by reference | Type reference (TYPE) | RSDB2A_ACCELPROP | DB2 Accelerator: Accelerator properties | 20130726 | ||
7 | ![]() |
I_T_TABLE | Call by reference | Type reference (TYPE) | RSDB2A_T_TABLE | DB2 Accelerator: list of tables | 20130726 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB2 Accelerator: exception class | 20130726 |
Method PARSE_XML Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_T_XMLELEM | Call by reference | Type reference (TYPE) | TY_T_XMLELEM | DB2 Accelerator: liste of XML elements | 20120731 | ||
2 | ![]() |
I_XML | Call by reference | Type reference (TYPE) | STRING | DB2 Accelerator: XML document | 20120731 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB2 Accelerator: exception class | 20120731 |
Method RAISE_SQL_EXCEPTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Log | 20120731 | ||
2 | ![]() |
I_R_EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_SQL_EXCEPTION | Exception Class for SQL Error | 20120731 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB2 Accelerator: exception class | 20120731 |
Method ROLLBACK 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 | 20120731 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB2 Accelerator: exception class | 20120731 |
Method SELECT_SINGLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_DBCOUNT | Value transfer | Type reference (TYPE) | I | 20120731 | |||
2 | ![]() |
I_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20120731 | ||
3 | ![]() |
I_R_CONNECTION | Call by reference | Object reference (TYPE REF TO) | CL_SQL_CONNECTION | Database Connection | 20120731 | ||
4 | ![]() |
I_R_FIELD1 | Call by reference | Object reference (TYPE REF TO) | DATA | 20120731 | |||
5 | ![]() |
I_R_FIELD2 | Call by reference | Object reference (TYPE REF TO) | DATA | 20120731 | |||
6 | ![]() |
I_R_PARAM1 | Call by reference | Object reference (TYPE REF TO) | DATA | 20120731 | |||
7 | ![]() |
I_R_PARAM2 | Call by reference | Object reference (TYPE REF TO) | DATA | 20120731 | |||
8 | ![]() |
I_R_PARAM3 | Call by reference | Object reference (TYPE REF TO) | DATA | 20120731 | |||
9 | ![]() |
I_SQLSTMT | Call by reference | Type reference (TYPE) | STRING | 20120731 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB2 Accelerator: exception class | 20120731 |
Method SELECT_STRUCT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_DBCOUNT | Value transfer | Type reference (TYPE) | I | 20120731 | |||
2 | ![]() |
I_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20120731 | ||
3 | ![]() |
I_R_CONNECTION | Call by reference | Object reference (TYPE REF TO) | CL_SQL_CONNECTION | Database Connection | 20120731 | ||
4 | ![]() |
I_R_PARAM1 | Call by reference | Object reference (TYPE REF TO) | DATA | 20120731 | |||
5 | ![]() |
I_R_PARAM2 | Call by reference | Object reference (TYPE REF TO) | DATA | 20120731 | |||
6 | ![]() |
I_R_PARAM3 | Call by reference | Object reference (TYPE REF TO) | DATA | 20120731 | |||
7 | ![]() |
I_R_STRUCT | Call by reference | Object reference (TYPE REF TO) | DATA | 20120731 | |||
8 | ![]() |
I_SQLSTMT | Call by reference | Type reference (TYPE) | STRING | 20120731 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB2 Accelerator: exception class | 20120731 |
Method SELECT_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_DBCOUNT | Value transfer | Type reference (TYPE) | I | 20120731 | |||
2 | ![]() |
I_IGNORE_SQLCODE | Call by reference | Type reference (TYPE) | I | 20120731 | |||
3 | ![]() |
I_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Log | 20120731 | ||
4 | ![]() |
I_R_CONNECTION | Call by reference | Object reference (TYPE REF TO) | CL_SQL_CONNECTION | Database Connection | 20120731 | ||
5 | ![]() |
I_R_PARAM1 | Call by reference | Object reference (TYPE REF TO) | DATA | 20120731 | |||
6 | ![]() |
I_R_PARAM2 | Call by reference | Object reference (TYPE REF TO) | DATA | 20120731 | |||
7 | ![]() |
I_R_PARAM3 | Call by reference | Object reference (TYPE REF TO) | DATA | 20120731 | |||
8 | ![]() |
I_R_PARAM4 | Call by reference | Object reference (TYPE REF TO) | DATA | 20120731 | |||
9 | ![]() |
I_R_RESULTTAB | Call by reference | Object reference (TYPE REF TO) | DATA | 20120731 | |||
10 | ![]() |
I_SQLSTMT | Call by reference | Type reference (TYPE) | STRING | 20120731 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB2 Accelerator: exception class | 20120731 |
Method SET_CREATOR Signature
Method SET_CREATOR on class CL_RSDB2A_SQL has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB2 Accelerator: exception class | 20120731 |
Method SET_KEYS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_DROP_CORRECT | Value transfer | Type reference (TYPE) | RSDB2A_FLAG | DB2 Accelerator: Flag | 20130726 | ||
2 | ![]() |
I_FORCE | Value transfer | Type reference (TYPE) | RSDB2A_FLAG | DB2 Accelerator: Flag | 20130726 | ||
3 | ![]() |
I_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20130726 | ||
4 | ![]() |
I_S_ACCELERATOR | Call by reference | Type reference (TYPE) | RSDB2A_ACCELPROP | DB2 Accelerator: Accelerator properties | 20130726 | ||
5 | ![]() |
I_T_KEY | Call by reference | Type reference (TYPE) | TY_T_KEY | 20130726 | |||
6 | ![]() |
I_T_TABLE | Call by reference | Type reference (TYPE) | RSDB2A_T_TABLE | DB2 Accelerator: list of tables | 20130726 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB2 Accelerator: exception class | 20130726 |
Method XML_TEMPLATES Signature
Method XML_TEMPLATES on class CL_RSDB2A_SQL has no parameter.
Method XML_TEMPLATES on class CL_RSDB2A_SQL has no exception.
Method XML_TO_TABLE 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) | STANDARD TABLE | 20120731 | |||
2 | ![]() |
I_ELEMENT | Call by reference | Type reference (TYPE) | RSDB2A_CHARVAL | DB2 Accelerator: property value read from xml | 20120731 | ||
3 | ![]() |
I_ELEMENT_PREFIX | Call by reference | Type reference (TYPE) | RSDB2A_FLAG | CL_RSDB2A=>FALSE | DB2 Accelerator: Flag | 20130726 | |
4 | ![]() |
I_XML | Call by reference | Type reference (TYPE) | STRING | DB2 Accelerator: XML document | 20120731 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB2 Accelerator: exception class | 20120914 |
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 740 |