pub enum ReducerKind {
Final,
Min,
Max,
Mean,
ArgMax,
ArgMin,
FirstCrossing(Comparison),
WindowMean {
start: u64,
end: u64,
},
}Expand description
Fold a reducer applies to its column’s samples.
Variants§
Final
Last finite sampled value.
Min
Least finite sampled value.
Max
Greatest finite sampled value.
Mean
Mean of the finite sampled values.
ArgMax
First sampled tick of the greatest value.
ArgMin
First sampled tick of the least value.
FirstCrossing(Comparison)
First sampled tick whose value passes the comparison, empty when no sample passes.
WindowMean
Mean of the samples from tick start to tick end inclusive.
Implementations§
Trait Implementations§
Source§impl Clone for ReducerKind
impl Clone for ReducerKind
impl Copy for ReducerKind
Source§impl Debug for ReducerKind
impl Debug for ReducerKind
Source§impl Display for ReducerKind
impl Display for ReducerKind
Source§impl FromStr for ReducerKind
impl FromStr for ReducerKind
Source§impl PartialEq for ReducerKind
impl PartialEq for ReducerKind
impl StructuralPartialEq for ReducerKind
Auto Trait Implementations§
impl Freeze for ReducerKind
impl RefUnwindSafe for ReducerKind
impl Send for ReducerKind
impl Sync for ReducerKind
impl Unpin for ReducerKind
impl UnsafeUnpin for ReducerKind
impl UnwindSafe for ReducerKind
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