ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
Loading...
Searching...
No Matches
agg_token Struct Reference

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.
 

Detailed Description

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). An 80-character buffer is sufficient for all numeric types supported by ProvSQL.

Definition at line 29 of file agg_token.h.

Member Data Documentation

◆ tok

char agg_token::tok[2 *UUID_LEN+5]

Provenance UUID as a text string.

Definition at line 30 of file agg_token.h.

◆ val

char agg_token::val[80]

Aggregate running value as a text string.

Definition at line 31 of file agg_token.h.


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