pub struct VfSimplifyInfo { /* private fields */ }Expand description
In order to simplify expressions, DataFusion must have information about the expressions.
You can provide that information using DataFusion DFSchema objects or from some other implemention
Trait Implementations§
Source§impl From<DFSchema> for VfSimplifyInfo
impl From<DFSchema> for VfSimplifyInfo
Source§impl SimplifyInfo for VfSimplifyInfo
impl SimplifyInfo for VfSimplifyInfo
Source§fn is_boolean_type(&self, expr: &Expr) -> Result<bool, DataFusionError>
fn is_boolean_type(&self, expr: &Expr) -> Result<bool, DataFusionError>
Returns true if this Expr has boolean type
Source§fn nullable(&self, expr: &Expr) -> Result<bool, DataFusionError>
fn nullable(&self, expr: &Expr) -> Result<bool, DataFusionError>
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
Source§fn get_data_type(&self, expr: &Expr) -> Result<DataType, DataFusionError>
fn get_data_type(&self, expr: &Expr) -> Result<DataType, DataFusionError>
Returns data type of this expr needed for determining optimized int type of a value
Auto Trait Implementations§
impl Freeze for VfSimplifyInfo
impl !RefUnwindSafe for VfSimplifyInfo
impl Send for VfSimplifyInfo
impl Sync for VfSimplifyInfo
impl Unpin for VfSimplifyInfo
impl !UnwindSafe for VfSimplifyInfo
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request