Skip to content

/AWS1/CL_TSQSELECTCOLUMN

Details of the column that is returned by the query.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_name TYPE /AWS1/TSQSTRING /AWS1/TSQSTRING

Name of the column.

io_type TYPE REF TO /AWS1/CL_TSQTYPE /AWS1/CL_TSQTYPE

Contains the data type of a column in a query result set. The data type can be scalar or complex. The supported scalar data types are integers, Boolean, string, double, timestamp, date, time, and intervals. The supported complex data types are arrays, rows, and timeseries.

iv_databasename TYPE /AWS1/TSQRESOURCENAME /AWS1/TSQRESOURCENAME

Database that has this column.

iv_tablename TYPE /AWS1/TSQRESOURCENAME /AWS1/TSQRESOURCENAME

Table within the database that has this column.

iv_aliased TYPE /AWS1/TSQNULLABLEBOOLEAN /AWS1/TSQNULLABLEBOOLEAN

True, if the column name was aliased by the query. False otherwise.


Queryable Attributes

Name

Name of the column.

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

Type

Contains the data type of a column in a query result set. The data type can be scalar or complex. The supported scalar data types are integers, Boolean, string, double, timestamp, date, time, and intervals. The supported complex data types are arrays, rows, and timeseries.

Accessible with the following methods

Method Description
GET_TYPE() Getter for TYPE

DatabaseName

Database that has this column.

Accessible with the following methods

Method Description
GET_DATABASENAME() Getter for DATABASENAME, with configurable default
ASK_DATABASENAME() Getter for DATABASENAME w/ exceptions if field has no value
HAS_DATABASENAME() Determine if DATABASENAME has a value

TableName

Table within the database that has this column.

Accessible with the following methods

Method Description
GET_TABLENAME() Getter for TABLENAME, with configurable default
ASK_TABLENAME() Getter for TABLENAME w/ exceptions if field has no value
HAS_TABLENAME() Determine if TABLENAME has a value

Aliased

True, if the column name was aliased by the query. False otherwise.

Accessible with the following methods

Method Description
GET_ALIASED() Getter for ALIASED, with configurable default
ASK_ALIASED() Getter for ALIASED w/ exceptions if field has no value
HAS_ALIASED() Determine if ALIASED 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_SELECTCOLUMNLIST

TYPES TT_SELECTCOLUMNLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_TSQSELECTCOLUMN WITH DEFAULT KEY
.