TSL_FlushStatus function

The TSL_FlushStatus function presents the return value of the TSL_Flush function in a format that is easier to read.

Syntax

TSL_FlushStatus(
           value   integer)
returns integer, integer 
value
The TSL_Flush function.

Returns

Two 16-bit integers that indicate the status of the TSL_Flush function:

  • The number of containers into which elements are inserted.
  • The total number of elements that are inserted.

A return value of -1 indicates that the process was interrupted or encountered a severe error.

Example

The following statement runs the TSL_Flush function and returns the number of containers that are affected and the number of elements that are inserted as integers:

EXECUTE FUNCTION TSL_FlushStatus(TSL_FLush('ts_data|raw_reads'));