TSRecordDataType
Synopsis
include <ts/apidefs.h>
TSRecordDataType
The underlying data type of a data record (configuration variable or statistic).
TS_RECORDDATATYPE_NULLNo data type. Used as an invalid initialization value.
TS_RECORDDATATYPE_INTAn integer.
TS_RECORDDATATYPE_FLOATFloating point.
TS_RECORDDATATYPE_STRINGA string.
TS_RECORDDATATYPE_COUNTERA counter which has a count and a sum.
TS_RECORDDATATYPE_STAT_CONSTA value that is unchangeable.
TS_RECORDDATATYPE_STAT_FXUnknown.
TSRecordData
A union that holds the data for a record. The correct member is indicated by a TSRecordType value.
int
rec_intData for
TS_RECORDDATATYPE_INT.float
rec_floatData for
TS_RECORDDATATYPE_FLOAT.char *
rec_stringData for
TS_RECORDDATATYPE_STRING.int64_t
rec_counterData for
TS_RECORDDATATYPE_COUNTER.
Description
This data type describes the data stored in a management value such as a configuration value or a statistic value.
