Class TopNAggregator<K,V,T,E>

java.lang.Object
com.tangosol.util.aggregator.TopNAggregator<K,V,T,E>
Type Parameters:
K - the type of the Map entry keys
V - the type of the Map entry values
T - the type of the value to extract from
E - the type of the extracted value
All Implemented Interfaces:
ExternalizableLite, PortableObject, InvocableMap.EntryAggregator<K,V,E[]>, InvocableMap.StreamingAggregator<K,V,TopNAggregator.PartialResult<E>,E[]>, Serializable

public class TopNAggregator<K,V,T,E> extends Object implements InvocableMap.StreamingAggregator<K,V,TopNAggregator.PartialResult<E>,E[]>, ExternalizableLite, PortableObject
TopNAggregator is a ParallelAwareAggregator that aggregates the top N extracted values into an array. The extracted values must not be null, but do not need to be unique.
Since:
12.1.3
Author:
rhl 2013.04.24
See Also: