Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


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, QueryRecorder, ReducerAggregator
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

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.