![]() |
ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
|
One atom of a conjunctive query: a relation symbol applied to query variables. More...
#include "UCQJointCompiler.h"
Public Attributes | |
| unsigned | relation_id = 0 |
| Dense id of the relation symbol. | |
| std::vector< unsigned > | vars |
| Query-variable indices, one per column. | |
One atom of a conjunctive query: a relation symbol applied to query variables.
Constants are pre-filtered by the SQL layer (selection pushed down), so an atom mentions only variables; vars index into the disjunct's variable list. A repeated variable encodes an equality (a self-join on equal columns); two atoms may share a relation_id (a self-join).
Definition at line 65 of file UCQJointCompiler.h.
| unsigned Atom::relation_id = 0 |
Dense id of the relation symbol.
Definition at line 66 of file UCQJointCompiler.h.
| std::vector<unsigned> Atom::vars |
Query-variable indices, one per column.
Definition at line 67 of file UCQJointCompiler.h.