TopNAggregator Class |
Namespace: Tangosol.Util.Aggregator
public class TopNAggregator : IParallelAwareAggregator, IEntryAggregator, IPartialResultAggregator, IPortableObject
The TopNAggregator type exposes the following members.
Name | Description | |
---|---|---|
![]() | TopNAggregator |
Default constructor.
|
![]() | TopNAggregator(IValueExtractor, IComparer, Int32) |
Construct a TopNAggregator that will aggregate the top extracted
values, as determined by the specified comparator.
|
Name | Description | |
---|---|---|
![]() | Comparer |
The IComparer used by this aggregator.
|
![]() | Extractor |
The ValueExtractor used by this aggregator.
|
![]() | IsParallel |
True iff this aggregator is to be used in parallel.
|
![]() | ParallelAggregator |
Get an aggregator that can take the place of this aggregator in
situations in which the IInvocableCache can
aggregate in parallel.
|
![]() | Results |
The maximum number of results to include in the aggregation result.
|
Name | Description | |
---|---|---|
![]() | AddToResult |
Add the specified values to the result if they are within the top-N.
|
![]() | Aggregate |
Process a set of IInvocableCacheEntry objects
in order to produce an aggregated result.
|
![]() | AggregatePartialResults |
Aggregate the results of the parallel aggregations, producing a
partial result logically representing the partial aggregation. The
returned partial result will be further {@link
ParallelAwareAggregator#aggregateResults aggregated} to produce
the final result.
|
![]() | AggregateResults |
Aggregate the results of the parallel aggregations.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | FinalizeResult |
Finalize the partial aggregation result.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ReadExternal |
Restore the contents of a user type instance by reading its state
using the specified IPofReader object.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | WriteExternal |
Save the contents of a POF user type instance by writing its
state using the specified IPofWriter object.
|