struct SessionSimplifyProvider<'a> {
state: &'a SessionState,
df_schema: &'a DFSchema,
}Fields§
§state: &'a SessionState§df_schema: &'a DFSchemaImplementations§
Source§impl<'a> SessionSimplifyProvider<'a>
impl<'a> SessionSimplifyProvider<'a>
fn new(state: &'a SessionState, df_schema: &'a DFSchema) -> Self
Trait Implementations§
Source§impl SimplifyInfo for SessionSimplifyProvider<'_>
impl SimplifyInfo for SessionSimplifyProvider<'_>
Source§fn is_boolean_type(&self, expr: &Expr) -> Result<bool>
fn is_boolean_type(&self, expr: &Expr) -> Result<bool>
Returns true if this Expr has boolean type
Source§fn nullable(&self, expr: &Expr) -> Result<bool>
fn nullable(&self, expr: &Expr) -> Result<bool>
Returns true of this expr is nullable (could possibly be NULL)
Source§fn execution_props(&self) -> &ExecutionProps
fn execution_props(&self) -> &ExecutionProps
Returns details needed for partial expression evaluation
Auto Trait Implementations§
impl<'a> Freeze for SessionSimplifyProvider<'a>
impl<'a> !RefUnwindSafe for SessionSimplifyProvider<'a>
impl<'a> Send for SessionSimplifyProvider<'a>
impl<'a> Sync for SessionSimplifyProvider<'a>
impl<'a> Unpin for SessionSimplifyProvider<'a>
impl<'a> !UnwindSafe for SessionSimplifyProvider<'a>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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