pub struct Entailment<'a> {
pub reasoning: Reasoning,
pub inferred: bool,
pub hide_schema: bool,
pub transitive: &'a BTreeSet<i64>,
pub max_compound: usize,
pub as_of: Option<i64>,
}Expand description
Builds derived tables of entailed triples.
Fields§
§reasoning: Reasoning§inferred: boolAlso read materialized inferences (quads_inf).
hide_schema: boolExclude every registered schema graph from the stored triples
(QueryOptions::include_schema_graphs).
transitive: &'a BTreeSet<i64>§max_compound: usizeMaximum terms of a compound SELECT.
as_of: Option<i64>Read the store as it was at this tick (see version), from the change log.
Implementations§
Source§impl Entailment<'_>
impl Entailment<'_>
Sourcepub fn base(&self) -> String
pub fn base(&self) -> String
The table of stored triples: asserted, plus materialized inferences on request, minus the registered schema graphs when they are hidden.
Every quad source of the compiler goes through this or Self::source, so hiding is
applied once and covers patterns, paths, OPTIONAL and GRAPH ?g alike. Inferences
are conclusions rather than schema, so they are never hidden.
Trait Implementations§
Source§impl<'a> Clone for Entailment<'a>
impl<'a> Clone for Entailment<'a>
Auto Trait Implementations§
impl<'a> Freeze for Entailment<'a>
impl<'a> RefUnwindSafe for Entailment<'a>
impl<'a> Send for Entailment<'a>
impl<'a> Sync for Entailment<'a>
impl<'a> Unpin for Entailment<'a>
impl<'a> UnsafeUnpin for Entailment<'a>
impl<'a> UnwindSafe for Entailment<'a>
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