pub enum InstanceOperation {
Show 13 variants
Count,
Min,
Max,
Sum,
Product,
Average,
Conjunction,
Disjunction,
Variance,
Covariance,
StandardDeviation,
NthPercentile(u8),
TrueRatio,
}
Expand description
A subset of the window operations that are suitable to be performed over a set of instances.
Variants§
Count
Aggregation function to count the number of instances of the accessed stream
Min
Aggregation function to return the minimum
Max
Aggregation function to return the minimum
Sum
Aggregation function to return the addition
Product
Aggregation function to return the product
Average
Aggregation function to return the average
Conjunction
Aggregation function to return the conjunction, i.e., the instances aggregation returns true iff ALL current values of the instances of the accessed stream are assigned to true
Disjunction
Aggregation function to return the disjunction, i.e., the instances aggregation returns true iff ANY current values of the instances of the accessed stream are assigned to true
Variance
Aggregation function to return the variance of all values, assumes equal probability.
Covariance
Aggregation function to return the covariance of all values in a tuple stream, assumes equal probability.
StandardDeviation
Aggregation function to return the standard deviation of all values, assumes equal probability.
NthPercentile(u8)
Aggregation function to return the Nth-Percentile
TrueRatio
Aggregation function to return the true ratio
Trait Implementations§
Source§impl Clone for InstanceOperation
impl Clone for InstanceOperation
Source§fn clone(&self) -> InstanceOperation
fn clone(&self) -> InstanceOperation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for InstanceOperation
impl Debug for InstanceOperation
Source§impl Display for InstanceOperation
impl Display for InstanceOperation
Source§impl From<InstanceOperation> for WindowOperation
impl From<InstanceOperation> for WindowOperation
Source§fn from(val: InstanceOperation) -> Self
fn from(val: InstanceOperation) -> Self
Source§impl Hash for InstanceOperation
impl Hash for InstanceOperation
Source§impl Ord for InstanceOperation
impl Ord for InstanceOperation
Source§fn cmp(&self, other: &InstanceOperation) -> Ordering
fn cmp(&self, other: &InstanceOperation) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for InstanceOperation
impl PartialEq for InstanceOperation
Source§impl PartialOrd for InstanceOperation
impl PartialOrd for InstanceOperation
Source§impl TryFrom<WindowOperation> for InstanceOperation
impl TryFrom<WindowOperation> for InstanceOperation
impl Copy for InstanceOperation
impl Eq for InstanceOperation
impl StructuralPartialEq for InstanceOperation
Auto Trait Implementations§
impl Freeze for InstanceOperation
impl RefUnwindSafe for InstanceOperation
impl Send for InstanceOperation
impl Sync for InstanceOperation
impl Unpin for InstanceOperation
impl UnwindSafe for InstanceOperation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more