/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 correspondingString
parameter value is sent as an object ofDATE
type to the database. The accepted format isYYYY-MM-DD
.
DECIMAL
- The correspondingString
parameter value is sent as an object ofDECIMAL
type to the database.
JSON
- The correspondingString
parameter value is sent as an object ofJSON
type to the database.
TIME
- The correspondingString
parameter value is sent as an object ofTIME
type to the database. The accepted format isHH:MM:SS[.FFF]
.
TIMESTAMP
- The correspondingString
parameter value is sent as an object ofTIMESTAMP
type to the database. The accepted format isYYYY-MM-DD HH:MM:SS[.FFF]
.
UUID
- The correspondingString
parameter value is sent as an object ofUUID
type 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 correspondingString
parameter value is sent as an object ofDATE
type to the database. The accepted format isYYYY-MM-DD
.
DECIMAL
- The correspondingString
parameter value is sent as an object ofDECIMAL
type to the database.
JSON
- The correspondingString
parameter value is sent as an object ofJSON
type to the database.
TIME
- The correspondingString
parameter value is sent as an object ofTIME
type to the database. The accepted format isHH:MM:SS[.FFF]
.
TIMESTAMP
- The correspondingString
parameter value is sent as an object ofTIMESTAMP
type to the database. The accepted format isYYYY-MM-DD HH:MM:SS[.FFF]
.
UUID
- The correspondingString
parameter value is sent as an object ofUUID
type 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
.