/AWS1/CL_BDACURATEDQUERY¶
Contains configurations for a query, each of which defines information about example queries to help the query engine generate appropriate SQL queries.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_naturallanguage TYPE /AWS1/BDANATURALLANGUAGESTRING /AWS1/BDANATURALLANGUAGESTRING¶
An example natural language query.
iv_sql TYPE /AWS1/BDASQLSTRING /AWS1/BDASQLSTRING¶
The SQL equivalent of the natural language query.
Queryable Attributes¶
naturalLanguage¶
An example natural language query.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_NATURALLANGUAGE() |
Getter for NATURALLANGUAGE, with configurable default |
ASK_NATURALLANGUAGE() |
Getter for NATURALLANGUAGE w/ exceptions if field has no val |
HAS_NATURALLANGUAGE() |
Determine if NATURALLANGUAGE has a value |
sql¶
The SQL equivalent of the natural language query.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SQL() |
Getter for SQL, with configurable default |
ASK_SQL() |
Getter for SQL w/ exceptions if field has no value |
HAS_SQL() |
Determine if SQL 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_CURATEDQUERIES¶
TYPES TT_CURATEDQUERIES TYPE STANDARD TABLE OF REF TO /AWS1/CL_BDACURATEDQUERY WITH DEFAULT KEY
.