pub struct AggregateNumericSeries { /* private fields */ }
Expand description
Aggregates values with duplicate timestamps in the input series values into a single value using the specified aggregation function.
Implementations§
Source§impl AggregateNumericSeries
impl AggregateNumericSeries
Sourcepub fn builder() -> Builder<InputStage>
pub fn builder() -> Builder<InputStage>
Returns a new builder.
Source§impl AggregateNumericSeries
impl AggregateNumericSeries
Sourcepub fn new(input: NumericSeries, function: NumericAggregationFunction) -> Self
pub fn new(input: NumericSeries, function: NumericAggregationFunction) -> Self
Constructs a new instance of the type.
pub fn input(&self) -> &NumericSeries
pub fn function(&self) -> &NumericAggregationFunction
Tags to group by for the aggregation. If left empty, the tags to group by will be equivalent to those in the input series. If specified, the result will be grouped ONLY by the specified tags. The tags specified here MUST be a (non-strict) subset of the input series’s group by tags.
Sourcepub fn aggregate_by_all_groupings(&self) -> Option<bool>
pub fn aggregate_by_all_groupings(&self) -> Option<bool>
This field’s purpose is to distinguish between the two flavors of groupByTags being empty. It has no effect when groupByTags is non-empty. When true and groupByTags is empty, aggregate across all series in the input. When false and groupByTags is empty, the result will be grouped by the same tags as the input series.
Trait Implementations§
Source§impl Clone for AggregateNumericSeries
impl Clone for AggregateNumericSeries
Source§fn clone(&self) -> AggregateNumericSeries
fn clone(&self) -> AggregateNumericSeries
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for AggregateNumericSeries
impl Debug for AggregateNumericSeries
Source§impl<'de> Deserialize<'de> for AggregateNumericSeries
impl<'de> Deserialize<'de> for AggregateNumericSeries
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl From<AggregateNumericSeries> for Builder<Complete>
impl From<AggregateNumericSeries> for Builder<Complete>
Source§fn from(v: AggregateNumericSeries) -> Self
fn from(v: AggregateNumericSeries) -> Self
Source§impl Hash for AggregateNumericSeries
impl Hash for AggregateNumericSeries
Source§impl Ord for AggregateNumericSeries
impl Ord for AggregateNumericSeries
Source§impl PartialEq for AggregateNumericSeries
impl PartialEq for AggregateNumericSeries
Source§impl PartialOrd for AggregateNumericSeries
impl PartialOrd for AggregateNumericSeries
Source§impl Serialize for AggregateNumericSeries
impl Serialize for AggregateNumericSeries
impl Eq for AggregateNumericSeries
Auto Trait Implementations§
impl Freeze for AggregateNumericSeries
impl RefUnwindSafe for AggregateNumericSeries
impl Send for AggregateNumericSeries
impl Sync for AggregateNumericSeries
impl Unpin for AggregateNumericSeries
impl UnwindSafe for AggregateNumericSeries
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request