pub struct DefaultSubstraitLambdaConsumer { /* private fields */ }Expand description
Default implementation of lambda related methods of the SubstraitConsumer trait
Can be embedded into a custom SubstraitConsumer to implement them
Implementations§
Source§impl DefaultSubstraitLambdaConsumer
impl DefaultSubstraitLambdaConsumer
pub fn new() -> Self
pub fn push_lambda_parameters( &self, consumer: &impl SubstraitConsumer, lambda_parameters: &[Type], input_schema: &DFSchema, ) -> Result<Vec<String>>
pub fn pop_lambda_parameters(&self)
pub fn lambda_variable( &self, steps_out: usize, field_idx: usize, ) -> Result<Expr>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for DefaultSubstraitLambdaConsumer
impl RefUnwindSafe for DefaultSubstraitLambdaConsumer
impl Send for DefaultSubstraitLambdaConsumer
impl Sync for DefaultSubstraitLambdaConsumer
impl Unpin for DefaultSubstraitLambdaConsumer
impl UnsafeUnpin for DefaultSubstraitLambdaConsumer
impl UnwindSafe for DefaultSubstraitLambdaConsumer
Blanket Implementations§
impl<T> Allocation for T
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> 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