Struct sql::plan::expr::WindowExpr [−][src]
pub struct WindowExpr {
pub func: WindowExprType,
pub partition: Vec<HirScalarExpr>,
pub order_by: Vec<HirScalarExpr>,
}
Expand description
Represents the invocation of a window function over a partition with an optional order.
Fields
func: WindowExprType
partition: Vec<HirScalarExpr>
order_by: Vec<HirScalarExpr>
Implementations
pub fn visit_expressions<'a, F, E>(&'a self, f: &mut F) -> Result<(), E> where
F: FnMut(&'a HirScalarExpr) -> Result<(), E>,
pub fn visit_expressions_mut<'a, F, E>(&'a mut self, f: &mut F) -> Result<(), E> where
F: FnMut(&'a mut HirScalarExpr) -> Result<(), E>,
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for WindowExpr
impl Send for WindowExpr
impl Sync for WindowExpr
impl Unpin for WindowExpr
impl UnwindSafe for WindowExpr
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more