pub trait CteHost:
AggregationHost
+ SubqueryHost
+ WindowHost {
// Required methods
fn cte_function_registry(&self) -> &FunctionRegistry;
fn cte_execute_select(
&self,
statement: &SelectStatement,
context: &ExecutionContext,
) -> Result<Box<dyn QueryResult>>;
}Expand description
Narrow composition contract for CTE execution. CTE materialization and inlining stay executor-owned; the host only provides the recursive SELECT entrypoint and immutable function registry.
Required Methods§
fn cte_function_registry(&self) -> &FunctionRegistry
fn cte_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".