pub struct WindowExpr {
pub agg: PlannedAggregateFunction,
pub partition_by: Vec<Expression>,
pub order_by: Vec<BoundOrderByExpr>,
pub start: WindowFrameBound,
pub end: WindowFrameBound,
pub exclude: WindowFrameExclusion,
}Fields§
§agg: PlannedAggregateFunctionThe aggregate function.
partition_by: Vec<Expression>How to partition the input to the function.
order_by: Vec<BoundOrderByExpr>How the input is ordered within a partition.
start: WindowFrameBoundStart bound for the window.
end: WindowFrameBoundEnd bound for the window.
exclude: WindowFrameExclusionRows to exclude in the window.
Implementations§
Trait Implementations§
Source§impl Clone for WindowExpr
impl Clone for WindowExpr
Source§impl ContextDisplay for WindowExpr
impl ContextDisplay for WindowExpr
Source§fn fmt_using_context(
&self,
mode: ContextDisplayMode<'_>,
f: &mut Formatter<'_>,
) -> Result
fn fmt_using_context( &self, mode: ContextDisplayMode<'_>, f: &mut Formatter<'_>, ) -> Result
Format self by enriching the string output with information in the bind
context if it’s provided. Read more
Source§impl Debug for WindowExpr
impl Debug for WindowExpr
impl Eq for WindowExpr
Source§impl From<WindowExpr> for Expression
impl From<WindowExpr> for Expression
Source§fn from(expr: WindowExpr) -> Self
fn from(expr: WindowExpr) -> Self
Converts to this type from the input type.
Source§impl Hash for WindowExpr
impl Hash for WindowExpr
Source§impl PartialEq for WindowExpr
impl PartialEq for WindowExpr
impl StructuralPartialEq for WindowExpr
Auto Trait Implementations§
impl !RefUnwindSafe for WindowExpr
impl !UnwindSafe for WindowExpr
impl Freeze for WindowExpr
impl Send for WindowExpr
impl Sync for WindowExpr
impl Unpin for WindowExpr
impl UnsafeUnpin for WindowExpr
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self to key and returns true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.