pub struct AssembleOptions<'a> {
pub with_pyramid: bool,
pub with_text_index: bool,
pub text_index_scope: Option<&'a TextIndexScope>,
pub type_override: Option<&'a str>,
pub algo: PyramidAlgo,
pub perms: PermSet,
pub graph_layout: GraphLayout,
pub pyramid_layout: PyramidLayout,
pub label_index: bool,
pub schema: bool,
}Expand description
Everything an in-memory build decides besides its input. The fields the
older assemble_* entry points take positionally, plus the sections added
after the generation-1 freeze.
Fields§
§with_pyramid: boolBuild the community pyramid (kind 4).
with_text_index: boolBuild the full-text index (kind 6, or kind 11 when its scope leaves out some predicates).
text_index_scope: Option<&'a TextIndexScope>The scope of that index (--text-index-graphs, --text-index-include,
--text-index-exclude); None is the default scope, the only one
before 0.4.0: the default graph, every predicate.
type_override: Option<&'a str>The type predicate for the schema (e.g. wdt:P31); rdf:type if None.
algo: PyramidAlgoThe community algorithm of the pyramid.
perms: PermSetWhich index permutations to write.
graph_layout: GraphLayoutHow the named graphs are stored: one index per graph (kind 5) or the
quad index (kind 10, rete build --named-graphs quad).
pyramid_layout: PyramidLayoutWhat the pyramid-meta carries besides the summary.
label_index: boolWrite the LABEL_INDEX section (kind 8, rete build --label-index).
schema: boolWrite the SCHEMA section (kind 9; rete build writes it unless
--no-schema).
Implementations§
Source§impl AssembleOptions<'_>
impl AssembleOptions<'_>
Trait Implementations§
Source§impl<'a> Clone for AssembleOptions<'a>
impl<'a> Clone for AssembleOptions<'a>
impl<'a> Copy for AssembleOptions<'a>
Auto Trait Implementations§
impl<'a> Freeze for AssembleOptions<'a>
impl<'a> RefUnwindSafe for AssembleOptions<'a>
impl<'a> Send for AssembleOptions<'a>
impl<'a> Sync for AssembleOptions<'a>
impl<'a> Unpin for AssembleOptions<'a>
impl<'a> UnsafeUnpin for AssembleOptions<'a>
impl<'a> UnwindSafe for AssembleOptions<'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
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> ⓘ
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> ⓘ
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