Possible values |
Names |
Descriptions |
4 |
SA_UNKNOWN |
Default value, defined for forward compatibility. |
0 |
SA_NONE |
No aggregation. |
1 |
SA_X_GROUP_BY |
Group by aggregation. Identical values of this symbol are merged. |
2 |
SA_X_INTERVAL |
Interval aggregation. Values are separated to intervals (e.g. 1 hour) and all values inside a single interval are merged. |
3 |
SA_X_BOOLEAN_CONDITION |
Deprecated, do not use. |
5 |
SA_X_INTERVAL_LIST |
List of intervals. Similar to SA_X_INTERVAL, values are separated to intervals of various length (e.g. last 1 day, 3 days, 7 days) and all values inside a single interval are merged. |
50 |
SA_Y_COUNT |
Count of individual values. |
51 |
SA_Y_MINIMUM |
Minimum from all values. |
52 |
SA_Y_MAXIMUM |
Maximum from all values. |
53 |
SA_Y_SUM |
Sum of all values. |
54 |
SA_Y_AVERAGE |
Average of all values. |
55 |
SA_Y_MEDIAN |
Median of all values. |
56 |
SA_Y_MODE |
Deprecated, do not use. |
57 |
SA_Y_UNIQUE_COUNT |
Count of unique values. E.g. unique_count(1, 2, 1, 3, 1) = 3. |
58 |
SA_RELATIVE_TIME_INTERVAL |
Relative time interval, time relative to "now". |
59 |
SA_RELATIVE_TIME_INTERVAL_INCLUDE_UNDEFINED |
Relative time interval, time relative to "now". No data is treated as -inf. |