datafusion_table_providers::sql::db_connection_pool

Trait DbConnectionPool

source
pub trait DbConnectionPool<T, P: 'static> {
    // Required methods
    fn connect<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<Box<dyn DbConnection<T, P>>, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn join_push_down(&self) -> JoinPushDown;
}

Required Methods§

source

fn connect<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Box<dyn DbConnection<T, P>>, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn join_push_down(&self) -> JoinPushDown

Implementors§