ZephyrDB
Embedded database for Zephyr RTOS: KV, time-series, and document models
Loading...
Searching...
No Matches
zdb_ts_agg_result_t Struct Reference

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.

Detailed Description

Member Data Documentation

◆ agg

zdb_ts_agg_t zdb_ts_agg_result_t::agg

Aggregation that was computed.

◆ points

uint32_t zdb_ts_agg_result_t::points

Number of samples that matched the window.

◆ truncated

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.

◆ value

double zdb_ts_agg_result_t::value

Aggregate value (equals points for COUNT).


The documentation for this struct was generated from the following file: