Skip to content

/AWS1/CL_IOSQUERYSTATISTICS

Contains statistics about a completed query execution.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_rowcount TYPE /AWS1/IOSLONG /AWS1/IOSLONG

The total number of rows returned by the query.

iv_bytesscanned TYPE /AWS1/IOSLONG /AWS1/IOSLONG

The total number of bytes scanned during query execution.

iv_executiontimeinmillis TYPE /AWS1/IOSLONG /AWS1/IOSLONG

The total query execution time, in milliseconds.


Queryable Attributes

rowCount

The total number of rows returned by the query.

Accessible with the following methods

Method Description
GET_ROWCOUNT() Getter for ROWCOUNT, with configurable default
ASK_ROWCOUNT() Getter for ROWCOUNT w/ exceptions if field has no value
HAS_ROWCOUNT() Determine if ROWCOUNT has a value

bytesScanned

The total number of bytes scanned during query execution.

Accessible with the following methods

Method Description
GET_BYTESSCANNED() Getter for BYTESSCANNED, with configurable default
ASK_BYTESSCANNED() Getter for BYTESSCANNED w/ exceptions if field has no value
HAS_BYTESSCANNED() Determine if BYTESSCANNED has a value

executionTimeInMillis

The total query execution time, in milliseconds.

Accessible with the following methods

Method Description
GET_EXECUTIONTIMEINMILLIS() Getter for EXECUTIONTIMEINMILLIS, with configurable default
ASK_EXECUTIONTIMEINMILLIS() Getter for EXECUTIONTIMEINMILLIS w/ exceptions if field has
HAS_EXECUTIONTIMEINMILLIS() Determine if EXECUTIONTIMEINMILLIS has a value