Skip to content

/AWS1/CL_TSW=>UPDATETABLE()

About UpdateTable

Modifies the retention duration of the memory store and magnetic store for your Timestream table. Note that the change in retention duration takes effect immediately. For example, if the retention period of the memory store was initially set to 2 hours and then changed to 24 hours, the memory store will be capable of holding 24 hours of data, but will be populated with 24 hours of data 22 hours after this change was made. Timestream does not retrieve data from the magnetic store to populate the memory store.

See code sample for details.

Method Signature

IMPORTING

Required arguments:

IV_DATABASENAME TYPE /AWS1/TSWRESOURCENAME /AWS1/TSWRESOURCENAME

The name of the Timestream database.

IV_TABLENAME TYPE /AWS1/TSWRESOURCENAME /AWS1/TSWRESOURCENAME

The name of the Timestream table.

Optional arguments:

IO_RETENTIONPROPERTIES TYPE REF TO /AWS1/CL_TSWRETENTIONPRPS /AWS1/CL_TSWRETENTIONPRPS

The retention duration of the memory store and the magnetic store.

IO_MAGNETICSTOREWRITEPRPS TYPE REF TO /AWS1/CL_TSWMAGNETICSTOREWRI00 /AWS1/CL_TSWMAGNETICSTOREWRI00

Contains properties to set on the table when enabling magnetic store writes.

IO_SCHEMA TYPE REF TO /AWS1/CL_TSWSCHEMA /AWS1/CL_TSWSCHEMA

The schema of the table.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_TSWUPDATETABLERSP /AWS1/CL_TSWUPDATETABLERSP