pub struct BoundWindow {
pub call: WindowCall,
pub distinct: bool,
pub collation: Collation,
pub arguments: Vec<BoundExpr>,
pub star: bool,
pub filter: Option<BoundExpr>,
pub partition_by: Vec<BoundExpr>,
pub order_by: Vec<BoundOrderTerm>,
pub unit: FrameUnit,
pub start: BoundFrameBound,
pub end: BoundFrameBound,
pub exclude: FrameExclude,
}Expand description
One window function call, with the window it is computed over.
Fields§
§call: WindowCallWhat it computes.
distinct: boolWhether DISTINCT was written, which only an aggregate may carry.
collation: CollationThe collation its comparisons use.
arguments: Vec<BoundExpr>The arguments.
star: boolWhether the call was count(*).
filter: Option<BoundExpr>The FILTER (WHERE ...) predicate.
partition_by: Vec<BoundExpr>PARTITION BY.
order_by: Vec<BoundOrderTerm>ORDER BY, which also decides the peer groups.
unit: FrameUnitThe frame unit.
start: BoundFrameBoundThe frame start.
end: BoundFrameBoundThe frame end.
exclude: FrameExcludeThe EXCLUDE clause.
Trait Implementations§
Source§impl Clone for BoundWindow
impl Clone for BoundWindow
Source§impl Debug for BoundWindow
impl Debug for BoundWindow
Source§impl PartialEq for BoundWindow
impl PartialEq for BoundWindow
impl StructuralPartialEq for BoundWindow
Auto Trait Implementations§
impl !Send for BoundWindow
impl !Sync for BoundWindow
impl Freeze for BoundWindow
impl RefUnwindSafe for BoundWindow
impl Unpin for BoundWindow
impl UnsafeUnpin for BoundWindow
impl UnwindSafe for BoundWindow
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