The ts_get_all_cols() procedure
The ts_get_all_cols() procedure loads the values in the element into the values and nulls arrays.
Syntax
void
ts_get_all_cols(ts_tsdesc *tsdesc,
ts_tselem tselem,
MI_DATUM *values,
mi_boolean *nulls,
mi_integer off)
- tsdesc
- A time series pointer returned by ts_open().
- tselem
- The element to extract data from.
- values
- The array to put the column data into. This array must be large enough to hold data for all the columns of the time series.
- nulls
- An array that indicates null values.
- off
- For a regular time series, off is the offset of the element. For an irregular time series, off is ignored.
Returns
None. The values and nulls arrays are filled in with data from the element. The values array is filled with values or pointers to values depending on whether the corresponding column is by reference or by value. The values in the values array must not be freed by the caller.