pub struct ForeignSession { /* private fields */ }Expand description
This wrapper struct exists on the receiver side of the FFI interface, so it has
no guarantees about being able to access the data in private_data. Any functions
defined on this struct must only use the stable functions provided in
FFI_Session to interact with the foreign table provider.
Trait Implementations§
Source§impl Debug for ForeignSession
impl Debug for ForeignSession
impl Send for ForeignSession
Source§impl Session for ForeignSession
impl Session for ForeignSession
Source§fn session_id(&self) -> &str
fn session_id(&self) -> &str
Return the session ID
Source§fn config(&self) -> &SessionConfig
fn config(&self) -> &SessionConfig
Return the
SessionConfigSource§fn config_options(&self) -> &ConfigOptions
fn config_options(&self) -> &ConfigOptions
return the
ConfigOptionsSource§fn create_physical_plan<'life0, 'life1, 'async_trait>(
&'life0 self,
logical_plan: &'life1 LogicalPlan,
) -> Pin<Box<dyn Future<Output = Result<Arc<dyn ExecutionPlan>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn create_physical_plan<'life0, 'life1, 'async_trait>(
&'life0 self,
logical_plan: &'life1 LogicalPlan,
) -> Pin<Box<dyn Future<Output = Result<Arc<dyn ExecutionPlan>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn create_physical_expr(
&self,
expr: Expr,
df_schema: &DFSchema,
) -> Result<Arc<dyn PhysicalExpr>>
fn create_physical_expr( &self, expr: Expr, df_schema: &DFSchema, ) -> Result<Arc<dyn PhysicalExpr>>
Source§fn scalar_functions(&self) -> &HashMap<String, Arc<ScalarUDF>>
fn scalar_functions(&self) -> &HashMap<String, Arc<ScalarUDF>>
Return reference to scalar_functions
Source§fn higher_order_functions(&self) -> &HashMap<String, Arc<HigherOrderUDF>>
fn higher_order_functions(&self) -> &HashMap<String, Arc<HigherOrderUDF>>
Return reference to higher_order_functions
Source§fn aggregate_functions(&self) -> &HashMap<String, Arc<AggregateUDF>>
fn aggregate_functions(&self) -> &HashMap<String, Arc<AggregateUDF>>
Return reference to aggregate_functions
Source§fn window_functions(&self) -> &HashMap<String, Arc<WindowUDF>>
fn window_functions(&self) -> &HashMap<String, Arc<WindowUDF>>
Return reference to window functions
Source§fn extension_type_registry(&self) -> &ExtensionTypeRegistryRef
fn extension_type_registry(&self) -> &ExtensionTypeRegistryRef
Return a reference to the extension type registry
Source§fn runtime_env(&self) -> &Arc<RuntimeEnv> ⓘ
fn runtime_env(&self) -> &Arc<RuntimeEnv> ⓘ
Return the runtime env
Source§fn execution_props(&self) -> &ExecutionProps
fn execution_props(&self) -> &ExecutionProps
Return the execution properties
fn as_any(&self) -> &dyn Any
Source§fn table_options(&self) -> &TableOptions
fn table_options(&self) -> &TableOptions
Return the table options
Source§fn default_table_options(&self) -> TableOptions
fn default_table_options(&self) -> TableOptions
return the TableOptions options with its extensions
Source§fn table_options_mut(&mut self) -> &mut TableOptions
fn table_options_mut(&mut self) -> &mut TableOptions
Returns a mutable reference to
TableOptionsimpl Sync for ForeignSession
Auto Trait Implementations§
impl !RefUnwindSafe for ForeignSession
impl !UnwindSafe for ForeignSession
impl Freeze for ForeignSession
impl Unpin for ForeignSession
impl UnsafeUnpin for ForeignSession
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
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> 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