rdf_fusion_execution/sparql/
explanation.rs

1use datafusion::logical_expr::LogicalPlan;
2use datafusion::physical_plan::ExecutionPlan;
3use std::sync::Arc;
4
5#[derive(Debug)]
6#[allow(clippy::struct_field_names)]
7pub struct QueryExplanation {
8    /// The time spent planning the query.
9    pub planning_time: std::time::Duration,
10    /// The initial logical plan created from the SPARQL query.
11    pub initial_logical_plan: LogicalPlan,
12    /// The optimized logical plan.
13    pub optimized_logical_plan: LogicalPlan,
14    /// A reference to the root node of the plan that was actually executed.
15    pub execution_plan: Arc<dyn ExecutionPlan>,
16}