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§
Sourcefn call(&self, _exprs: &[Expr]) -> Result<Arc<dyn TableProvider>>
👎Deprecated since 53.0.0: Implement TableFunctionImpl::call_with_args instead
fn call(&self, _exprs: &[Expr]) -> Result<Arc<dyn TableProvider>>
Implement TableFunctionImpl::call_with_args instead
Create a table provider
Sourcefn call_with_args(
&self,
args: TableFunctionArgs<'_, '_>,
) -> Result<Arc<dyn TableProvider>>
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".