ella_engine::lazyTrait 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 { ... }
}