Skip to main content

TableFunctionImpl

Trait TableFunctionImpl 

Source
pub trait TableFunctionImpl:
    Debug
    + Sync
    + Send
    + Any {
    // Provided methods
    fn call(&self, _exprs: &[Expr]) -> Result<Arc<dyn TableProvider>> { ... }
    fn call_with_args(
        &self,
        args: TableFunctionArgs<'_, '_>,
    ) -> Result<Arc<dyn TableProvider>> { ... }
}
Expand description

A trait for table function implementations

Provided Methods§

Source

fn call(&self, _exprs: &[Expr]) -> Result<Arc<dyn TableProvider>>

👎Deprecated since 53.0.0:

Implement TableFunctionImpl::call_with_args instead

Create a table provider

Source

fn call_with_args( &self, args: TableFunctionArgs<'_, '_>, ) -> Result<Arc<dyn TableProvider>>

Create a table provider

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§