Trait datafusion::logical_plan::SimplifyInfo
source · [−]pub trait SimplifyInfo {
fn is_boolean_type(&self, expr: &Expr) -> Result<bool>;
fn nullable(&self, expr: &Expr) -> Result<bool>;
fn execution_props(&self) -> &ExecutionProps;
}
Expand description
The information necessary to apply algebraic simplification to an Expr. See [SimplifyContext] for one implementation
Required methods
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
returns true of this expr is nullable (could possibly be NULL)
fn execution_props(&self) -> &ExecutionProps
fn execution_props(&self) -> &ExecutionProps
Returns details needed for partial expression evaluation