/AWS1/IF_GLU=>UPDATETABLEOPTIMIZER()¶
About UpdateTableOptimizer¶
Updates the configuration for an existing table optimizer.
Method Signature¶
METHODS /AWS1/IF_GLU~UPDATETABLEOPTIMIZER
IMPORTING
!IV_CATALOGID TYPE /AWS1/GLUCATALOGIDSTRING OPTIONAL
!IV_DATABASENAME TYPE /AWS1/GLUNAMESTRING OPTIONAL
!IV_TABLENAME TYPE /AWS1/GLUNAMESTRING OPTIONAL
!IV_TYPE TYPE /AWS1/GLUTABLEOPTIMIZERTYPE OPTIONAL
!IO_TABLEOPTIMIZERCONF TYPE REF TO /AWS1/CL_GLUTABLEOPTIMIZERCONF OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_gluupdtbloptimizerrsp
RAISING
/AWS1/CX_GLUACCESSDENIEDEX
/AWS1/CX_GLUCONCURRENTMODEX
/AWS1/CX_GLUENTITYNOTFOUNDEX
/AWS1/CX_GLUINTERNALSERVICEEX
/AWS1/CX_GLUINVALIDINPUTEX
/AWS1/CX_GLUTHROTTLINGEX
/AWS1/CX_GLUVALIDATIONEX
/AWS1/CX_GLUCLIENTEXC
/AWS1/CX_GLUSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_catalogid TYPE /AWS1/GLUCATALOGIDSTRING /AWS1/GLUCATALOGIDSTRING¶
The Catalog ID of the table.
iv_databasename TYPE /AWS1/GLUNAMESTRING /AWS1/GLUNAMESTRING¶
The name of the database in the catalog in which the table resides.
iv_tablename TYPE /AWS1/GLUNAMESTRING /AWS1/GLUNAMESTRING¶
The name of the table.
iv_type TYPE /AWS1/GLUTABLEOPTIMIZERTYPE /AWS1/GLUTABLEOPTIMIZERTYPE¶
The type of table optimizer.
io_tableoptimizerconf TYPE REF TO /AWS1/CL_GLUTABLEOPTIMIZERCONF /AWS1/CL_GLUTABLEOPTIMIZERCONF¶
A
TableOptimizerConfigurationobject representing the configuration of a table optimizer.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_gluupdtbloptimizerrsp /AWS1/CL_GLUUPDTBLOPTIMIZERRSP¶
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->updatetableoptimizer(
io_tableoptimizerconf = new /aws1/cl_glutableoptimizerconf(
io_compactionconfiguration = new /aws1/cl_glucompactionconf(
io_icebergconfiguration = new /aws1/cl_gluicebergcompactconf(
iv_deletefilethreshold = 123
iv_mininputfiles = 123
iv_strategy = |string|
)
)
io_orphanfiledeletionconf = new /aws1/cl_gluorphanfiledeleti00(
io_icebergconfiguration = new /aws1/cl_gluicebergorphanfil00(
iv_location = |string|
iv_orphanfileretperiodindays = 123
iv_runrateinhours = 123
)
)
io_retentionconfiguration = new /aws1/cl_gluretentionconf(
io_icebergconfiguration = new /aws1/cl_gluicebergretconf(
iv_cleanexpiredfiles = ABAP_TRUE
iv_numberofsnapshotstoretain = 123
iv_runrateinhours = 123
iv_snapshotretperiodindays = 123
)
)
io_vpcconfiguration = new /aws1/cl_glutbloptimizervpcc00( |string| )
iv_enabled = ABAP_TRUE
iv_rolearn = |string|
)
iv_catalogid = |string|
iv_databasename = |string|
iv_tablename = |string|
iv_type = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.