SAP ABAP Class CL_SHDB_STORAGE (storage type (column vs. row) of HANA tables)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷ HAN-DB (Application Component) SAP HANA Database
⤷ SHDB (Package) Basis Package for HDB
⤷ 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_LIB_TABLE_CACHE | abstract cache for DB tables | 20130312 |
Properties
Class | CL_SHDB_STORAGE | |
Short Description | storage type (column vs. row) of HANA tables | |
Super Class | CL_LIB_TABLE_CACHE | abstract cache for DB tables |
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SHDB | Basis Package for HDB |
Created | 20130215 | SAP |
Last change | 20140121 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ABAP | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_SHDB_STORAGE has no interface implemented.
Friends
Class CL_SHDB_STORAGE has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | MC_STORAGE_COLUMN | Constant | Public | Type reference (TYPE) | TV_STORAGE_TYPE | 'COL' | storage type column | 20130312 | |
2 | MC_STORAGE_ROW | Constant | Public | Type reference (TYPE) | TV_STORAGE_TYPE | 'ROW' | storage type row | 20130312 | |
3 | MC_STORAGE_UNKNOWN | Constant | Public | Type reference (TYPE) | TV_STORAGE_TYPE | 'NON' | storage type column | 20130312 | |
4 | MV_FILE | Static Attribute | Public | Type reference (TYPE) | STRING | 20130312 | |||
5 | _MC_SRC_DB | Constant | Private | Type reference (TYPE) | TV_SRC | 2 | 20130312 | ||
6 | _MC_SRC_DDIC | Constant | Private | Type reference (TYPE) | TV_SRC | 3 | 20130312 | ||
7 | _MC_SRC_FILE | Constant | Private | Type reference (TYPE) | TV_SRC | 1 | 20130312 | ||
8 | _MT_ROWSTORETABLES | Instance attribute | Private | Type reference (TYPE) | TT_STORAGE | 20130312 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CHECK | Static method | Public | Method | Checks storage type in HANA vs. DDIC | 20131016 |
2 | CLASS_CONSTRUCTOR | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20130312 |
3 | CONSTRUCTOR | Instance method | Private | Constructor | USE NEW_BY_*() factories instead! | 20130312 |
4 | GET_ROW_ITER | Instance method | Public | Method | returns an iterator on row store table names | 20130312 |
5 | IS_ROWSTORE | Instance method | Public | Method | returns the storage type of a table | 20130312 |
6 | NEW_BY_DB | Static method | Public | Method | create new instance initialized by rowstore tables from DB | 20130312 |
7 | NEW_BY_DDIC | Static method | Public | Method | create new instance initialized by rowstore tables from DDIC | 20130312 |
8 | NEW_BY_FILE | Static method | Public | Method | create new instance initialized by rowstore tables from file | 20130312 |
9 | REPAIR | Static method | Public | Method | repairs storage type according to results from check() | 20131016 |
10 | WRITE_DB | Static method | Public | Method | writes storage type of a table to DB | 20130312 |
11 | _LOAD_FROM_DB | Instance method | Private | Method | load rowstore tables from DB | 20130312 |
12 | _LOAD_FROM_DDIC | Instance method | Private | Method | load rowstore tables from DDIC | 20130809 |
Events
Class CL_SHDB_STORAGE has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TS_TABLE_STORAGE | Public | See coding | 20131016 | BEGIN OF ts_table_storage,
tabname TYPE tabname,
storage TYPE tv_storage_type,
END OF ts_table_storage
|
||
2 | TT_STORAGE | Private | See coding | 20130312 | TT_STORAGE type standard TABLE OF tabname WITH DEFAULT KEY
|
||
3 | TT_TABLE_STORAGE | Public | See coding | 20131016 | tt_table_storage TYPE STANDARD TABLE OF TS_TABLE_STORAGE WITH DEFAULT KEY
|
||
4 | TV_SRC | Private | Type reference (TYPE) | I | 20130312 |
|
|
5 | TV_STORAGE_TYPE | Public | Type reference (TYPE) | CHAR3 | 3-Byte Field | 20130312 | |
Method Signatures
Method CHECK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | checks all tables if empty! | 20131016 | ||
2 | Returning | RT_TABLE_STORAGE | Value transfer | Type reference (TYPE) | TT_TABLE_STORAGE | returns the CHANGES needs to written in HANA | 20131016 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SHDB_EXCEPTION | exceptions of HANA DB objects | 20131016 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_SHDB_STORAGE has no parameter.
Method CLASS_CONSTRUCTOR on class CL_SHDB_STORAGE has no exception.
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_FILE | Call by reference | Type reference (TYPE) | STRING | 20130809 | |||
2 | Importing | IV_SOURCE | Call by reference | Type reference (TYPE) | TV_SRC | 20130312 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SHDB_EXCEPTION | exceptions of HANA DB objects | 20130312 |
Method GET_ROW_ITER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RR_REF | Value transfer | Object reference (TYPE REF TO) | IF_LIB_ITERABLE | basic iterator interface | 20130312 |
Method GET_ROW_ITER on class CL_SHDB_STORAGE has no exception.
Method IS_ROWSTORE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_TABLE | Call by reference | Type reference (TYPE) | TABNAME | 20130312 | |||
2 | Returning | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | Feld der Laenge 3 Bytes | 20130312 |
Method IS_ROWSTORE on class CL_SHDB_STORAGE has no exception.
Method NEW_BY_DB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RR_REF | Value transfer | Object reference (TYPE REF TO) | CL_SHDB_STORAGE | storage type (column vs. row) of HANA tables | 20130312 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SHDB_EXCEPTION | exceptions of HANA DB objects | 20130312 |
Method NEW_BY_DDIC Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RR_REF | Value transfer | Object reference (TYPE REF TO) | CL_SHDB_STORAGE | storage type (column vs. row) of HANA tables | 20130312 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SHDB_EXCEPTION | exceptions of HANA DB objects | 20130312 |
Method NEW_BY_FILE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_FILE | Call by reference | Type reference (TYPE) | STRING | 20130809 | |||
2 | Returning | RR_REF | Value transfer | Object reference (TYPE REF TO) | CL_SHDB_STORAGE | storage type (column vs. row) of HANA tables | 20130312 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SHDB_EXCEPTION | exceptions of HANA DB objects | 20130312 |
Method REPAIR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_TABLE_STORAGE | Call by reference | Type reference (TYPE) | TT_TABLE_STORAGE | 20131016 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SHDB_EXCEPTION | exceptions of HANA DB objects | 20131016 |
Method WRITE_DB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_STORAGE | Call by reference | Type reference (TYPE) | TV_STORAGE_TYPE | Feld der Laenge 3 Bytes | 20130809 | ||
2 | Importing | IV_TABLE | Call by reference | Type reference (TYPE) | TABNAME | Tabellenname | 20130809 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SHDB_EXCEPTION | exceptions of HANA DB objects | 20130809 |
Method _LOAD_FROM_DB Signature
Method _LOAD_FROM_DB on class CL_SHDB_STORAGE has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SHDB_EXCEPTION | exceptions of HANA DB objects | 20130312 |
Method _LOAD_FROM_DDIC Signature
Method _LOAD_FROM_DDIC on class CL_SHDB_STORAGE has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SHDB_EXCEPTION | 20130809 |
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 740 |