#[repr(C)]pub struct FFI_PhysicalExpr {Show 23 fields
pub data_type: unsafe extern "C" fn(_: &Self, input_schema: WrappedSchema) -> FFI_Result<WrappedSchema>,
pub nullable: unsafe extern "C" fn(_: &Self, input_schema: WrappedSchema) -> FFI_Result<bool>,
pub evaluate: unsafe extern "C" fn(_: &Self, batch: WrappedArray) -> FFI_Result<FFI_ColumnarValue>,
pub return_field: unsafe extern "C" fn(_: &Self, input_schema: WrappedSchema) -> FFI_Result<WrappedSchema>,
pub evaluate_selection: unsafe extern "C" fn(_: &Self, batch: WrappedArray, selection: WrappedArray) -> FFI_Result<FFI_ColumnarValue>,
pub children: unsafe extern "C" fn(&Self) -> Vec<FFI_PhysicalExpr>,
pub new_with_children: unsafe extern "C" fn(_: &Self, children: &Vec<FFI_PhysicalExpr>) -> FFI_Result<Self>,
pub evaluate_bounds: unsafe extern "C" fn(_: &Self, children: Vec<FFI_Interval>) -> FFI_Result<FFI_Interval>,
pub propagate_constraints: unsafe extern "C" fn(_: &Self, interval: FFI_Interval, children: Vec<FFI_Interval>) -> FFI_Result<FFI_Option<Vec<FFI_Interval>>>,
pub evaluate_statistics: unsafe extern "C" fn(_: &Self, children: Vec<FFI_Distribution>) -> FFI_Result<FFI_Distribution>,
pub propagate_statistics: unsafe extern "C" fn(_: &Self, parent: FFI_Distribution, children: Vec<FFI_Distribution>) -> FFI_Result<FFI_Option<Vec<FFI_Distribution>>>,
pub get_properties: unsafe extern "C" fn(_: &Self, children: Vec<FFI_ExprProperties>) -> FFI_Result<FFI_ExprProperties>,
pub fmt_sql: unsafe extern "C" fn(&Self) -> FFI_Result<String>,
pub snapshot: unsafe extern "C" fn(&Self) -> FFI_Result<FFI_Option<FFI_PhysicalExpr>>,
pub snapshot_generation: unsafe extern "C" fn(&Self) -> u64,
pub is_volatile_node: unsafe extern "C" fn(&Self) -> bool,
pub display: unsafe extern "C" fn(&Self) -> String,
pub hash: unsafe extern "C" fn(&Self) -> u64,
pub clone: unsafe extern "C" fn(plan: &Self) -> Self,
pub release: unsafe extern "C" fn(arg: &mut Self),
pub version: unsafe extern "C" fn() -> u64,
pub private_data: *mut c_void,
pub library_marker_id: extern "C" fn() -> usize,
}Fields§
§data_type: unsafe extern "C" fn(_: &Self, input_schema: WrappedSchema) -> FFI_Result<WrappedSchema>§nullable: unsafe extern "C" fn(_: &Self, input_schema: WrappedSchema) -> FFI_Result<bool>§evaluate: unsafe extern "C" fn(_: &Self, batch: WrappedArray) -> FFI_Result<FFI_ColumnarValue>§return_field: unsafe extern "C" fn(_: &Self, input_schema: WrappedSchema) -> FFI_Result<WrappedSchema>§evaluate_selection: unsafe extern "C" fn(_: &Self, batch: WrappedArray, selection: WrappedArray) -> FFI_Result<FFI_ColumnarValue>§children: unsafe extern "C" fn(&Self) -> Vec<FFI_PhysicalExpr>§new_with_children: unsafe extern "C" fn(_: &Self, children: &Vec<FFI_PhysicalExpr>) -> FFI_Result<Self>§evaluate_bounds: unsafe extern "C" fn(_: &Self, children: Vec<FFI_Interval>) -> FFI_Result<FFI_Interval>§propagate_constraints: unsafe extern "C" fn(_: &Self, interval: FFI_Interval, children: Vec<FFI_Interval>) -> FFI_Result<FFI_Option<Vec<FFI_Interval>>>§evaluate_statistics: unsafe extern "C" fn(_: &Self, children: Vec<FFI_Distribution>) -> FFI_Result<FFI_Distribution>§propagate_statistics: unsafe extern "C" fn(_: &Self, parent: FFI_Distribution, children: Vec<FFI_Distribution>) -> FFI_Result<FFI_Option<Vec<FFI_Distribution>>>§get_properties: unsafe extern "C" fn(_: &Self, children: Vec<FFI_ExprProperties>) -> FFI_Result<FFI_ExprProperties>§fmt_sql: unsafe extern "C" fn(&Self) -> FFI_Result<String>§snapshot: unsafe extern "C" fn(&Self) -> FFI_Result<FFI_Option<FFI_PhysicalExpr>>§snapshot_generation: unsafe extern "C" fn(&Self) -> u64§is_volatile_node: unsafe extern "C" fn(&Self) -> bool§display: unsafe extern "C" fn(&Self) -> String§hash: unsafe extern "C" fn(&Self) -> u64§clone: unsafe extern "C" fn(plan: &Self) -> SelfUsed to create a clone on the provider of the execution plan. This should only need to be called by the receiver of the plan.
release: unsafe extern "C" fn(arg: &mut Self)Release the memory of the private data when it is no longer being used.
version: unsafe extern "C" fn() -> u64Return the major DataFusion version number of this provider.
private_data: *mut c_voidInternal data. This is only to be accessed by the provider of the plan.
A ForeignPhysicalExpr should never attempt to access this data.
library_marker_id: extern "C" fn() -> usizeUtility to identify when FFI objects are accessed locally through the foreign interface.
Trait Implementations§
Source§impl Clone for FFI_PhysicalExpr
impl Clone for FFI_PhysicalExpr
Source§impl Debug for FFI_PhysicalExpr
impl Debug for FFI_PhysicalExpr
Source§impl Drop for FFI_PhysicalExpr
impl Drop for FFI_PhysicalExpr
Source§impl From<&FFI_PhysicalExpr> for Arc<dyn PhysicalExpr>
impl From<&FFI_PhysicalExpr> for Arc<dyn PhysicalExpr>
Source§fn from(ffi_expr: &FFI_PhysicalExpr) -> Self
fn from(ffi_expr: &FFI_PhysicalExpr) -> Self
Converts to this type from the input type.
Source§impl From<Arc<dyn PhysicalExpr>> for FFI_PhysicalExpr
impl From<Arc<dyn PhysicalExpr>> for FFI_PhysicalExpr
Source§fn from(expr: Arc<dyn PhysicalExpr>) -> Self
fn from(expr: Arc<dyn PhysicalExpr>) -> Self
Creates a new FFI_PhysicalExpr.
impl Send for FFI_PhysicalExpr
impl Sync for FFI_PhysicalExpr
Auto Trait Implementations§
impl Freeze for FFI_PhysicalExpr
impl RefUnwindSafe for FFI_PhysicalExpr
impl Unpin for FFI_PhysicalExpr
impl UnsafeUnpin for FFI_PhysicalExpr
impl UnwindSafe for FFI_PhysicalExpr
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
impl<T> Allocation for T
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more