smollerGraph 0.20.2
A small graph database, from scratch
Loading...
Searching...
No Matches
smollergraph::RelationshipRecord Struct Reference

A relationship on disk: its type's token, the nodes it joins, the next relationship that starts at from and the next that ends at to, so it's in a chain of each of its nodes, then the first of its properties. More...

#include <graph.h>

Public Attributes

TokenId type
 
NodeId from
 
NodeId to
 
RelationshipId next_out
 
RelationshipId next_in
 
PropertyId first_property
 

Detailed Description

A relationship on disk: its type's token, the nodes it joins, the next relationship that starts at from and the next that ends at to, so it's in a chain of each of its nodes, then the first of its properties.

Definition at line 43 of file graph.h.

Member Data Documentation

◆ first_property

PropertyId smollergraph::RelationshipRecord::first_property

Definition at line 49 of file graph.h.

◆ from

NodeId smollergraph::RelationshipRecord::from

Definition at line 45 of file graph.h.

◆ next_in

RelationshipId smollergraph::RelationshipRecord::next_in

Definition at line 48 of file graph.h.

◆ next_out

RelationshipId smollergraph::RelationshipRecord::next_out

Definition at line 47 of file graph.h.

◆ to

NodeId smollergraph::RelationshipRecord::to

Definition at line 46 of file graph.h.

◆ type

TokenId smollergraph::RelationshipRecord::type

Definition at line 44 of file graph.h.


The documentation for this struct was generated from the following file: