Struct smartnoise_runtime::proto::Count[][src]

pub struct Count {
    pub distinct: bool,
}

Count Component

Returns the number of rows in the data.

This struct represents an abstract computation. Arguments are provided via the graph. Additional options are set via the fields on this struct. The return is the result of the count on the arguments.

Arguments

Returns

Fields

distinct: bool

Set to true for the number of unique members in the data.

Trait Implementations

impl Clone for Count[src]

impl Component for Count[src]

impl Debug for Count[src]

impl Default for Count[src]

impl Evaluable for Count[src]

impl Message for Count[src]

impl PartialEq<Count> for Count[src]

impl Sensitivity for Count[src]

pub fn compute_sensitivity(
    &self,
    privacy_definition: &PrivacyDefinition,
    properties: &IndexMap<IndexKey, ValueProperties, RandomState>,
    sensitivity_type: &SensitivitySpace
) -> Result<Value, Error>
[src]

Count query sensitivities are backed by the the proofs here.

impl StructuralPartialEq for Count[src]

Auto Trait Implementations

impl RefUnwindSafe for Count

impl Send for Count

impl Sync for Count

impl Unpin for Count

impl UnwindSafe for Count

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Az for T[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CheckedAs for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> OverflowingAs for T[src]

impl<T> SaturatingAs for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnwrappedAs for T[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WrappingAs for T[src]