pub struct QueryAnalysis {
pub shape: QueryShape,
pub ctes: Vec<String>,
pub cte_facts: Vec<CteFact>,
pub projections: Vec<ProjectionFact>,
pub relations: Vec<RelationFact>,
pub base_tables: Vec<RelationFact>,
pub star_projections: Vec<StarProjectionFact>,
pub set_operations: Vec<SetOperationFact>,
pub column_uses: Vec<ColumnUseFact>,
}Expand description
Compact facts about a query’s output shape and data dependencies.
Fields§
§shape: QueryShape§ctes: Vec<String>§cte_facts: Vec<CteFact>§projections: Vec<ProjectionFact>§relations: Vec<RelationFact>§base_tables: Vec<RelationFact>§star_projections: Vec<StarProjectionFact>§set_operations: Vec<SetOperationFact>§column_uses: Vec<ColumnUseFact>Clause-specific uses, separate from output projection lineage.
Trait Implementations§
Source§impl Clone for QueryAnalysis
impl Clone for QueryAnalysis
Source§impl Debug for QueryAnalysis
impl Debug for QueryAnalysis
Source§impl<'de> Deserialize<'de> for QueryAnalysis
impl<'de> Deserialize<'de> for QueryAnalysis
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for QueryAnalysis
impl RefUnwindSafe for QueryAnalysis
impl Send for QueryAnalysis
impl Sync for QueryAnalysis
impl Unpin for QueryAnalysis
impl UnsafeUnpin for QueryAnalysis
impl UnwindSafe for QueryAnalysis
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