PhysicalExprExt

Trait PhysicalExprExt 

Source
pub trait PhysicalExprExt: Sized {
    // Required methods
    fn apply_with_lambdas_params<'n, F: FnMut(&'n Self, &HashSet<&'n str>) -> Result<TreeNodeRecursion>>(
        &'n self,
        f: F,
    ) -> Result<TreeNodeRecursion>;
    fn apply_with_schema<'n, F: FnMut(&'n Self, &Schema) -> Result<TreeNodeRecursion>>(
        &'n self,
        schema: &Schema,
        f: F,
    ) -> Result<TreeNodeRecursion>;
    fn apply_children_with_schema<'n, F: FnMut(&'n Self, &Schema) -> Result<TreeNodeRecursion>>(
        &'n self,
        schema: &Schema,
        f: F,
    ) -> Result<TreeNodeRecursion>;
    fn transform_down_with_schema<F: FnMut(Self, &Schema) -> Result<Transformed<Self>>>(
        self,
        schema: &Schema,
        f: F,
    ) -> Result<Transformed<Self>>;
    fn transform_up_with_schema<F: FnMut(Self, &Schema) -> Result<Transformed<Self>>>(
        self,
        schema: &Schema,
        f: F,
    ) -> Result<Transformed<Self>>;
    fn transform_down_with_lambdas_params(
        self,
        f: impl FnMut(Self, &HashSet<String>) -> Result<Transformed<Self>>,
    ) -> Result<Transformed<Self>>;
    fn transform_up_with_lambdas_params(
        self,
        f: impl FnMut(Self, &HashSet<String>) -> Result<Transformed<Self>>,
    ) -> Result<Transformed<Self>>;

    // Provided methods
    fn transform_with_schema<F: FnMut(Self, &Schema) -> Result<Transformed<Self>>>(
        self,
        schema: &Schema,
        f: F,
    ) -> Result<Transformed<Self>> { ... }
    fn transform_with_lambdas_params(
        self,
        f: impl FnMut(Self, &HashSet<String>) -> Result<Transformed<Self>>,
    ) -> Result<Transformed<Self>> { ... }
}

Required Methods§

Source

fn apply_with_lambdas_params<'n, F: FnMut(&'n Self, &HashSet<&'n str>) -> Result<TreeNodeRecursion>>( &'n self, f: F, ) -> Result<TreeNodeRecursion>

Source

fn apply_with_schema<'n, F: FnMut(&'n Self, &Schema) -> Result<TreeNodeRecursion>>( &'n self, schema: &Schema, f: F, ) -> Result<TreeNodeRecursion>

Source

fn apply_children_with_schema<'n, F: FnMut(&'n Self, &Schema) -> Result<TreeNodeRecursion>>( &'n self, schema: &Schema, f: F, ) -> Result<TreeNodeRecursion>

Source

fn transform_down_with_schema<F: FnMut(Self, &Schema) -> Result<Transformed<Self>>>( self, schema: &Schema, f: F, ) -> Result<Transformed<Self>>

Source

fn transform_up_with_schema<F: FnMut(Self, &Schema) -> Result<Transformed<Self>>>( self, schema: &Schema, f: F, ) -> Result<Transformed<Self>>

Source

fn transform_down_with_lambdas_params( self, f: impl FnMut(Self, &HashSet<String>) -> Result<Transformed<Self>>, ) -> Result<Transformed<Self>>

Source

fn transform_up_with_lambdas_params( self, f: impl FnMut(Self, &HashSet<String>) -> Result<Transformed<Self>>, ) -> Result<Transformed<Self>>

Provided Methods§

Source

fn transform_with_schema<F: FnMut(Self, &Schema) -> Result<Transformed<Self>>>( self, schema: &Schema, f: F, ) -> Result<Transformed<Self>>

Source

fn transform_with_lambdas_params( self, f: impl FnMut(Self, &HashSet<String>) -> Result<Transformed<Self>>, ) -> Result<Transformed<Self>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl PhysicalExprExt for Arc<dyn PhysicalExpr>

Source§

fn apply_with_lambdas_params<'n, F: FnMut(&'n Self, &HashSet<&'n str>) -> Result<TreeNodeRecursion>>( &'n self, f: F, ) -> Result<TreeNodeRecursion>

Source§

fn apply_with_schema<'n, F: FnMut(&'n Self, &Schema) -> Result<TreeNodeRecursion>>( &'n self, schema: &Schema, f: F, ) -> Result<TreeNodeRecursion>

Source§

fn apply_children_with_schema<'n, F: FnMut(&'n Self, &Schema) -> Result<TreeNodeRecursion>>( &'n self, schema: &Schema, f: F, ) -> Result<TreeNodeRecursion>

Source§

fn transform_down_with_schema<F: FnMut(Self, &Schema) -> Result<Transformed<Self>>>( self, schema: &Schema, f: F, ) -> Result<Transformed<Self>>

Source§

fn transform_up_with_schema<F: FnMut(Self, &Schema) -> Result<Transformed<Self>>>( self, schema: &Schema, f: F, ) -> Result<Transformed<Self>>

Source§

fn transform_up_with_lambdas_params( self, f: impl FnMut(Self, &HashSet<String>) -> Result<Transformed<Self>>, ) -> Result<Transformed<Self>>

Source§

fn transform_down_with_lambdas_params( self, f: impl FnMut(Self, &HashSet<String>) -> Result<Transformed<Self>>, ) -> Result<Transformed<Self>>

Implementors§