pub struct QueryExecutor { /* private fields */ }Expand description
Query executor
Implementations§
Source§impl QueryExecutor
impl QueryExecutor
Sourcepub fn new(
storage: Arc<StorageEngine>,
schema: Arc<SchemaManager>,
config: &Config,
) -> Self
pub fn new( storage: Arc<StorageEngine>, schema: Arc<SchemaManager>, config: &Config, ) -> Self
Create a new query executor
Sourcepub async fn execute(&self, plan: &QueryPlan) -> Result<QueryResult>
pub async fn execute(&self, plan: &QueryPlan) -> Result<QueryResult>
Execute a query plan
Trait Implementations§
Source§impl Clone for QueryExecutor
impl Clone for QueryExecutor
Source§fn clone(&self) -> QueryExecutor
fn clone(&self) -> QueryExecutor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for QueryExecutor
impl !UnwindSafe for QueryExecutor
impl Freeze for QueryExecutor
impl Send for QueryExecutor
impl Sync for QueryExecutor
impl Unpin for QueryExecutor
impl UnsafeUnpin for QueryExecutor
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