pub struct DefaultQueryExecutor { /* private fields */ }Expand description
Default implementation of QueryExecutor
Implementations§
Source§impl DefaultQueryExecutor
impl DefaultQueryExecutor
Sourcepub fn with_connector_registry(registry: ConnectorRegistry) -> Self
pub fn with_connector_registry(registry: ConnectorRegistry) -> Self
Create a query executor with a connector registry
Trait Implementations§
Source§impl Default for DefaultQueryExecutor
impl Default for DefaultQueryExecutor
Source§impl QueryExecutor for DefaultQueryExecutor
impl QueryExecutor for DefaultQueryExecutor
Source§fn execute_plan<'life0, 'life1, 'async_trait>(
&'life0 self,
plan: &'life1 ExecutionPlan,
) -> Pin<Box<dyn Future<Output = NirvResult<QueryResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn execute_plan<'life0, 'life1, 'async_trait>(
&'life0 self,
plan: &'life1 ExecutionPlan,
) -> Pin<Box<dyn Future<Output = NirvResult<QueryResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Execute an execution plan and return results
Source§fn execute_node<'life0, 'life1, 'async_trait>(
&'life0 self,
node: &'life1 PlanNode,
) -> Pin<Box<dyn Future<Output = NirvResult<QueryResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn execute_node<'life0, 'life1, 'async_trait>(
&'life0 self,
node: &'life1 PlanNode,
) -> Pin<Box<dyn Future<Output = NirvResult<QueryResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Execute a single plan node
Source§fn set_connector_registry(&mut self, registry: ConnectorRegistry)
fn set_connector_registry(&mut self, registry: ConnectorRegistry)
Set the connector registry for accessing data sources
Auto Trait Implementations§
impl Freeze for DefaultQueryExecutor
impl !RefUnwindSafe for DefaultQueryExecutor
impl Send for DefaultQueryExecutor
impl Sync for DefaultQueryExecutor
impl Unpin for DefaultQueryExecutor
impl !UnwindSafe for DefaultQueryExecutor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more