The ts_get_compressed() function

The ts_get_compressed() function returns the compression string if the time series data is compressed.

Syntax

mi_string
ts_get_compressed(ts_timeseries *ts)
ts
The name of the time series.

Description

Use the ts_get_compressed() function to determine the type of compression that is used in a time series that contains compressed numeric data.

Returns

Returns a string that represents the compression type if the time series contains compressed data; returns NULL if the time series does not contain compressed data.