pub struct QueryExecutor<T: KeyValueStore> { /* private fields */ }
Expand description
Query executor with KeyValueStore backend
Implementations§
Source§impl<T: KeyValueStore + 'static> QueryExecutor<T>
impl<T: KeyValueStore + 'static> QueryExecutor<T>
pub fn new(storage: Arc<T>) -> Self
Sourcepub async fn execute(
&self,
plan: ExecutionPlan,
context: QueryContext,
) -> Result<QueryResult>
pub async fn execute( &self, plan: ExecutionPlan, context: QueryContext, ) -> Result<QueryResult>
Execute a query plan
Auto Trait Implementations§
impl<T> Freeze for QueryExecutor<T>
impl<T> RefUnwindSafe for QueryExecutor<T>where
T: RefUnwindSafe,
impl<T> Send for QueryExecutor<T>
impl<T> Sync for QueryExecutor<T>
impl<T> Unpin for QueryExecutor<T>
impl<T> UnwindSafe for QueryExecutor<T>where
T: RefUnwindSafe,
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