SAP ABAP Class CL_SHDB_HOSTS (provides info about HANA servers)
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 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SERIALIZABLE_OBJECT | Serializable Object | 20130312 |
Properties
| Class | CL_SHDB_HOSTS | |
| Short Description | provides info about HANA servers | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SHDB | Basis Package for HDB |
| Created | 20120724 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_SHDB_HOSTS has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_SERIALIZABLE_OBJECT | Serializable Object | 20130312 |
Friends
Class CL_SHDB_HOSTS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | TV_ROLE | 'MASTER' | 20120724 | |||
| 2 | Constant | Public | Type reference (TYPE) | TV_ROLE | 'SLAVE' | 20120724 | |||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_SQL_CONNECTION | 20120724 | ||||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_LIB_MSG_WRITER | 20120724 | ||||
| 5 | Instance attribute | Private | Type reference (TYPE) | TS_HOST | 20120724 | ||||
| 6 | Instance attribute | Private | Type reference (TYPE) | TT_HOST | 20120724 | ||||
| 7 | Instance attribute | Private | Type reference (TYPE) | I | 0 | 20120724 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Constructor | 20120724 | ||
| 2 | Instance method | Public | Method | 20120724 | ||
| 3 | Instance method | Public | Method | 20120724 | ||
| 4 | Instance method | Public | Method | 20120724 | ||
| 5 | Instance method | Public | Method | 20120724 | ||
| 6 | Static method | Public | Method | 20120724 | ||
| 7 | Instance method | Public | Method | 20120724 | ||
| 8 | Instance method | Public | Method | 20120724 | ||
| 9 | Instance method | Public | Method | 20120724 | ||
| 10 | Instance method | Private | Method | 20120724 |
Events
Class CL_SHDB_HOSTS has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TS_HOST | Public | See coding | 20120724 | BEGIN OF ts_host,
host(64) TYPE c,
port TYPE i,
criterion TYPE p LENGTH 15 DECIMALS 3,
END OF ts_host
|
||
| 2 | TS_LOCATION | Public | See coding | 20120724 | BEGIN OF ts_location,
table TYPE tabname,
host(64) TYPE c,
port TYPE i,
END OF ts_location
|
||
| 3 | TT_HOST | Public | See coding | 20120724 | tt_host TYPE STANDARD TABLE OF ts_host WITH DEFAULT KEY
|
||
| 4 | TT_LOCATION | Public | See coding | 20120724 | tt_location TYPE STANDARD TABLE OF ts_location WITH DEFAULT KEY
|
||
| 5 | TV_ROLE | Public | See coding | 20120724 | tv_role(128) TYPE c
|
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_CONN | Call by reference | Object reference (TYPE REF TO) | CL_SQL_CONNECTION | 20120724 | ||||
| 2 | IR_MSG | Call by reference | Object reference (TYPE REF TO) | IF_LIB_MSG_WRITER | 20120724 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120724 |
Method GET_CRITERION_REF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_HOST | Call by reference | Type reference (TYPE) | TS_HOST-HOST | 20120724 | ||||
| 2 | IV_PORT | Call by reference | Type reference (TYPE) | TS_HOST-PORT | 20120724 | ||||
| 3 | RR_REF | Value transfer | Object reference (TYPE REF TO) | DATA | 20120724 |
Method GET_CRITERION_REF on class CL_SHDB_HOSTS has no exception.
Method GET_ITER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RR_REF | Value transfer | Object reference (TYPE REF TO) | IF_LIB_ITERABLE | 20120724 |
Method GET_ITER on class CL_SHDB_HOSTS has no exception.
Method GET_MASTER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_MASTER | Value transfer | Type reference (TYPE) | STRING | 20120724 |
Method GET_MASTER on class CL_SHDB_HOSTS has no exception.
Method GET_SLAVES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_SLAVES | Value transfer | Type reference (TYPE) | STRING | 20120724 |
Method GET_SLAVES on class CL_SHDB_HOSTS has no exception.
Method NEW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_CONN | Call by reference | Object reference (TYPE REF TO) | CL_SQL_CONNECTION | 20120724 | ||||
| 2 | IR_MSG | Call by reference | Object reference (TYPE REF TO) | IF_LIB_MSG_WRITER | 20120724 | ||||
| 3 | RR_REF | Value transfer | Object reference (TYPE REF TO) | CL_SHDB_HOSTS | 20120724 |
Method NEW on class CL_SHDB_HOSTS has no exception.
Method NEXT_SLAVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_SLAVE | Value transfer | Type reference (TYPE) | STRING | 20120724 |
Method NEXT_SLAVE on class CL_SHDB_HOSTS has no exception.
Method NUM_SLAVES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_NUM | Value transfer | Type reference (TYPE) | I | 20120724 |
Method NUM_SLAVES on class CL_SHDB_HOSTS has no exception.
Method TAB_LOCATION_ITER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RR_REF | Value transfer | Object reference (TYPE REF TO) | IF_LIB_ITERABLE | 20120724 |
Method TAB_LOCATION_ITER on class CL_SHDB_HOSTS has no exception.
Method _DETERMINE_HOSTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ROLE | Call by reference | Type reference (TYPE) | TV_ROLE | 20120724 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120724 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |