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

Output of detect_reachability_cte(): the recognised shape's pieces. More...

Public Attributes

Oid relid
 Edge relation.
AttrNumber src_attno
 Source-vertex column of the edge relation.
AttrNumber dst_attno
 Destination-vertex column.
char * source_text
 Base arm's constant, rendered as text (constant form).
Oid source_relid
 Base arm's source relation (multi-source form), or InvalidOid.
AttrNumber source_attno
 Vertex column of the source relation.
bool directed
 false for the undirected (CASE/IN) shape.
char * edge_quals
 Deparsed extra quals over edge columns, or NULL.
char * edge_sql
 Deparsed edge subquery (join-defined edges), or NULL.
List * edge_rte_colnames
 Output column names of the edge subquery.
int hop_bound
 Maximum walk length (hop-counting shape), or -1.
int hop_seed
 Base arm's hop constant (hop-counting shape).
int hops_position
 1-based CTE position of the hop column, or 0.
int node_position
 1-based CTE position of the vertex column.

Detailed Description

Output of detect_reachability_cte(): the recognised shape's pieces.

Definition at line 1257 of file provsql.c.

Member Data Documentation

◆ directed

bool ReachabilityShape::directed

false for the undirected (CASE/IN) shape.

Definition at line 1264 of file provsql.c.

◆ dst_attno

AttrNumber ReachabilityShape::dst_attno

Destination-vertex column.

Definition at line 1260 of file provsql.c.

◆ edge_quals

char* ReachabilityShape::edge_quals

Deparsed extra quals over edge columns, or NULL.

Definition at line 1265 of file provsql.c.

◆ edge_rte_colnames

List* ReachabilityShape::edge_rte_colnames

Output column names of the edge subquery.

Definition at line 1267 of file provsql.c.

◆ edge_sql

char* ReachabilityShape::edge_sql

Deparsed edge subquery (join-defined edges), or NULL.

Definition at line 1266 of file provsql.c.

◆ hop_bound

int ReachabilityShape::hop_bound

Maximum walk length (hop-counting shape), or -1.

Definition at line 1268 of file provsql.c.

◆ hop_seed

int ReachabilityShape::hop_seed

Base arm's hop constant (hop-counting shape).

Definition at line 1269 of file provsql.c.

◆ hops_position

int ReachabilityShape::hops_position

1-based CTE position of the hop column, or 0.

Definition at line 1270 of file provsql.c.

◆ node_position

int ReachabilityShape::node_position

1-based CTE position of the vertex column.

Definition at line 1271 of file provsql.c.

◆ relid

Oid ReachabilityShape::relid

Edge relation.

Definition at line 1258 of file provsql.c.

◆ source_attno

AttrNumber ReachabilityShape::source_attno

Vertex column of the source relation.

Definition at line 1263 of file provsql.c.

◆ source_relid

Oid ReachabilityShape::source_relid

Base arm's source relation (multi-source form), or InvalidOid.

Definition at line 1262 of file provsql.c.

◆ source_text

char* ReachabilityShape::source_text

Base arm's constant, rendered as text (constant form).

Definition at line 1261 of file provsql.c.

◆ src_attno

AttrNumber ReachabilityShape::src_attno

Source-vertex column of the edge relation.

Definition at line 1259 of file provsql.c.


The documentation for this struct was generated from the following file:
  • /home/pierre/git/software/provsql/src/provsql.c