Skip to content

/AWS1/CL_IOSDESCRQUERYRESPONSE

Contains the response for the DescribeQuery operation.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_queryid TYPE /AWS1/IOSQUERYID /AWS1/IOSQUERYID

The unique identifier for the query execution.

iv_status TYPE /AWS1/IOSQUERYSTATUS /AWS1/IOSQUERYSTATUS

The current query status.

iv_submittedat TYPE /AWS1/IOSTIMESTAMP00 /AWS1/IOSTIMESTAMP00

The date and time when the query was submitted, in Unix epoch time.

Optional arguments:

iv_completedat TYPE /AWS1/IOSTIMESTAMP00 /AWS1/IOSTIMESTAMP00

The date and time when the query reached a terminal state, in Unix epoch time. This field is present when the query status is COMPLETED, FAILED, or CANCELED.

io_statistics TYPE REF TO /AWS1/CL_IOSQUERYSTATISTICS /AWS1/CL_IOSQUERYSTATISTICS

The query execution statistics. This field is present when the query status is COMPLETED.

iv_errormessage TYPE /AWS1/IOSQUERYERRORMESSAGE /AWS1/IOSQUERYERRORMESSAGE

A human-readable error description. This field is present when the query status is FAILED.


Queryable Attributes

queryId

The unique identifier for the query execution.

Accessible with the following methods

Method Description
GET_QUERYID() Getter for QUERYID, with configurable default
ASK_QUERYID() Getter for QUERYID w/ exceptions if field has no value
HAS_QUERYID() Determine if QUERYID has a value

status

The current query status.

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value

submittedAt

The date and time when the query was submitted, in Unix epoch time.

Accessible with the following methods

Method Description
GET_SUBMITTEDAT() Getter for SUBMITTEDAT, with configurable default
ASK_SUBMITTEDAT() Getter for SUBMITTEDAT w/ exceptions if field has no value
HAS_SUBMITTEDAT() Determine if SUBMITTEDAT has a value

completedAt

The date and time when the query reached a terminal state, in Unix epoch time. This field is present when the query status is COMPLETED, FAILED, or CANCELED.

Accessible with the following methods

Method Description
GET_COMPLETEDAT() Getter for COMPLETEDAT, with configurable default
ASK_COMPLETEDAT() Getter for COMPLETEDAT w/ exceptions if field has no value
HAS_COMPLETEDAT() Determine if COMPLETEDAT has a value

statistics

The query execution statistics. This field is present when the query status is COMPLETED.

Accessible with the following methods

Method Description
GET_STATISTICS() Getter for STATISTICS

errorMessage

A human-readable error description. This field is present when the query status is 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