pub struct NoopExtractor;Expand description
Default extractor when graph pipeline is OFF (Plan 03-03) or when no remote
backend cache is missing. Returns one empty RawExtraction per input
chunk so the per-chunk index alignment downstream still holds.
Trait Implementations§
Source§impl Clone for NoopExtractor
impl Clone for NoopExtractor
Source§fn clone(&self) -> NoopExtractor
fn clone(&self) -> NoopExtractor
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 NoopExtractor
Source§impl Debug for NoopExtractor
impl Debug for NoopExtractor
Source§impl Default for NoopExtractor
impl Default for NoopExtractor
Source§fn default() -> NoopExtractor
fn default() -> NoopExtractor
Returns the “default value” for a type. Read more
Source§impl Extractor for NoopExtractor
impl Extractor for NoopExtractor
Source§fn extract<'life0, 'life1, 'async_trait>(
&'life0 self,
_episode_id: Ulid,
chunks: &'life1 [ChunkInput],
) -> Pin<Box<dyn Future<Output = Result<RawExtractionBatch, LunarisError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
NoopExtractor: 'async_trait,
fn extract<'life0, 'life1, 'async_trait>(
&'life0 self,
_episode_id: Ulid,
chunks: &'life1 [ChunkInput],
) -> Pin<Box<dyn Future<Output = Result<RawExtractionBatch, LunarisError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
NoopExtractor: 'async_trait,
Extract entities + relations + facts from a batch of chunk inputs. Read more
Source§fn applies(&self) -> bool
fn applies(&self) -> bool
Returns
true when this extractor produces real extractions; false
for NoopExtractor so callers (Plan 03-03 ingest fan-out) can skip
the GraphNode / GraphEdge WriteOps when applies() == false.Auto Trait Implementations§
impl Freeze for NoopExtractor
impl RefUnwindSafe for NoopExtractor
impl Send for NoopExtractor
impl Sync for NoopExtractor
impl Unpin for NoopExtractor
impl UnsafeUnpin for NoopExtractor
impl UnwindSafe for NoopExtractor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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> ⓘ
Converts
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> ⓘ
Converts
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