pub trait TableFunctionImpl:
Debug
+ Sync
+ Send
+ Any {
// Provided methods
fn call(
&self,
_exprs: &[Expr],
) -> Result<Arc<dyn TableProvider>, DataFusionError> { ... }
fn call_with_args(
&self,
args: TableFunctionArgs<'_, '_>,
) -> Result<Arc<dyn TableProvider>, DataFusionError> { ... }
}Expand description
A trait for table function implementations
Provided Methods§
Sourcefn call(
&self,
_exprs: &[Expr],
) -> Result<Arc<dyn TableProvider>, DataFusionError>
👎Deprecated since 53.0.0: Implement TableFunctionImpl::call_with_args instead
fn call( &self, _exprs: &[Expr], ) -> Result<Arc<dyn TableProvider>, DataFusionError>
Implement TableFunctionImpl::call_with_args instead
Create a table provider
Sourcefn call_with_args(
&self,
args: TableFunctionArgs<'_, '_>,
) -> Result<Arc<dyn TableProvider>, DataFusionError>
fn call_with_args( &self, args: TableFunctionArgs<'_, '_>, ) -> Result<Arc<dyn TableProvider>, DataFusionError>
Create a table provider
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".