pub struct WindowFunctionInfo {
pub name: String,
pub arguments: Vec<Expression>,
pub partition_by: Vec<String>,
pub partition_by_exprs: Vec<Expression>,
pub order_by: Vec<OrderByExpression>,
pub frame: Option<WindowFrame>,
pub column_name: String,
pub is_distinct: bool,
}Expand description
Information about a window function call in a SELECT list
Fields§
§name: StringThe window function name (ROW_NUMBER, RANK, etc.)
arguments: Vec<Expression>Arguments to the function (for LEAD, LAG, NTILE)
partition_by: Vec<String>Partition by column names (simple identifiers only, for fast-path lookups)
partition_by_exprs: Vec<Expression>Original PARTITION BY expressions (includes function calls, complex exprs)
order_by: Vec<OrderByExpression>Order by expressions
frame: Option<WindowFrame>Window frame specification (e.g., ROWS BETWEEN 1 PRECEDING AND 1 FOLLOWING)
column_name: StringResult column name (may include alias)
is_distinct: boolWhether DISTINCT was specified (for COUNT(DISTINCT col) OVER())
Trait Implementations§
Source§impl Clone for WindowFunctionInfo
impl Clone for WindowFunctionInfo
Source§fn clone(&self) -> WindowFunctionInfo
fn clone(&self) -> WindowFunctionInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WindowFunctionInfo
impl RefUnwindSafe for WindowFunctionInfo
impl Send for WindowFunctionInfo
impl Sync for WindowFunctionInfo
impl Unpin for WindowFunctionInfo
impl UnsafeUnpin for WindowFunctionInfo
impl UnwindSafe for WindowFunctionInfo
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