![]() |
ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
|
WhereCircuit method implementations and where-provenance evaluation. More...
#include "WhereCircuit.h"#include "provsql_utils.h"#include <unistd.h>#include <cassert>#include <string>#include <fstream>#include <sstream>#include <cstdlib>
Go to the source code of this file.
WhereCircuit method implementations and where-provenance evaluation.
Implements:
setGate(), setGateInput(), setGateProjection(), setGateEquality().toString(): human-readable gate representation for debugging.evaluate(): recursive DFS that computes the set of Locator values for each output column position, propagating provenance through TIMES (Cartesian product), PLUS (union), PROJECT (column selection), and EQ (equijoin merging) gates.WhereCircuit::Locator::operator<() and toString(). Definition in file WhereCircuit.cpp.