/AWS1/CL_RDDSQLPARAMETER¶
A parameter used in a SQL statement.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_name TYPE /AWS1/RDDPARAMETERNAME /AWS1/RDDPARAMETERNAME¶
The name of the parameter.
io_value TYPE REF TO /AWS1/CL_RDDFIELD /AWS1/CL_RDDFIELD¶
The value of the parameter.
iv_typehint TYPE /AWS1/RDDTYPEHINT /AWS1/RDDTYPEHINT¶
A hint that specifies the correct object type for data type mapping. Possible values are as follows:
DATE- The correspondingStringparameter value is sent as an object ofDATEtype to the database. The accepted format isYYYY-MM-DD.
DECIMAL- The correspondingStringparameter value is sent as an object ofDECIMALtype to the database.
JSON- The correspondingStringparameter value is sent as an object ofJSONtype to the database.
TIME- The correspondingStringparameter value is sent as an object ofTIMEtype to the database. The accepted format isHH:MM:SS[.FFF].
TIMESTAMP- The correspondingStringparameter value is sent as an object ofTIMESTAMPtype to the database. The accepted format isYYYY-MM-DD HH:MM:SS[.FFF].
UUID- The correspondingStringparameter value is sent as an object ofUUIDtype to the database.
Queryable Attributes¶
name¶
The name of the parameter.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_NAME() |
Getter for NAME, with configurable default |
ASK_NAME() |
Getter for NAME w/ exceptions if field has no value |
HAS_NAME() |
Determine if NAME has a value |
value¶
The value of the parameter.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_VALUE() |
Getter for VALUE |
typeHint¶
A hint that specifies the correct object type for data type mapping. Possible values are as follows:
DATE- The correspondingStringparameter value is sent as an object ofDATEtype to the database. The accepted format isYYYY-MM-DD.
DECIMAL- The correspondingStringparameter value is sent as an object ofDECIMALtype to the database.
JSON- The correspondingStringparameter value is sent as an object ofJSONtype to the database.
TIME- The correspondingStringparameter value is sent as an object ofTIMEtype to the database. The accepted format isHH:MM:SS[.FFF].
TIMESTAMP- The correspondingStringparameter value is sent as an object ofTIMESTAMPtype to the database. The accepted format isYYYY-MM-DD HH:MM:SS[.FFF].
UUID- The correspondingStringparameter value is sent as an object ofUUIDtype to the database.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TYPEHINT() |
Getter for TYPEHINT, with configurable default |
ASK_TYPEHINT() |
Getter for TYPEHINT w/ exceptions if field has no value |
HAS_TYPEHINT() |
Determine if TYPEHINT has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_SQLPARAMETERSLIST¶
TYPES TT_SQLPARAMETERSLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_RDDSQLPARAMETER WITH DEFAULT KEY
.
TT_SQLPARAMETERSETS¶
TYPES TT_SQLPARAMETERSETS TYPE STANDARD TABLE OF /AWS1/CL_RDDSQLPARAMETER=>TT_SQLPARAMETERSLIST WITH DEFAULT KEY
.