vertices Schema
Each row represents a vertex of the graph.
Column | Data Type | Description |
---|---|---|
vertex_key_column | Any allowed in PARTITION BY clause | [Column appears once for each specified vertex_key_column.] All or part of unique vertex key. Cannot be NULL. |
edges Schema
Each row represents an edge of the graph.
Column | Data Type | Description |
---|---|---|
source_vertex_key_column | Any allowed in PARTITION BY clause | Column appears once for each specified source_vertex_key_column.] All or part of key that identifies source vertex of edge. Must be a vertex_key_column in vertices table. Cannot be NULL. |
target_vertex_key_column | Same as source_vertex_key_column | Column appears once for each specified target_vertex_key_column.] All or part of key that identifies target vertex of edge. Must be a vertex_key_column in vertices table. Cannot be NULL. |
edge_weight | SMALLINT, INTEGER, or NUMERIC | [Required only for weighted graph.] Edge weight, a positive value. Can be NULL. |
root Schema
Each row represents a root vertex from which the function starts traversing the graph.
Column | Data Type | Description |
---|---|---|
root_key_column | Any allowed in PARTITION BY clause | [Column appears once for each specified root_key_column.] All or part of root vertex key. Must be a vertex_key_column in vertices table. Cannot be NULL. |