![]() |
ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
|
Aggregate token bundling a provenance UUID with a running value. More...
#include "agg_token.h"
Public Attributes | |
| char | tok [2 *UUID_LEN+5] |
| Provenance UUID as a text string. | |
| char | val [80] |
| Aggregate running value as a text string. | |
Aggregate token bundling a provenance UUID with a running value.
tok holds the UUID of the provenance circuit gate for the current aggregate group, formatted as a 36-character string (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx plus a NUL terminator). The buffer size 2*UUID_LEN+5 accommodates the standard UUID text representation.
val holds the textual representation of the current aggregate value (e.g., a decimal integer or floating-point number). A longer value (the text of a string_agg, an array, a multirange...) keeps its first AGG_TOKEN_PREFIX_LEN characters, and the last byte of val is set to AGG_TOKEN_TRUNCATED: the whole value is that of the gate, read by agg_token_value_cstring.
Definition at line 32 of file agg_token.h.
| char agg_token::tok[2 *UUID_LEN+5] |
Provenance UUID as a text string.
Definition at line 33 of file agg_token.h.
| char agg_token::val[80] |
Aggregate running value as a text string.
Definition at line 34 of file agg_token.h.