/AWS1/IF_GLU=>GETCOLUMNSTATISTICSTASKRUNS()¶
About GetColumnStatisticsTaskRuns¶
Retrieves information about all runs associated with the specified table.
Method Signature¶
METHODS /AWS1/IF_GLU~GETCOLUMNSTATISTICSTASKRUNS
IMPORTING
!IV_DATABASENAME TYPE /AWS1/GLUDATABASENAME OPTIONAL
!IV_TABLENAME TYPE /AWS1/GLUNAMESTRING OPTIONAL
!IV_MAXRESULTS TYPE /AWS1/GLUPAGESIZE OPTIONAL
!IV_NEXTTOKEN TYPE /AWS1/GLUTOKEN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_glugetcolumnstatsts03
RAISING
/AWS1/CX_GLUOPERATIONTIMEOUTEX
/AWS1/CX_GLUCLIENTEXC
/AWS1/CX_GLUSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_databasename TYPE /AWS1/GLUDATABASENAME /AWS1/GLUDATABASENAME¶
The name of the database where the table resides.
iv_tablename TYPE /AWS1/GLUNAMESTRING /AWS1/GLUNAMESTRING¶
The name of the table.
Optional arguments:¶
iv_maxresults TYPE /AWS1/GLUPAGESIZE /AWS1/GLUPAGESIZE¶
The maximum size of the response.
iv_nexttoken TYPE /AWS1/GLUTOKEN /AWS1/GLUTOKEN¶
A continuation token, if this is a continuation call.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_glugetcolumnstatsts03 /AWS1/CL_GLUGETCOLUMNSTATSTS03¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->getcolumnstatisticstaskruns(
iv_databasename = |string|
iv_maxresults = 123
iv_nexttoken = |string|
iv_tablename = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
LOOP AT lo_result->get_columnstatisticstaskruns( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_accountid = lo_row_1->get_customerid( ).
lv_hashstring = lo_row_1->get_columnstatstaskrunid( ).
lv_databasename = lo_row_1->get_databasename( ).
lv_tablename = lo_row_1->get_tablename( ).
LOOP AT lo_row_1->get_columnnamelist( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_namestring = lo_row_3->get_value( ).
ENDIF.
ENDLOOP.
lv_catalogidstring = lo_row_1->get_catalogid( ).
lv_role = lo_row_1->get_role( ).
lv_samplesizepercentage = lo_row_1->get_samplesize( ).
lv_crawlersecurityconfigur = lo_row_1->get_securityconfiguration( ).
lv_positiveinteger = lo_row_1->get_numberofworkers( ).
lv_namestring = lo_row_1->get_workertype( ).
lv_computationtype = lo_row_1->get_computationtype( ).
lv_columnstatisticsstate = lo_row_1->get_status( ).
lv_timestamp = lo_row_1->get_creationtime( ).
lv_timestamp = lo_row_1->get_lastupdated( ).
lv_timestamp = lo_row_1->get_starttime( ).
lv_timestamp = lo_row_1->get_endtime( ).
lv_descriptionstring = lo_row_1->get_errormessage( ).
lv_nonnegativedouble = lo_row_1->get_dpuseconds( ).
ENDIF.
ENDLOOP.
lv_token = lo_result->get_nexttoken( ).
ENDIF.