Class Aggregators.AdvancedMaxAggregator<V,T extends Comparable<T>>

Type Parameters:
V - the return value type, for example java.lang.String
T - the value type for the ordering
All Implemented Interfaces:
IDescribable, IAggregator<V,Aggregators.AdvancedMinMaxConsumer<V,T>>, IItemConsumerFactory<Aggregators.AdvancedMinMaxConsumer<V,T>>
Enclosing class:
Aggregators

public static class Aggregators.AdvancedMaxAggregator<V,T extends Comparable<T>> extends Aggregators.FieldAggregatorBase<V,Aggregators.AdvancedMinMaxConsumer<V,T>>
This aggregator separates the attribute for which to do the ordering from the attribute to use for accessing the value. It is typically used for getting a specific value from the last event from a collection of events.

For example:
AdvancedMaxAggregator<String, IQuantity> aggregator = new AdvancedMaxAggregator(myFavouriteAttribute, endTimeAttribute);