pub struct QueryIR {Show 13 fields
pub cube: String,
pub schema: String,
pub table: String,
pub selects: Vec<SelectExpr>,
pub filters: FilterNode,
pub having: FilterNode,
pub group_by: Vec<String>,
pub order_by: Vec<OrderExpr>,
pub limit: u32,
pub offset: u32,
pub limit_by: Option<LimitByExpr>,
pub use_final: bool,
pub joins: Vec<JoinExpr>,
}Expand description
Intermediate representation of a compiled GraphQL cube query.
Fields§
§cube: String§schema: String§table: String§selects: Vec<SelectExpr>§filters: FilterNode§having: FilterNode§group_by: Vec<String>§order_by: Vec<OrderExpr>§limit: u32§offset: u32§limit_by: Option<LimitByExpr>ClickHouse LIMIT n BY col1, col2 — per-group row limit without aggregation.
use_final: boolWhen true, append FINAL after FROM for ReplacingMergeTree tables.
joins: Vec<JoinExpr>LEFT JOIN expressions to other cubes, resolved at query time.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QueryIR
impl RefUnwindSafe for QueryIR
impl Send for QueryIR
impl Sync for QueryIR
impl Unpin for QueryIR
impl UnsafeUnpin for QueryIR
impl UnwindSafe for QueryIR
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