|
ZephyrDB
Embedded database for Zephyr RTOS: KV, time-series, and document models
|
Result of zdb_ts_query_aggregate(). More...
#include <zephyrdb.h>
Public Attributes | |
| zdb_ts_agg_t | agg |
| double | value |
| uint32_t | points |
| bool | truncated |
| True when the scan stopped early and value is partial. | |
Result of zdb_ts_query_aggregate().
| zdb_ts_agg_t zdb_ts_agg_result_t::agg |
Aggregation that was computed.
| uint32_t zdb_ts_agg_result_t::points |
Number of samples that matched the window.
| bool zdb_ts_agg_result_t::truncated |
True when the scan stopped early and value is partial.
Set when the scan reached CONFIG_ZDB_TS_MAX_AGG_POINTS while matching samples remained. Never set for ZDB_TS_AGG_COUNT, which is not capped.
| double zdb_ts_agg_result_t::value |
Aggregate value (equals points for COUNT).