Skip to content

/AWS1/CL_TRLGETQUERYRESULTSRSP

GetQueryResultsResponse

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_querystatus TYPE /AWS1/TRLQUERYSTATUS /AWS1/TRLQUERYSTATUS

The status of the query. Values include QUEUED, RUNNING, FINISHED, FAILED, TIMED_OUT, or CANCELLED.

io_querystatistics TYPE REF TO /AWS1/CL_TRLQUERYSTATISTICS /AWS1/CL_TRLQUERYSTATISTICS

Shows the count of query results.

it_queryresultrows TYPE /AWS1/CL_TRLQUERYRSLTCOLUMN_W=>TT_QUERYRESULTROWS TT_QUERYRESULTROWS

Contains the individual event results of the query.

iv_nexttoken TYPE /AWS1/TRLPAGINATIONTOKEN /AWS1/TRLPAGINATIONTOKEN

A token you can use to get the next page of query results.

iv_errormessage TYPE /AWS1/TRLERRORMESSAGE /AWS1/TRLERRORMESSAGE

The error message returned if a query failed.


Queryable Attributes

QueryStatus

The status of the query. Values include QUEUED, RUNNING, FINISHED, FAILED, TIMED_OUT, or CANCELLED.

Accessible with the following methods

Method Description
GET_QUERYSTATUS() Getter for QUERYSTATUS, with configurable default
ASK_QUERYSTATUS() Getter for QUERYSTATUS w/ exceptions if field has no value
HAS_QUERYSTATUS() Determine if QUERYSTATUS has a value

QueryStatistics

Shows the count of query results.

Accessible with the following methods

Method Description
GET_QUERYSTATISTICS() Getter for QUERYSTATISTICS

QueryResultRows

Contains the individual event results of the query.

Accessible with the following methods

Method Description
GET_QUERYRESULTROWS() Getter for QUERYRESULTROWS, with configurable default
ASK_QUERYRESULTROWS() Getter for QUERYRESULTROWS w/ exceptions if field has no val
HAS_QUERYRESULTROWS() Determine if QUERYRESULTROWS has a value

NextToken

A token you can use to get the next page of query results.

Accessible with the following methods

Method Description
GET_NEXTTOKEN() Getter for NEXTTOKEN, with configurable default
ASK_NEXTTOKEN() Getter for NEXTTOKEN w/ exceptions if field has no value
HAS_NEXTTOKEN() Determine if NEXTTOKEN has a value

ErrorMessage

The error message returned if a query failed.

Accessible with the following methods

Method Description
GET_ERRORMESSAGE() Getter for ERRORMESSAGE, with configurable default
ASK_ERRORMESSAGE() Getter for ERRORMESSAGE w/ exceptions if field has no value
HAS_ERRORMESSAGE() Determine if ERRORMESSAGE has a value