Struct sql::plan::expr::AggregateExpr [−][src]
pub struct AggregateExpr {
pub func: AggregateFunc,
pub expr: Box<HirScalarExpr>,
pub distinct: bool,
}
Fields
func: AggregateFunc
expr: Box<HirScalarExpr>
distinct: bool
Implementations
Replaces any parameter references in the expression with the
corresponding datum from parameters
.
pub fn typ(
&self,
outers: &[RelationType],
inner: &RelationType,
params: &BTreeMap<usize, ScalarType>
) -> ColumnType
fn applied_to(
self,
id_gen: &mut IdGen,
col_map: &ColumnMap,
cte_map: &mut HashMap<LocalId, CteDesc>,
inner: &mut MirRelationExpr
) -> AggregateExpr
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 AggregateExpr
impl Send for AggregateExpr
impl Sync for AggregateExpr
impl Unpin for AggregateExpr
impl UnwindSafe for AggregateExpr
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