Skip to main content

BoundMatchAggregateCall

Type Alias BoundMatchAggregateCall 

Source
pub type BoundMatchAggregateCall = MatchAggregateCall<Expr, Column, MatchPatternFieldRef>;
Expand description

Bound match-aware aggregate call.

Aliased Type§

pub struct BoundMatchAggregateCall {
    pub name: String,
    pub args: Vec<MatchExpr<Expr, Column, MatchPatternFieldRef>>,
    pub distinct: bool,
    pub filter: Option<Box<MatchExpr<Expr, Column, MatchPatternFieldRef>>>,
    pub order_by: Vec<MatchExprSort<Expr, Column, MatchPatternFieldRef>>,
    pub null_treatment: Option<NullTreatment>,
    pub wildcard_symbol: Option<String>,
}

Fields§

§name: String

Function name resolved through the planning context during lowering.

§args: Vec<MatchExpr<Expr, Column, MatchPatternFieldRef>>

Positional arguments in source order.

§distinct: bool

Whether duplicate input values are removed.

§filter: Option<Box<MatchExpr<Expr, Column, MatchPatternFieldRef>>>

Optional aggregate filter.

§order_by: Vec<MatchExprSort<Expr, Column, MatchPatternFieldRef>>

Aggregate-local ordering.

§null_treatment: Option<NullTreatment>

Explicit IGNORE NULLS or RESPECT NULLS, when supplied.

§wildcard_symbol: Option<String>

Symbol for COUNT(symbol.*); when present, args must be empty and distinct must be false.