pub enum AggregateSemanticIdentityV1 {
Count,
ExactCount,
Sum,
Min,
Max,
CountPresent,
CountDistinct,
CountDistinctPresent,
Mean,
Any,
All,
}Expand description
Stable semantic identity for the aggregate functions available before ADR-0152 expansion.
Variants§
Count
Exact count of rows in an earlier bounded source.
ExactCount
Exact count of the complete provider-admitted population.
Sum
Checked exact sum of one numeric field.
Min
Minimum under the field’s frozen typed comparator.
Max
Maximum under the field’s frozen typed comparator.
CountPresent
Exact count of present values.
CountDistinct
Exact distinct count including NoValue.
CountDistinctPresent
Exact distinct count excluding NoValue.
Mean
Exact total and contributing count without division.
Any
Boolean disjunction.
All
Boolean conjunction.
Implementations§
Source§impl AggregateSemanticIdentityV1
impl AggregateSemanticIdentityV1
Sourcepub fn from_source_spelling(spelling: &str) -> Option<Self>
pub fn from_source_spelling(spelling: &str) -> Option<Self>
Looks up the semantic identity for one compiler-owned source spelling.
Sourcepub const fn descriptor(self) -> &'static AggregateSemanticDescriptorV1
pub const fn descriptor(self) -> &'static AggregateSemanticDescriptorV1
Returns this identity’s complete v1 descriptor.
Trait Implementations§
Source§impl Clone for AggregateSemanticIdentityV1
impl Clone for AggregateSemanticIdentityV1
impl Copy for AggregateSemanticIdentityV1
Source§impl Debug for AggregateSemanticIdentityV1
impl Debug for AggregateSemanticIdentityV1
impl Eq for AggregateSemanticIdentityV1
Source§impl Hash for AggregateSemanticIdentityV1
impl Hash for AggregateSemanticIdentityV1
Source§impl Ord for AggregateSemanticIdentityV1
impl Ord for AggregateSemanticIdentityV1
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for AggregateSemanticIdentityV1
impl PartialOrd for AggregateSemanticIdentityV1
impl StructuralPartialEq for AggregateSemanticIdentityV1
Auto Trait Implementations§
impl Freeze for AggregateSemanticIdentityV1
impl RefUnwindSafe for AggregateSemanticIdentityV1
impl Send for AggregateSemanticIdentityV1
impl Sync for AggregateSemanticIdentityV1
impl Unpin for AggregateSemanticIdentityV1
impl UnsafeUnpin for AggregateSemanticIdentityV1
impl UnwindSafe for AggregateSemanticIdentityV1
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