pub struct LanceDfFieldDecoderStrategy { /* private fields */ }
Expand description
This strategy is responsible for creating the field scheduler that handles the pushdown filtering. It is a top-level scheduler that uses column info from various leaf schedulers.
The current implementation is a bit of a hack. It assumes that the decoder strategy will only be used once. The very first time that create_field_scheduler is called, we assume we are at the root.
Field decoding strategies are supposed to be stateless but this one is not. As a result, we use a mutex to gather the state even though we aren’t technically doing any concurrency.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LanceDfFieldDecoderStrategy
impl !RefUnwindSafe for LanceDfFieldDecoderStrategy
impl Send for LanceDfFieldDecoderStrategy
impl Sync for LanceDfFieldDecoderStrategy
impl Unpin for LanceDfFieldDecoderStrategy
impl !UnwindSafe for LanceDfFieldDecoderStrategy
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> 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 moreCreates a shared type from an unshared type.