pub struct AutoExtractionEngine { /* private fields */ }Implementations§
Source§impl AutoExtractionEngine
impl AutoExtractionEngine
pub const fn new(policy: LinkPolicy) -> Self
Sourcepub fn plan<P: ExtractionProvider>(
&self,
provider: &P,
input: &ExtractionInput,
view: &MemoryView,
) -> Result<ExtractionPlan>
pub fn plan<P: ExtractionProvider>( &self, provider: &P, input: &ExtractionInput, view: &MemoryView, ) -> Result<ExtractionPlan>
Extracts, links, and converts one source into an idempotent event plan.
§Errors
Rejects invalid provider output, unsafe ambiguity, provenance mismatch, identifier collisions, and invalid temporal facts.
Sourcepub fn plan_with_linker<P: ExtractionProvider>(
&self,
provider: &P,
input: &ExtractionInput,
linker: &EntityLinker,
) -> Result<ExtractionPlan>
pub fn plan_with_linker<P: ExtractionProvider>( &self, provider: &P, input: &ExtractionInput, linker: &EntityLinker, ) -> Result<ExtractionPlan>
Uses a reusable linker for batch extraction against one projection.
§Errors
Has the same validation contract as Self::plan.
Trait Implementations§
Source§impl Clone for AutoExtractionEngine
impl Clone for AutoExtractionEngine
Source§fn clone(&self) -> AutoExtractionEngine
fn clone(&self) -> AutoExtractionEngine
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AutoExtractionEngine
Source§impl Debug for AutoExtractionEngine
impl Debug for AutoExtractionEngine
Source§impl Default for AutoExtractionEngine
impl Default for AutoExtractionEngine
Source§fn default() -> AutoExtractionEngine
fn default() -> AutoExtractionEngine
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AutoExtractionEngine
impl RefUnwindSafe for AutoExtractionEngine
impl Send for AutoExtractionEngine
impl Sync for AutoExtractionEngine
impl Unpin for AutoExtractionEngine
impl UnsafeUnpin for AutoExtractionEngine
impl UnwindSafe for AutoExtractionEngine
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