pub struct GenericQueryProcessor<T: QueryAddress> { /* private fields */ }Expand description
QueryProcessor handles LiNo query parsing and execution Corresponds to AdvancedMixedQueryProcessor in C#
Implementations§
Source§impl<T: QueryAddress> GenericQueryProcessor<T>
impl<T: QueryAddress> GenericQueryProcessor<T>
pub fn with_auto_create_missing_references( self, auto_create_missing_references: bool, ) -> Self
Sourcepub fn process_query(
&self,
storage: &mut impl NamedTypeLinks<T>,
query: &str,
) -> Result<Changes<T>>
pub fn process_query( &self, storage: &mut impl NamedTypeLinks<T>, query: &str, ) -> Result<Changes<T>>
Processes a LiNo query and returns the list of changes.
Every scenario is simplified on the way out, matching the C# CLI, which
collects the raw handler calls and runs SimplifyChanges over them once
in Program.cs regardless of which branch of the processor produced
them.
Source§impl<T: QueryAddress> GenericQueryProcessor<T>
impl<T: QueryAddress> GenericQueryProcessor<T>
Auto Trait Implementations§
impl<T> Freeze for GenericQueryProcessor<T>
impl<T> RefUnwindSafe for GenericQueryProcessor<T>where
T: RefUnwindSafe,
impl<T> Send for GenericQueryProcessor<T>
impl<T> Sync for GenericQueryProcessor<T>
impl<T> Unpin for GenericQueryProcessor<T>where
T: Unpin,
impl<T> UnsafeUnpin for GenericQueryProcessor<T>
impl<T> UnwindSafe for GenericQueryProcessor<T>where
T: UnwindSafe,
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