Struct datafusion::physical_plan::filter::FilterExec [−][src]
pub struct FilterExec { /* fields omitted */ }
Expand description
FilterExec evaluates a boolean predicate against all input batches to determine which rows to include in its output batches.
Implementations
pub fn try_new(
predicate: Arc<dyn PhysicalExpr>,
input: Arc<dyn ExecutionPlan>
) -> Result<Self>
pub fn try_new(
predicate: Arc<dyn PhysicalExpr>,
input: Arc<dyn ExecutionPlan>
) -> Result<Self>
Create a FilterExec on an input
The expression to filter on. This expression must evaluate to a boolean value.
The input plan
Trait Implementations
Get the output partitioning of this plan
Get a list of child execution plans that provide the input for this plan. The returned list will be empty for leaf nodes, will contain a single value for unary nodes, or two values for binary nodes (such as joins). Read more
fn with_new_children(
&self,
children: Vec<Arc<dyn ExecutionPlan>>
) -> Result<Arc<dyn ExecutionPlan>>
fn with_new_children(
&self,
children: Vec<Arc<dyn ExecutionPlan>>
) -> Result<Arc<dyn ExecutionPlan>>
Returns a new plan where all children were replaced by new plans.
The size of children
must be equal to the size of ExecutionPlan::children()
. Read more
creates an iterator
Format this ExecutionPlan
to f
in the specified type. Read more
Specifies the data distribution requirements of all the children for this operator