/AWS1/CL_KN2RECORDCOLUMN¶
For a SQL-based Kinesis Data Analytics application, describes the mapping of each data element in the streaming source to the corresponding column in the in-application stream.
Also used to describe the format of the reference data source.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_name TYPE /AWS1/KN2RECORDCOLUMNNAME /AWS1/KN2RECORDCOLUMNNAME¶
The name of the column that is created in the in-application input stream or reference table.
iv_sqltype TYPE /AWS1/KN2RECORDCOLUMNSQLTYPE /AWS1/KN2RECORDCOLUMNSQLTYPE¶
The type of column created in the in-application input stream or reference table.
Optional arguments:¶
iv_mapping TYPE /AWS1/KN2RECORDCOLUMNMAPPING /AWS1/KN2RECORDCOLUMNMAPPING¶
A reference to the data element in the streaming input or the reference data source.
Queryable Attributes¶
Name¶
The name of the column that is created in the in-application input stream or reference table.
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 |
Mapping¶
A reference to the data element in the streaming input or the reference data source.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MAPPING() |
Getter for MAPPING, with configurable default |
ASK_MAPPING() |
Getter for MAPPING w/ exceptions if field has no value |
HAS_MAPPING() |
Determine if MAPPING has a value |
SqlType¶
The type of column created in the in-application input stream or reference table.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SQLTYPE() |
Getter for SQLTYPE, with configurable default |
ASK_SQLTYPE() |
Getter for SQLTYPE w/ exceptions if field has no value |
HAS_SQLTYPE() |
Determine if SQLTYPE 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_RECORDCOLUMNS¶
TYPES TT_RECORDCOLUMNS TYPE STANDARD TABLE OF REF TO /AWS1/CL_KN2RECORDCOLUMN WITH DEFAULT KEY
.