Skip to content

/AWS1/IF_GLU=>GETMATERIALIZEDVIEWREFRESH00()

About GetMaterializedViewRefreshTaskRun

Get the associated metadata/information for a task run, given a task run ID.

Method Signature

METHODS /AWS1/IF_GLU~GETMATERIALIZEDVIEWREFRESH00
  IMPORTING
    !IV_CATALOGID TYPE /AWS1/GLUNAMESTRING OPTIONAL
    !IV_MATERIALIZEDVIEWREFRESH00 TYPE /AWS1/GLUUUIDV4 OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_glugetmaterializedv01
  RAISING
    /AWS1/CX_GLUACCESSDENIEDEX
    /AWS1/CX_GLUENTITYNOTFOUNDEX
    /AWS1/CX_GLUINVALIDINPUTEX
    /AWS1/CX_GLUOPERATIONTIMEOUTEX
    /AWS1/CX_GLUCLIENTEXC
    /AWS1/CX_GLUSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_catalogid TYPE /AWS1/GLUNAMESTRING /AWS1/GLUNAMESTRING

The ID of the Data Catalog where the table resides. If none is supplied, the account ID is used by default.

iv_materializedviewrefresh00 TYPE /AWS1/GLUUUIDV4 /AWS1/GLUUUIDV4

The identifier for the particular materialized view refresh task run.

RETURNING

oo_output TYPE REF TO /aws1/cl_glugetmaterializedv01 /AWS1/CL_GLUGETMATERIALIZEDV01

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->getmaterializedviewrefresh00(
  iv_catalogid = |string|
  iv_materializedviewrefresh00 = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lo_materializedviewrefresh = lo_result->get_materializedviewrefres01( ).
  IF lo_materializedviewrefresh IS NOT INITIAL.
    lv_accountid = lo_materializedviewrefresh->get_customerid( ).
    lv_uuidv4 = lo_materializedviewrefresh->get_materializedviewrefres00( ).
    lv_databasename = lo_materializedviewrefresh->get_databasename( ).
    lv_tablename = lo_materializedviewrefresh->get_tablename( ).
    lv_catalogidstring = lo_materializedviewrefresh->get_catalogid( ).
    lv_role = lo_materializedviewrefresh->get_role( ).
    lv_materializedviewrefresh_1 = lo_materializedviewrefresh->get_status( ).
    lv_timestamp = lo_materializedviewrefresh->get_creationtime( ).
    lv_timestamp = lo_materializedviewrefresh->get_lastupdated( ).
    lv_timestamp = lo_materializedviewrefresh->get_starttime( ).
    lv_timestamp = lo_materializedviewrefresh->get_endtime( ).
    lv_descriptionstring = lo_materializedviewrefresh->get_errormessage( ).
    lv_nonnegativedouble = lo_materializedviewrefresh->get_dpuseconds( ).
    lv_materializedviewrefresh_2 = lo_materializedviewrefresh->get_refreshtype( ).
    lv_bytecount = lo_materializedviewrefresh->get_processedbytes( ).
  ENDIF.
ENDIF.