CoherenceTM v3.4.1
Copyright© 2000-2008 by Oracle Corporation

com.tangosol.util
Interface InvocableMap.EntryAggregator

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
InvocableMap.ParallelAwareAggregator
All Known Implementing Classes:
AbstractAggregator, AbstractBigDecimalAggregator, AbstractComparableAggregator, AbstractDoubleAggregator, AbstractLongAggregator, BigDecimalAverage, BigDecimalMax, BigDecimalMin, BigDecimalSum, ComparableMax, ComparableMin, CompositeAggregator, CompositeAggregator.Parallel, Count, DistinctValues, DoubleAverage, DoubleMax, DoubleMin, DoubleSum, GroupAggregator, GroupAggregator.Parallel, LongMax, LongMin, LongSum, PriorityAggregator
Enclosing interface:
InvocableMap

public static interface InvocableMap.EntryAggregator
extends java.io.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.


Method Summary
 java.lang.Object aggregate(java.util.Set setEntries)
          Process a set of InvocableMap.Entry objects in order to produce an aggregated result.
 

Method Detail

aggregate

java.lang.Object aggregate(java.util.Set setEntries)
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

CoherenceTM v3.4.1
Copyright© 2000-2008 by Oracle Corporation