pub trait SubqueryHost: Sync {
// Required methods
fn subquery_engine(&self) -> &Arc<MVCCEngine> ⓘ;
fn subquery_open_table(&self, table_name: &str) -> Result<QueryTableHandle>;
fn subquery_execute_select(
&self,
statement: &SelectStatement,
context: &ExecutionContext,
) -> Result<Box<dyn QueryResult>>;
}Expand description
Narrow composition contract for recursive SELECT execution. Query-local
caches remain owned by ExecutionContext; the host provides only the
engine and the surrounding SELECT entrypoint.
Required Methods§
fn subquery_engine(&self) -> &Arc<MVCCEngine> ⓘ
fn subquery_open_table(&self, table_name: &str) -> Result<QueryTableHandle>
fn subquery_execute_select( &self, statement: &SelectStatement, context: &ExecutionContext, ) -> Result<Box<dyn QueryResult>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".