Enum sql::plan::expr::WindowExprType [−][src]
pub enum WindowExprType {
Scalar(ScalarWindowExpr),
}
Expand description
A window function with its parameters.
There are two types of window functions: scalar window functions, that return a different scalar value for each row within a partition, and aggregate window functions, that return the same value for all the tuples within the same partition. Aggregate window functions can be computed by joinining the input relation with a reduction over the same relation that computes the aggregation using the partition key as its grouping key.
Variants
Scalar(ScalarWindowExpr)
Tuple Fields
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>,
fn typ(
&self,
outers: &[RelationType],
inner: &RelationType,
params: &BTreeMap<usize, ScalarType>
) -> ColumnType
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 WindowExprType
impl Send for WindowExprType
impl Sync for WindowExprType
impl Unpin for WindowExprType
impl UnwindSafe for WindowExprType
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