pub struct Executor(/* private fields */);Implementations§
Source§impl Executor
impl Executor
pub fn new( functions: Functions, flow_operator_store: FlowOperatorStore, stats_tracker: StorageTracker, ) -> Self
pub fn with_virtual_table_registry( functions: Functions, flow_operator_store: FlowOperatorStore, virtual_table_registry: TableVirtualUserRegistry, stats_tracker: StorageTracker, ) -> Self
pub fn testing() -> Self
Source§impl Executor
impl Executor
pub async fn execute_command_plan<'a>( &self, txn: &'a mut StandardCommandTransaction, plan: PhysicalPlan, params: Params, stack: &mut Stack, ) -> Result<Option<Columns>>
Trait Implementations§
Source§impl ExecuteCommand<StandardCommandTransaction> for Executor
impl ExecuteCommand<StandardCommandTransaction> for Executor
fn execute_command<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
txn: &'life1 mut StandardCommandTransaction,
cmd: Command<'life2>,
) -> Pin<Box<dyn Future<Output = Result<Vec<Frame>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§impl ExecuteQuery<StandardQueryTransaction> for Executor
impl ExecuteQuery<StandardQueryTransaction> for Executor
fn execute_query<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
txn: &'life1 mut StandardQueryTransaction,
qry: Query<'life2>,
) -> Pin<Box<dyn Future<Output = Result<Vec<Frame>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
impl Execute<StandardCommandTransaction, StandardQueryTransaction> for Executor
Auto Trait Implementations§
impl Freeze for Executor
impl !RefUnwindSafe for Executor
impl Send for Executor
impl Sync for Executor
impl Unpin for Executor
impl !UnwindSafe for Executor
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