Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
FunctionFactory in datafusion::execution::context - Rust
[go: Go Back, main page]

datafusion::execution::context

Trait FunctionFactory

Source
pub trait FunctionFactory: Sync + Send {
    // Required method
    fn create<'life0, 'life1, 'async_trait>(
        &'life0 self,
        state: &'life1 SessionState,
        statement: CreateFunction,
    ) -> Pin<Box<dyn Future<Output = Result<RegisterFunction>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

A pluggable interface to handle CREATE FUNCTION statements and interact with SessionState to registers new udf, udaf or udwf.

Required Methods§

Source

fn create<'life0, 'life1, 'async_trait>( &'life0 self, state: &'life1 SessionState, statement: CreateFunction, ) -> Pin<Box<dyn Future<Output = Result<RegisterFunction>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Handles creation of user defined function specified in CreateFunction statement

Implementors§