pub struct SchemaMeta {
pub type_predicate: Option<String>,
pub predicate_stats: Vec<PredStat>,
pub char_sets: Vec<CharSet>,
pub class_hierarchy: Vec<ClassNode>,
pub level_rollups: Vec<LevelRollup>,
pub level_links: Vec<LevelLinks>,
pub subclass_cycles: Vec<Vec<String>>,
pub disjoint_pairs: Vec<(String, String)>,
pub equivalent_pairs: Vec<(String, String)>,
}Expand description
A decoded SCHEMA section — or, for a file built before it existed, the same
fields read from the pyramid-meta (see SchemaMeta::from_pyramid).
Fields§
§type_predicate: Option<String>The type predicate the class rollups used; None when the graph has no
typing (or the fields came from a pyramid-meta, which does not say).
predicate_stats: Vec<PredStat>Per-predicate cardinality for the planner; see [PredStat].
char_sets: Vec<CharSet>The commonest entity shapes; see [CharSet].
class_hierarchy: Vec<ClassNode>The subClassOf DAG with per-class depth.
level_rollups: Vec<LevelRollup>The per-level type histograms.
level_links: Vec<LevelLinks>The per-level lateral class-relation graphs.
subclass_cycles: Vec<Vec<String>>subClassOf cycles.
disjoint_pairs: Vec<(String, String)>owl:disjointWith class pairs.
equivalent_pairs: Vec<(String, String)>owl:equivalentClass class pairs.
Implementations§
Source§impl SchemaMeta
impl SchemaMeta
Trait Implementations§
Source§impl Clone for SchemaMeta
impl Clone for SchemaMeta
Source§impl Debug for SchemaMeta
impl Debug for SchemaMeta
Source§impl Default for SchemaMeta
impl Default for SchemaMeta
Source§impl PartialEq for SchemaMeta
impl PartialEq for SchemaMeta
impl StructuralPartialEq for SchemaMeta
Auto Trait Implementations§
impl Freeze for SchemaMeta
impl RefUnwindSafe for SchemaMeta
impl Send for SchemaMeta
impl Sync for SchemaMeta
impl Unpin for SchemaMeta
impl UnsafeUnpin for SchemaMeta
impl UnwindSafe for SchemaMeta
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more