TSRecordDataType¶
Synopsis¶
#include <ts/apidefs.h>
-
enum
TSRecordDataType
¶ The underlying data type of a data record (configuration variable or statistic).
-
enumerator
TS_RECORDDATATYPE_NULL
¶ No data type. Used as an invalid initialization value.
-
enumerator
TS_RECORDDATATYPE_INT
¶ An integer.
-
enumerator
TS_RECORDDATATYPE_FLOAT
¶ Floating point.
-
enumerator
TS_RECORDDATATYPE_STRING
¶ A string.
-
enumerator
TS_RECORDDATATYPE_COUNTER
¶ A counter which has a count and a sum.
-
enumerator
TS_RECORDDATATYPE_STAT_CONST
¶ A value that is unchangeable.
-
enumerator
TS_RECORDDATATYPE_STAT_FX
¶ Unknown.
-
enumerator
-
union
TSRecordData
¶ A union that holds the data for a record. The correct member is indicated by a
TSRecordType
value.-
int
rec_int
¶ Data for
TS_RECORDDATATYPE_INT
.
-
float
rec_float
¶ Data for
TS_RECORDDATATYPE_FLOAT
.
-
char *
rec_string
¶ Data for
TS_RECORDDATATYPE_STRING
.
-
int64_t
rec_counter
¶ Data for
TS_RECORDDATATYPE_COUNTER
.
-
int
Description¶
This data type describes the data stored in a management value such as a configuration value or a statistic value.