![]() |
ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
|
Describes the origin of a single attribute value. More...
#include "WhereCircuit.h"
Public Member Functions | |
| Locator (std::string t, uuid u, int i) | |
Construct a Locator. | |
| bool | operator< (Locator that) const |
Lexicographic ordering for use in std::set. | |
| std::string | toString () const |
| Return a human-readable representation of this locator. | |
Public Attributes | |
| std::string | table |
| Name of the source relation. | |
| uuid | tid |
| UUID (row token) of the source tuple. | |
| int | position |
| Zero-based column index within the tuple. | |
Describes the origin of a single attribute value.
A Locator identifies a specific attribute of a specific tuple in a specific base table as the origin of an output value.
Definition at line 102 of file WhereCircuit.h.
|
inline |
Construct a Locator.
| t | Source table name. |
| u | Source tuple UUID. |
| i | Column position. |
Definition at line 113 of file WhereCircuit.h.
| bool WhereCircuit::Locator::operator< | ( | WhereCircuit::Locator | that | ) | const |
Lexicographic ordering for use in std::set.
| that | Other Locator. |
true if *this is less than that. Definition at line 188 of file WhereCircuit.cpp.
| std::string WhereCircuit::Locator::toString | ( | ) | const |
Return a human-readable representation of this locator.
Definition at line 197 of file WhereCircuit.cpp.

| int WhereCircuit::Locator::position |
Zero-based column index within the tuple.
Definition at line 105 of file WhereCircuit.h.
| std::string WhereCircuit::Locator::table |
Name of the source relation.
Definition at line 103 of file WhereCircuit.h.
| uuid WhereCircuit::Locator::tid |
UUID (row token) of the source tuple.
Definition at line 104 of file WhereCircuit.h.