Skip to main content

BatchingExecutionFactory

Trait BatchingExecutionFactory 

Source
pub trait BatchingExecutionFactory:
    Send
    + Sync
    + 'static {
    // Required method
    fn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        task: &'life1 BatchingTask,
        sink: TableRef,
        engine: &'life2 QueryEngineRef,
        frontend: &'life3 Arc<FrontendClient>,
    ) -> Pin<Box<dyn Future<Output = Result<Option<Arc<dyn BatchingExecution>>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait;
}

Required Methods§

Source

fn create<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, task: &'life1 BatchingTask, sink: TableRef, engine: &'life2 QueryEngineRef, frontend: &'life3 Arc<FrontendClient>, ) -> Pin<Box<dyn Future<Output = Result<Option<Arc<dyn BatchingExecution>>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Implementors§