pub struct BuiltLink {
pub edge: Edge,
pub form: Option<Form>,
pub children: u64,
pub linked: u64,
pub bytes: usize,
pub table_bytes: u64,
pub degrees: Option<Degrees>,
pub built: bool,
pub note: Option<String>,
pub build: Duration,
}Expand description
What building one forward link cost and what it bought.
Fields§
§edge: EdgeThe relationship this is a link for.
form: Option<Form>Which form section 3.4’s measurement chose, or None when nothing was built.
children: u64Rows in the child table.
linked: u64Children that found a parent. Below children means the foreign key is not total, which is
legal and is also what keeps the relationship out of the monotone form.
bytes: usizeWhat the link takes in the file, header included, or would have taken when it was not kept.
table_bytes: u64The stored column bytes of the child table, which is what section 3.7’s budget is a share of and what the size claim of section 9.1 is measured against.
degrees: Option<Degrees>What the build measured of the relationship’s shape, or None when nothing was built.
These ride along with the link rather than being computed for their own sake, because the
pass that resolves every child’s parent is the pass that counts degrees. They are stored in
their own section and are what rudb_links() reports in its degree columns.
built: boolWhether it is in the file.
note: Option<String>Why not, when not. None when it is.
build: DurationHow long the build took, the reading of the child column included.