pub trait PhysicalExprExt: Sized {
// Required methods
fn apply_with_lambdas_params<'n, F>(
&'n self,
f: F,
) -> Result<TreeNodeRecursion, DataFusionError>
where F: FnMut(&'n Self, &HashSet<&'n str>) -> Result<TreeNodeRecursion, DataFusionError>;
fn apply_with_schema<'n, F>(
&'n self,
schema: &Schema,
f: F,
) -> Result<TreeNodeRecursion, DataFusionError>
where F: FnMut(&'n Self, &Schema) -> Result<TreeNodeRecursion, DataFusionError>;
fn apply_children_with_schema<'n, F>(
&'n self,
schema: &Schema,
f: F,
) -> Result<TreeNodeRecursion, DataFusionError>
where F: FnMut(&'n Self, &Schema) -> Result<TreeNodeRecursion, DataFusionError>;
fn transform_down_with_schema<F>(
self,
schema: &Schema,
f: F,
) -> Result<Transformed<Self>, DataFusionError>
where F: FnMut(Self, &Schema) -> Result<Transformed<Self>, DataFusionError>;
fn transform_up_with_schema<F>(
self,
schema: &Schema,
f: F,
) -> Result<Transformed<Self>, DataFusionError>
where F: FnMut(Self, &Schema) -> Result<Transformed<Self>, DataFusionError>;
fn transform_down_with_lambdas_params(
self,
f: impl FnMut(Self, &HashSet<String>) -> Result<Transformed<Self>, DataFusionError>,
) -> Result<Transformed<Self>, DataFusionError>;
fn transform_up_with_lambdas_params(
self,
f: impl FnMut(Self, &HashSet<String>) -> Result<Transformed<Self>, DataFusionError>,
) -> Result<Transformed<Self>, DataFusionError>;
// Provided methods
fn transform_with_schema<F>(
self,
schema: &Schema,
f: F,
) -> Result<Transformed<Self>, DataFusionError>
where F: FnMut(Self, &Schema) -> Result<Transformed<Self>, DataFusionError> { ... }
fn transform_with_lambdas_params(
self,
f: impl FnMut(Self, &HashSet<String>) -> Result<Transformed<Self>, DataFusionError>,
) -> Result<Transformed<Self>, DataFusionError> { ... }
}Required Methods§
fn apply_with_lambdas_params<'n, F>( &'n self, f: F, ) -> Result<TreeNodeRecursion, DataFusionError>
fn apply_with_schema<'n, F>( &'n self, schema: &Schema, f: F, ) -> Result<TreeNodeRecursion, DataFusionError>
fn apply_children_with_schema<'n, F>( &'n self, schema: &Schema, f: F, ) -> Result<TreeNodeRecursion, DataFusionError>
fn transform_down_with_schema<F>( self, schema: &Schema, f: F, ) -> Result<Transformed<Self>, DataFusionError>
fn transform_up_with_schema<F>( self, schema: &Schema, f: F, ) -> Result<Transformed<Self>, DataFusionError>
fn transform_down_with_lambdas_params( self, f: impl FnMut(Self, &HashSet<String>) -> Result<Transformed<Self>, DataFusionError>, ) -> Result<Transformed<Self>, DataFusionError>
fn transform_up_with_lambdas_params( self, f: impl FnMut(Self, &HashSet<String>) -> Result<Transformed<Self>, DataFusionError>, ) -> Result<Transformed<Self>, DataFusionError>
Provided Methods§
fn transform_with_schema<F>( self, schema: &Schema, f: F, ) -> Result<Transformed<Self>, DataFusionError>
fn transform_with_lambdas_params( self, f: impl FnMut(Self, &HashSet<String>) -> Result<Transformed<Self>, DataFusionError>, ) -> Result<Transformed<Self>, DataFusionError>
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.