ella_engine::lazy

Trait LazyBackend

Source
pub trait LazyBackend:
    Debug
    + Send
    + Sync {
    // Required methods
    fn stream<'life0, 'life1, 'async_trait>(
        &'life0 self,
        plan: &'life1 Plan,
    ) -> Pin<Box<dyn Future<Output = Result<SendableRecordBatchStream>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn create_view<'life0, 'async_trait>(
        &'life0 self,
        table: TableRef<'static>,
        info: ViewInfo,
        if_not_exists: bool,
        or_replace: bool,
    ) -> Pin<Box<dyn Future<Output = Result<Plan>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;

    // Provided method
    fn execute<'life0, 'life1, 'async_trait>(
        &'life0 self,
        plan: &'life1 Plan,
    ) -> Pin<Box<dyn Future<Output = Result<DataFrame>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait { ... }
}

Required Methods§

Source

fn stream<'life0, 'life1, 'async_trait>( &'life0 self, plan: &'life1 Plan, ) -> Pin<Box<dyn Future<Output = Result<SendableRecordBatchStream>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn create_view<'life0, 'async_trait>( &'life0 self, table: TableRef<'static>, info: ViewInfo, if_not_exists: bool, or_replace: bool, ) -> Pin<Box<dyn Future<Output = Result<Plan>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Provided Methods§

Source

fn execute<'life0, 'life1, 'async_trait>( &'life0 self, plan: &'life1 Plan, ) -> Pin<Box<dyn Future<Output = Result<DataFrame>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§