Skip to content

/AWS1/CL_BDAQUERYGENERATIONCTX

>Contains configurations for context to use during query generation.

CONSTRUCTOR

IMPORTING

Optional arguments:

it_tables TYPE /AWS1/CL_BDAQUERYGENERATIONTBL=>TT_QUERYGENERATIONTABLES TT_QUERYGENERATIONTABLES

An array of objects, each of which defines information about a table in the database.

it_curatedqueries TYPE /AWS1/CL_BDACURATEDQUERY=>TT_CURATEDQUERIES TT_CURATEDQUERIES

An array of objects, each of which defines information about example queries to help the query engine generate appropriate SQL queries.


Queryable Attributes

tables

An array of objects, each of which defines information about a table in the database.

Accessible with the following methods

Method Description
GET_TABLES() Getter for TABLES, with configurable default
ASK_TABLES() Getter for TABLES w/ exceptions if field has no value
HAS_TABLES() Determine if TABLES has a value

curatedQueries

An array of objects, each of which defines information about example queries to help the query engine generate appropriate SQL queries.

Accessible with the following methods

Method Description
GET_CURATEDQUERIES() Getter for CURATEDQUERIES, with configurable default
ASK_CURATEDQUERIES() Getter for CURATEDQUERIES w/ exceptions if field has no valu
HAS_CURATEDQUERIES() Determine if CURATEDQUERIES has a value