Interface InvocableMap.EntryAggregator<K,V,R>
- Type Parameters:
K- the type of the Map entry keysV- the type of the Map entry valuesR- the type of the value returned by the EntryAggregator
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
InvocableMap.ParallelAwareAggregator<K,V, P, R>, InvocableMap.StreamingAggregator<K, V, P, R>
- All Known Implementing Classes:
AbstractAggregator, AbstractAsynchronousAggregator, AbstractBigDecimalAggregator, AbstractComparableAggregator, AbstractDoubleAggregator, AbstractLongAggregator, AsynchronousAggregator, BigDecimalAverage, BigDecimalMax, BigDecimalMin, BigDecimalSum, ComparableMax, ComparableMin, CompositeAggregator, CompositeAggregator.Parallel, Count, DistinctValues, DoubleAverage, DoubleMax, DoubleMin, DoubleSum, GroupAggregator, GroupAggregator.Parallel, LongMax, LongMin, LongSum, PartitionedJCacheStatistics.PartitionedCacheStatisticsAggregator, PartitionedJCacheStatistics.PartitionedCacheStatisticsClear, PriorityAggregator, QueryRecorder, ReducerAggregator, ScriptAggregator, TopNAggregator
- Enclosing interface:
InvocableMap<K,V>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
@Executable
public static interface InvocableMap.EntryAggregator<K,V,R>
extends Serializable
An EntryAggregator represents processing that can be directed to occur
against some subset of the entries in an InvocableMap, resulting in a
aggregated result. Common examples of aggregation include functions such
as min(), max() and avg(). However, the concept of aggregation applies to
any process that needs to evaluate a group of entries to come up with a
single answer.
- Since:
- Coherence 3.1
- Author:
- cp/gg/jh 2005.07.19, as 2014.06.14
-
Method Summary
-
Method Details
-
aggregate
Process a set of InvocableMap.Entry objects in order to produce an aggregated result.- Parameters:
setEntries- a Set of read-only InvocableMap.Entry objects to aggregate- Returns:
- the aggregated result from processing the entries
-