[−][src]Trait agnes::view::Aggregate
Trait providing the aggregate
method for aggregating values over a specified grouping of
records. See the intrinsic method aggregate for more
details.
Associated Types
type Output
Type produced by this aggregate method.
Required methods
fn aggregate<AggFunc>(&self, init: AggType, f: AggFunc) -> Self::Output where
AggFunc: Fn(&mut AggType, Value<&DType>),
AggFunc: Fn(&mut AggType, Value<&DType>),
Perform the 'aggregate' operation. See the intrinsic method aggregate for more details.
Implementors
impl<Labels, Frames, KeyLabels, ValueLabel, AggLabel, DType, AggType> Aggregate<KeyLabels, ValueLabel, AggLabel, DType, AggType> for DataView<Labels, Frames> where
Self: NRows + SelectFieldByLabel<ValueLabel, DType = DType>,
Labels: FieldList<KeyLabels, Frames> + LabelSubset<KeyLabels> + FrameIndexList,
<Labels as FieldList<KeyLabels, Frames>>::Output: HashIndex + PartialEqIndex,
<Labels as LabelSubset<KeyLabels>>::Output: Reorder<KeyLabels>,
AggType: Clone,
FieldData<AggType>: IntoStore<AggLabel>,
<FieldData<AggType> as IntoStore<AggLabel>>::Output: IntoFrame,
Frames: NRows + SubsetClone<<Labels as FrameIndexList>::LabelList>,
<Frames as SubsetClone<<Labels as FrameIndexList>::LabelList>>::Output: UpdatePermutation,
DataView<<<Labels as LabelSubset<KeyLabels>>::Output as Reorder<KeyLabels>>::Output, <Frames as SubsetClone<<Labels as FrameIndexList>::LabelList>>::Output>: AddFrame<<<FieldData<AggType> as IntoStore<AggLabel>>::Output as IntoFrame>::Output>,
[src]
Self: NRows + SelectFieldByLabel<ValueLabel, DType = DType>,
Labels: FieldList<KeyLabels, Frames> + LabelSubset<KeyLabels> + FrameIndexList,
<Labels as FieldList<KeyLabels, Frames>>::Output: HashIndex + PartialEqIndex,
<Labels as LabelSubset<KeyLabels>>::Output: Reorder<KeyLabels>,
AggType: Clone,
FieldData<AggType>: IntoStore<AggLabel>,
<FieldData<AggType> as IntoStore<AggLabel>>::Output: IntoFrame,
Frames: NRows + SubsetClone<<Labels as FrameIndexList>::LabelList>,
<Frames as SubsetClone<<Labels as FrameIndexList>::LabelList>>::Output: UpdatePermutation,
DataView<<<Labels as LabelSubset<KeyLabels>>::Output as Reorder<KeyLabels>>::Output, <Frames as SubsetClone<<Labels as FrameIndexList>::LabelList>>::Output>: AddFrame<<<FieldData<AggType> as IntoStore<AggLabel>>::Output as IntoFrame>::Output>,
type Output = <DataView<<<Labels as LabelSubset<KeyLabels>>::Output as Reorder<KeyLabels>>::Output, <Frames as SubsetClone<<Labels as FrameIndexList>::LabelList>>::Output> as AddFrame<<<FieldData<AggType> as IntoStore<AggLabel>>::Output as IntoFrame>::Output>>::Output
fn aggregate<AggFunc>(&self, init: AggType, f: AggFunc) -> Self::Output where
AggFunc: Fn(&mut AggType, Value<&DType>),
[src]
AggFunc: Fn(&mut AggType, Value<&DType>),