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

What a call to probCachedProbability actually did, so the caller can report it instead of the method it was asked for. More...

#include "ProbCache.h"

Public Member Functions

std::string describe () const
 Comma-separated label: "fold" if folded, the builders that ran, then "cache:<builder>" for each builder whose entry was served.

Public Attributes

bool folded = false
 root split into independent groups
std::vector< std::string > built
 builders run on a miss
std::vector< std::string > cached
 builders of the entries served

Detailed Description

What a call to probCachedProbability actually did, so the caller can report it instead of the method it was asked for.

Definition at line 110 of file ProbCache.h.

Member Function Documentation

◆ describe()

std::string provsql::ProbCacheReport::describe ( ) const

Comma-separated label: "fold" if folded, the builders that ran, then "cache:<builder>" for each builder whose entry was served.

Definition at line 502 of file ProbCache.cpp.

Member Data Documentation

◆ built

std::vector<std::string> provsql::ProbCacheReport::built

builders run on a miss

Definition at line 112 of file ProbCache.h.

◆ cached

std::vector<std::string> provsql::ProbCacheReport::cached

builders of the entries served

Definition at line 113 of file ProbCache.h.

◆ folded

bool provsql::ProbCacheReport::folded = false

root split into independent groups

Definition at line 111 of file ProbCache.h.


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