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
impl Copy for AutoExtractionEngine
Source§impl Debug for AutoExtractionEngine
impl Debug for AutoExtractionEngine
Auto Trait Implementations§
impl Forget for AutoExtractionEngine
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