pub struct ExprContainer {
pub input_schema: DFSchemaRef,
pub exprs: Vec<(Expr, Field)>,
}
Expand description
An ExprContainer is a container for a collection of expressions with a common input schema
In addition, each expression is associated with a field, which defines the expression’s output. The data type and nullability of the field are calculated from the expression and the input schema. However the names of the field (and its nested fields) are derived from the Substrait message.
Fields§
§input_schema: DFSchemaRef
The input schema for the expressions
exprs: Vec<(Expr, Field)>
The expressions
Each item contains an expression and the field that defines the expected nullability and name of the expr’s output
Auto Trait Implementations§
impl Freeze for ExprContainer
impl !RefUnwindSafe for ExprContainer
impl Send for ExprContainer
impl Sync for ExprContainer
impl Unpin for ExprContainer
impl !UnwindSafe for ExprContainer
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> 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